Commit d69baf1f authored by Fredrik Harrysson's avatar Fredrik Harrysson Committed by André Silva
Browse files

Add documentation to the main sync code (#2879)



* Added some documentation and question on the main sync code

* Remove strange formatting change

Co-Authored-By: default avatarAndré Silva <[email protected]>

* Improve comment per suggestion

* Remove comment about re-using PeerInfo, no real reason and no real consensus if it's better or worse.

* Fix redundancy in comment

Co-Authored-By: default avatarAndré Silva <[email protected]>

* Explaining more things and fixing review comments.

* Better explanation of MAJOR_SYNC_BLOCKS
* Explains the ancestor search strategy a bit
* Corrects explanation of what a stale block is
* Adds a bit of context for `request_ancestry` function

* Revert code change to not confuse the PR
parent 8085a61f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment