Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: lagging nodes failed to sync (bnb-chain#1829)
FastFinality puts more infor into the header.extra field to keep vote information. For mainnet, on epoch height, it could be 1526 bytes, which was 517 bytes before. So the hardcoded 700 bytes for header could be no longer enough, increase it by 2 times would be enough. this bug could cause P2P sync failure for nodes that are lagging behind, since they would request access of ancient db, and GetBlockHeaders could be failed.
- Loading branch information