grin/p2p/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
..
peer_handshake.rs refactor the state_sync to handle the long fork (#1902) 2018-11-10 11:27:52 +08:00
ser_deser.rs Capabilities now deserialize safely (#1946) 2018-11-07 11:15:37 +00:00