When does bitcoin node sync itself?
Do different types of sync in bitcoin exist (initial, periodic...)?
Bitcoin Stack Exchange is a question and answer site for Bitcoin users, developers, and enthusiasts. It only takes a minute to sign up.
Sign up to join this communityAlways.
When starting up, Bitcoin Core sends out a request to its peers to inform it about the best chains they know about (using a getheaders
message).
After that point, it is automatic: peers will immediately announce new blocks they knew about after they learn about them. This either happens using:
inv
mechanism, in which case just block hashes are announced