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) (#33)
### Description upstream PR bnb-chain#1829 expanding hard-coded field to avoid risks ### Rationale FastFinality puts more information 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 hard-coded 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. Co-authored-by: lx <92799281+brilliant-lx@users.noreply.github.com>
- Loading branch information