generate locator heights all the way down to 0 by powers of 2 (#378)

This commit is contained in:
AntiochP
2017-11-22 22:59:33 -05:00
committed by GitHub
parent 348038f0ed
commit c6b94dd2c4
3 changed files with 53 additions and 33 deletions
-3
View File
@@ -26,9 +26,6 @@ use core::core::hash::Hash;
use core::core::target::Difficulty;
use core::ser;
/// Maximum number of hashes in a block header locator request
pub const MAX_LOCATORS: u32 = 10;
/// Maximum number of block headers a peer should ever send
pub const MAX_BLOCK_HEADERS: u32 = 512;