Block test vector comment updates
This commit is contained in:
parent
28b0e5d197
commit
41b985ee0b
|
@ -17,8 +17,12 @@ lazy_static! {
|
||||||
|
|
||||||
// Update these lists of blocks when you add new block test vectors to
|
// Update these lists of blocks when you add new block test vectors to
|
||||||
// this file
|
// this file
|
||||||
|
//
|
||||||
|
// We use integer heights in these maps, to avoid a dependency on zebra_chain
|
||||||
|
|
||||||
/// Mainnet blocks, indexed by height
|
/// Mainnet blocks, indexed by height
|
||||||
|
///
|
||||||
|
/// This is actually a bijective map, the tests ensure that values are unique.
|
||||||
pub static ref MAINNET_BLOCKS: BTreeMap<u32, &'static [u8]> = BTreeMap::from_iter(
|
pub static ref MAINNET_BLOCKS: BTreeMap<u32, &'static [u8]> = BTreeMap::from_iter(
|
||||||
[
|
[
|
||||||
// Genesis
|
// Genesis
|
||||||
|
@ -57,6 +61,8 @@ lazy_static! {
|
||||||
);
|
);
|
||||||
|
|
||||||
/// Testnet blocks, indexed by height
|
/// Testnet blocks, indexed by height
|
||||||
|
///
|
||||||
|
/// This is actually a bijective map, the tests ensure that values are unique.
|
||||||
pub static ref TESTNET_BLOCKS: BTreeMap<u32, &'static [u8]> = BTreeMap::from_iter(
|
pub static ref TESTNET_BLOCKS: BTreeMap<u32, &'static [u8]> = BTreeMap::from_iter(
|
||||||
[
|
[
|
||||||
// Genesis
|
// Genesis
|
||||||
|
|
Loading…
Reference in New Issue