Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
huancheng-trili committed Oct 2, 2024
1 parent cb0e08d commit b0256f4
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions tezos/protocols.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var (
ProtoV018 = MustParseProtocolHash("ProxfordYmVfjWnRcgjWH36fW6PArwqykTFzotUxRs6gmTcZDuH")
ProtoV019 = MustParseProtocolHash("PtParisBxoLz5gzMmn3d9WBQNoPSZakgnkMC2VNuQ3KXfUtUQeZ")
ProtoV020 = MustParseProtocolHash("PsParisCZo7KAh1Z1smVd9ZMZ1HHn5gkzbM94V3PLCpknFWhUAi")
ProtoV021 = MustParseProtocolHash("PsquebeCaYyvBEESCaXL8B8Tn8BcEhps2Zke1xMVtyr7X4qMfxT")
ProtoV021 = MustParseProtocolHash("PtQenaB1PqFEfTe2og7bZTaPvMw2CxRyDFEwWNj3GiWp9ba4bJd")

// aliases
PtAthens = ProtoV004
Expand All @@ -49,11 +49,10 @@ var (
Proxford = ProtoV018
PtParisB = ProtoV019
PsParisC = ProtoV020
PsQuebec = ProtoV021
PtQenaB1 = ProtoV021

Mainnet = MustParseChainIdHash("NetXdQprcVkpaWU")
Ghostnet = MustParseChainIdHash("NetXnHfVqm9iesp")
ParisCnet = MustParseChainIdHash("NetXXWAHLEvre9b")
Mainnet = MustParseChainIdHash("NetXdQprcVkpaWU")
Ghostnet = MustParseChainIdHash("NetXnHfVqm9iesp")

versionsMtx = sync.RWMutex{}
Versions = map[ProtocolHash]int{
Expand Down Expand Up @@ -107,7 +106,7 @@ var (
{Proxford, 0, 5070849, 5726208, 703, 5, 16384, 1024}, // v18
{PtParisB, 0, 5726209, 5898240, 743, 2, 24576, 24576}, // v19
{PsParisC, 0, 5898241, -1, 750, 2, 24576, 24576}, // v20
{PsQuebec, 0, 5898241, -1, 750, 2, 30720, 30720}, // v21
{PtQenaB1, 0, 5898241, -1, 750, 2, 30720, 30720}, // v21
},
Ghostnet: {
{ProtoGenesis, 0, 0, 0, 0, 3, 4096, 256}, // 0
Expand All @@ -122,12 +121,7 @@ var (
{Proxford, 0, 5316609, 6422528, 913, 3, 8192, 512}, // v18
{PtParisB, 0, 6422529, 6729728, 1048, 2, 12288, 12288}, // v19
{PsParisC, 0, 6729729, -1, 1073, 2, 12288, 12288}, // v20
{PsQuebec, 0, 5898241, -1, 750, 2, 30720, 30720}, // v21
},
ParisCnet: {
{ProtoGenesis, 0, 0, 0, 0, 3, 8192, 512}, // 0
{ProtoBootstrap, 0, 1, 1, 0, 3, 8192, 512}, // 0
{PsParisC, 2, 2, -1, 0, 2, 128, 128}, // v19
{PtQenaB1, 0, 5898241, -1, 750, 2, 30720, 30720}, // v21
},
}
)
Expand Down

0 comments on commit b0256f4

Please sign in to comment.