Documentation ¶
Index ¶
Constants ¶
View Source
const ( TmP2pPortOffset = 0 TmRpcPortOffset = 1 TmRpcGrpcPortOffset = 2 AccRouterJsonPortOffset = 4 // AccRouterRestPortOffset = 5 TmPrometheusPortOffset = 6 MaxPortOffset = TmPrometheusPortOffset )
Variables ¶
View Source
var DevNet = Network{ protocol.Directory: { Name: protocol.Directory, NetworkName: "DevNet", Type: config.Directory, Port: 34000, Nodes: []Node{ {"172.31.4.106", config.Validator}, {"172.31.11.185", config.Follower}, {"172.31.11.104", config.Validator}, {"172.31.13.8", config.Follower}, }, }, "Zion": { Name: "Zion", NetworkName: "DevNet", Index: 0, Type: config.BlockValidator, Port: 33000, Nodes: []Node{ {"172.31.4.106", config.Validator}, {"172.31.11.185", config.Validator}, }, }, "Yellowstone": { Name: "Yellowstone", NetworkName: "DevNet", Index: 1, Type: config.BlockValidator, Port: 33000, Nodes: []Node{ {"172.31.11.104", config.Validator}, {"172.31.13.8", config.Validator}, }, }, }
View Source
var TestNet = Network{ protocol.Directory: { Name: protocol.Directory, NetworkName: "TestNet", Type: config.Directory, Port: 34000, Nodes: []Node{ {"0.bvn0.testnet.accumulatenetwork.io", config.Validator}, {"1.bvn0.testnet.accumulatenetwork.io", config.Follower}, {"2.bvn0.testnet.accumulatenetwork.io", config.Follower}, {"0.bvn1.testnet.accumulatenetwork.io", config.Validator}, {"1.bvn1.testnet.accumulatenetwork.io", config.Follower}, {"2.bvn1.testnet.accumulatenetwork.io", config.Follower}, {"0.bvn2.testnet.accumulatenetwork.io", config.Validator}, {"1.bvn2.testnet.accumulatenetwork.io", config.Follower}, {"2.bvn2.testnet.accumulatenetwork.io", config.Follower}, }, }, "BVN0": { Name: "BVN0", NetworkName: "TestNet", Type: config.BlockValidator, Port: 33000, Nodes: []Node{ {"0.bvn0.testnet.accumulatenetwork.io", config.Validator}, {"1.bvn0.testnet.accumulatenetwork.io", config.Validator}, {"2.bvn0.testnet.accumulatenetwork.io", config.Validator}, }, }, "BVN1": { Name: "BVN1", NetworkName: "TestNet", Type: config.BlockValidator, Port: 33000, Nodes: []Node{ {"0.bvn1.testnet.accumulatenetwork.io", config.Validator}, {"1.bvn1.testnet.accumulatenetwork.io", config.Validator}, {"2.bvn1.testnet.accumulatenetwork.io", config.Validator}, }, }, "BVN2": { Name: "BVN2", NetworkName: "TestNet", Type: config.BlockValidator, Port: 33000, Nodes: []Node{ {"0.bvn2.testnet.accumulatenetwork.io", config.Validator}, {"1.bvn2.testnet.accumulatenetwork.io", config.Validator}, {"2.bvn2.testnet.accumulatenetwork.io", config.Validator}, }, }, }
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.