mirror of
https://github.com/mimblewimble/grin.git
synced 2025-01-21 03:21:08 +03:00
cc9ec53390
* port simple_sync across from testnet1, sync head & improved fork handling * introduce new sync_head for tracking header chain during sync * add debug logging in body_sync for state of various heads * update header_head during sync if header is now the one with most work, pass in sync and head contexts to pipe * port across sync_head changes from master, put the 1s sleep back in... * let sync run even if the full 512 headers are all known, give sync a chance to sync against a fork that forked a long time ago * handle height jumping during a reorg block validaton should not check for height+1 based on head no assumptions should be made about height indices * quick(er) check for previous block in process_block (we cannot check height against ctx head) * make body_sync a _lot_ faster by finding the forked block more efficiently... * fix monitoring peers log msg * fix chain tests * fix grin tests - we were using the wrong genesis hash (wrong chain type) * apparently needs setting in both places... * body -> header -> sync (#414) * port over body -> header -> sync changes from testnet1 |
||
---|---|---|
.. | ||
mine_simple_chain.rs | ||
store_indices.rs | ||
test_coinbase_maturity.rs |