Author | SHA1 | Message | Date |
---|---|---|---|
Callum Waters |
a12e2bbb60
|
statesync: use initial height as a floor to backfilling (#6709) | 3 years ago |
Sam Kleinman |
ae5f98881b
|
p2p: make NodeID and NetAddress public (#6583) | 3 years ago |
Callum Waters |
74af343f28
|
statesync: tune backfill process (#6565)
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 |
Callum Waters |
6f6ac5c04e
|
state sync: reverse sync implementation (#6463) | 4 years ago |