grin/p2p/src
Gary Yu d719493483 HeaderSync optimization (#1372) (#1400)
* improve: HeaderSync optimization (#1372)
* remove get_locator() optimization, which should be an independent pr for security review
* refactoring: move 'headers_streaming_body()' from Message to Protocol
* move 2 headers utils functions out of Protocol, and remove 'pub'
* support reading variable size of BlockHeader, from Cuckoo30 to Cuckoo36
* fix: use global::min_sizeshift() instead of hardcoded 30, because Cuckoo10 will be used for AutomatedTesting chain
* fix: should use global::proofsize() instead of hardcoded 42 when calculate serialized_size_of_header
* replace another 42 with global::proofsize()
2018-08-30 19:50:55 -04:00
..
conn.rs HeaderSync optimization (#1372) (#1400) 2018-08-30 19:50:55 -04:00
handshake.rs Get peers as quick as possible (#1398) 2018-08-22 21:31:06 -04:00
lib.rs Add a peers_preferred option in Grin (#1401) 2018-08-23 15:16:04 -04:00
msg.rs fix for peer connect fail on 'WouldBlock' Error (#1440) 2018-08-30 08:21:13 +01:00
peer.rs Add a peers_preferred option in Grin (#1401) 2018-08-23 15:16:04 -04:00
peers.rs Fix non-atomic peer update 2018-08-28 13:26:47 +02:00
protocol.rs HeaderSync optimization (#1372) (#1400) 2018-08-30 19:50:55 -04:00
serv.rs Refactor and optimise peers.rs (#1389) 2018-08-20 18:32:13 -04:00
store.rs Fix non-atomic peer update 2018-08-28 13:26:47 +02:00
types.rs Config + Default directories (#1433) 2018-08-30 10:10:40 +01:00