[#HeadersSyncState-State] = xref:HeadersSyncState.adoc[HeadersSyncState]::State :relfileprefix: ../ :mrdocs: Phase of the download‐twice headers synchronization. == Synopsis Declared in `<headerssync.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- enum class State : int; ---- == Members [cols="1,4"] |=== | 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 |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#