grin/p2p
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
..
src HeaderSync optimization (#1372) (#1400) 2018-08-30 19:50:55 -04:00
tests Wallet LMDB backend (#1151) 2018-06-22 09:08:06 +01:00
Cargo.toml improve: time crate flagged as deprecated, switch to actively maintained chrono crate (#1297) 2018-07-30 09:33:28 +01:00