mirror of
https://github.com/mimblewimble/grin.git
synced 2025-01-21 03:21:08 +03:00
d719493483
* 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() |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml |