You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IBD: fix some syncer-syncee miscommunications which are more apparent with 10 bps (kaspanet#221)
* comments
* extend resolution range to 8 max
* do not sync missing bodies in the past of `syncer_header_selected_tip`
* typos
* no need to lock the pruning store throughout locator building
* the two conditions can be done in one
* rollback previous change (will be fixed more correctly by the coming switch HSC-> VSC)
* change selected chain store from *headers* selected chain to *virtual* selected chain (wip: test fix; renaming of various variables)
* fix selected-chain test by adding a way to (test-)build utxo valid blocks with specific parents
* make pruning point getter non-Option
* rename `headers_selected_chain` -> `virtual_selected_parent`
* add temp logic for upgrading from prev DB version
* get tip if high is none through the selected chain store itself
* add virtual chain assertion to relevant tests
* added selected_chain_store_iterator which is more idiomatic
* wrap with TestBlockBuilder to avoid direct access through virtual processor
* keep the pruning point read guard throughout building the locator
* break if parent is missing
* extend comment
0 commit comments