@@ -21,47 +21,51 @@ type Network struct {
2121 // Confidential prefix
2222 Confidential byte
2323 // Bitcoin Asset Hash for the current network
24- AssetID string
24+ AssetID string
25+ GenesisBlockHash string
2526}
2627
2728// Liquid defines the network parameters for the main Liquid network.
2829var Liquid = Network {
29- Name : "liquid" ,
30- Bech32 : "ex" ,
31- Blech32 : "lq" ,
32- HDPublicKey : [4 ]byte {0x04 , 0x88 , 0xb2 , 0x1e },
33- HDPrivateKey : [4 ]byte {0x04 , 0x88 , 0xad , 0xe4 },
34- PubKeyHash : 57 ,
35- ScriptHash : 39 ,
36- Wif : 0x80 ,
37- Confidential : 12 ,
38- AssetID : "6f0279e9ed041c3d710a9f57d0c02928416460c4b722ae3457a11eec381c526d" ,
30+ Name : "liquid" ,
31+ Bech32 : "ex" ,
32+ Blech32 : "lq" ,
33+ HDPublicKey : [4 ]byte {0x04 , 0x88 , 0xb2 , 0x1e },
34+ HDPrivateKey : [4 ]byte {0x04 , 0x88 , 0xad , 0xe4 },
35+ PubKeyHash : 57 ,
36+ ScriptHash : 39 ,
37+ Wif : 0x80 ,
38+ Confidential : 12 ,
39+ AssetID : "6f0279e9ed041c3d710a9f57d0c02928416460c4b722ae3457a11eec381c526d" ,
40+ GenesisBlockHash : "1466275836220db2944ca059a3a10ef6fd2ea684b0688d2c379296888a206003" ,
3941}
4042
4143// Regtest defines the network parameters for the regression regtest network.
4244var Regtest = Network {
43- Name : "regtest" ,
44- Bech32 : "ert" ,
45- Blech32 : "el" ,
46- HDPublicKey : [4 ]byte {0x04 , 0x35 , 0x87 , 0xcf },
47- HDPrivateKey : [4 ]byte {0x04 , 0x35 , 0x83 , 0x94 },
48- PubKeyHash : 235 ,
49- ScriptHash : 75 ,
50- Wif : 0xef ,
51- Confidential : 4 ,
52- AssetID : "5ac9f65c0efcc4775e0baec4ec03abdde22473cd3cf33c0419ca290e0751b225" ,
45+ Name : "regtest" ,
46+ Bech32 : "ert" ,
47+ Blech32 : "el" ,
48+ HDPublicKey : [4 ]byte {0x04 , 0x35 , 0x87 , 0xcf },
49+ HDPrivateKey : [4 ]byte {0x04 , 0x35 , 0x83 , 0x94 },
50+ PubKeyHash : 235 ,
51+ ScriptHash : 75 ,
52+ Wif : 0xef ,
53+ Confidential : 4 ,
54+ AssetID : "5ac9f65c0efcc4775e0baec4ec03abdde22473cd3cf33c0419ca290e0751b225" ,
55+ GenesisBlockHash : "00902a6b70c2ca83b5d9c815d96a0e2f4202179316970d14ea1847dae5b1ca21" ,
5356}
5457
5558// Testnet defines the network parameters for the regression testnet network.
5659var Testnet = Network {
57- Name : "testnet" ,
58- Bech32 : "tex" ,
59- Blech32 : "tlq" ,
60- HDPublicKey : [4 ]byte {0x04 , 0x35 , 0x87 , 0xcf },
61- HDPrivateKey : [4 ]byte {0x04 , 0x35 , 0x83 , 0x94 },
62- PubKeyHash : 36 ,
63- ScriptHash : 19 ,
64- Wif : 0xef ,
65- Confidential : 23 ,
66- AssetID : "144c654344aa716d6f3abcc1ca90e5641e4e2a7f633bc09fe3baf64585819a49" ,
60+ Name : "testnet" ,
61+ Bech32 : "tex" ,
62+ Blech32 : "tlq" ,
63+ HDPublicKey : [4 ]byte {0x04 , 0x35 , 0x87 , 0xcf },
64+ HDPrivateKey : [4 ]byte {0x04 , 0x35 , 0x83 , 0x94 },
65+ PubKeyHash : 36 ,
66+ ScriptHash : 19 ,
67+ Wif : 0xef ,
68+ Confidential : 23 ,
69+ AssetID : "144c654344aa716d6f3abcc1ca90e5641e4e2a7f633bc09fe3baf64585819a49" ,
70+ GenesisBlockHash : "a771da8e52ee6ad581ed1e9a99825e5b3b7992225534eaa2ae23244fe26ab1c1" ,
6771}
0 commit comments