Phase of the download-twice headers synchronization.
Declared in <headerssync.h>
enum class State : int;
| Name | Description |
|---|---|
PRESYNC | PRESYNC means the peer has not yet demonstrated their chain has sufficient work and we're only building commitments to the chain they serve us. |
REDOWNLOAD | REDOWNLOAD means the peer has given us a high-enough-work chain, and now we're redownloading the headers we saw before and trying to accept them |
FINAL | We're done syncing with this peer and can discard any remaining state |