grin/servers/tests
Gary Yu 9af9ca9518
refactor the state_sync to handle the long fork (#1902)
* split horizon into two explicit values for cut through and txhashset request

* let node which has 2-7 days of history be able to handle forks larger than 2 days

* add test simulate_long_fork

* add pause/resume feature on p2p for tests

* refactor the state_sync

* ignore the test case simulate_long_fork for normal Travis-CI

* refactor function check_txhashset_needed to be shared with body_sync

* fix: state TxHashsetDone should allow header sync
2018-11-10 11:27:52 +08:00
..
framework replace stdlib RwLock and Mutex with parking_lot (#1793) 2018-10-20 08:13:07 +08:00
api.rs Replace logging backend to log4rs and add log rotation (#1789) 2018-10-21 13:30:56 -07:00
dandelion.rs Replace logging backend to log4rs and add log rotation (#1789) 2018-10-21 13:30:56 -07:00
simulnet.rs refactor the state_sync to handle the long fork (#1902) 2018-11-10 11:27:52 +08:00
stratum.rs Replace logging backend to log4rs and add log rotation (#1789) 2018-10-21 13:30:56 -07:00
wallet.rs Replace logging backend to log4rs and add log rotation (#1789) 2018-10-21 13:30:56 -07:00