Skip to content

Commit 024d364

Browse files
committed
Update mainnet alpha and testnet4 activation blocks
1 parent e2aeb7a commit 024d364

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

protocol/src/constants.rs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,16 @@ impl ChainAnchor {
5757
}
5858
}
5959

60+
pub const MAINNET: fn() -> Self = || ChainAnchor {
61+
hash: BlockHash::all_zeros(),
62+
height: 871_222,
63+
};
64+
65+
pub const MAINNET_ALPHA: fn() -> Self = || ChainAnchor {
66+
hash: BlockHash::all_zeros(),
67+
height: 870_000,
68+
};
69+
6070
// Testnet4 activation block
6171
pub const TESTNET4: fn() -> Self = || {
6272
Self::new(
@@ -65,20 +75,10 @@ impl ChainAnchor {
6575
0x3d, 0x68, 0x8f, 0x7a, 0x90, 0x0d, 0x56, 0x79, 0xe0, 0x63, 0x08, 0x00, 0x00, 0x00,
6676
0x00, 0x00, 0x00, 0x00,
6777
],
68-
38_580,
78+
50_000,
6979
)
7080
};
7181

72-
pub const MAINNET_ALPHA: fn() -> Self = || ChainAnchor {
73-
hash: BlockHash::all_zeros(),
74-
height: 869_000,
75-
};
76-
77-
pub const MAINNET: fn() -> Self = || ChainAnchor {
78-
hash: BlockHash::all_zeros(),
79-
height: 871_222,
80-
};
81-
8282
// Testnet activation block
8383
pub const TESTNET: fn() -> Self = || {
8484
Self::new(

0 commit comments

Comments
 (0)