Callum Waters
74af343f28
This PR make some tweaks to backfill after running e2e tests: - Separates sync and backfill as two distinct processes that the node calls. The reason is because if sync fails then the node should fail but if backfill fails it is still possible to proceed. - Removes peers who don't have the block at a height from the local peer list. As the process goes backwards if a node doesn't have a block at a height they're likely pruning blocks and thus they won't have any prior ones either. - Sleep when we've run out of peers, then try again. |
4 years ago | |
---|---|---|
.. | ||
doc.go | node: change package interface (#6540) | 4 years ago |
node.go | statesync: tune backfill process (#6565) | 4 years ago |
node_test.go | state: move pruneBlocks from consensus/state to state/execution (#6541) | 4 years ago |
public.go | p2p: renames for reactors and routing layer internal moves (#6547) | 4 years ago |
setup.go | node: fix genesis on start up (#6563) | 4 years ago |