From 41b985ee0b221b011f733272b9667fad0601225d Mon Sep 17 00:00:00 2001 From: teor Date: Wed, 30 Sep 2020 06:59:59 +1000 Subject: [PATCH] Block test vector comment updates --- zebra-test/src/vectors/block.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/zebra-test/src/vectors/block.rs b/zebra-test/src/vectors/block.rs index 72a5bb8e7..9fcde69a5 100644 --- a/zebra-test/src/vectors/block.rs +++ b/zebra-test/src/vectors/block.rs @@ -17,8 +17,12 @@ lazy_static! { // Update these lists of blocks when you add new block test vectors to // this file + // + // We use integer heights in these maps, to avoid a dependency on zebra_chain /// Mainnet blocks, indexed by height + /// + /// This is actually a bijective map, the tests ensure that values are unique. pub static ref MAINNET_BLOCKS: BTreeMap = BTreeMap::from_iter( [ // Genesis @@ -57,6 +61,8 @@ lazy_static! { ); /// Testnet blocks, indexed by height + /// + /// This is actually a bijective map, the tests ensure that values are unique. pub static ref TESTNET_BLOCKS: BTreeMap = BTreeMap::from_iter( [ // Genesis