grin/p2p/src
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
..
conn.rs Peer rate limiting (#1933) 2018-11-06 17:51:22 -08:00
handshake.rs Remove unused unsafe declarations (#1901) 2018-10-31 13:19:28 -07:00
lib.rs Replace logging backend to log4rs and add log rotation (#1789) 2018-10-21 13:30:56 -07:00
msg.rs Capabilities now deserialize safely (#1946) 2018-11-07 11:15:37 +00:00
peer.rs Bug fix, tuning of peer message rate counting 2018-11-07 22:15:12 +00:00
peers.rs refactor the state_sync to handle the long fork (#1902) 2018-11-10 11:27:52 +08:00
protocol.rs [DNM] broadcast tx kernel hash (if supported by peer) (#1929) 2018-11-07 09:28:17 +00:00
serv.rs refactor the state_sync to handle the long fork (#1902) 2018-11-10 11:27:52 +08:00
store.rs Capabilities now deserialize safely (#1946) 2018-11-07 11:15:37 +00:00
types.rs Capabilities now deserialize safely (#1946) 2018-11-07 11:15:37 +00:00