forked from p9c/pod-archive
-
Notifications
You must be signed in to change notification settings - Fork 0
/
paramswithports.go
40 lines (34 loc) · 1.21 KB
/
paramswithports.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
package netparams
import (
chaincfg "github.com/l0k18/pod/pkg/chain/config"
)
// Params is used to group parameters for various networks such as the main network and test networks.
type Params struct {
chaincfg.Params
RPCClientPort string
WalletRPCServerPort string
}
// MainNetParams contains parameters specific running pod on the main network (wire.MainNet).
var MainNetParams = Params{
Params: chaincfg.MainNetParams,
RPCClientPort: "11048",
WalletRPCServerPort: "11046",
}
// SimNetParams contains parameters specific to the simulation test network (wire.SimNet).
var SimNetParams = Params{
Params: chaincfg.SimNetParams,
RPCClientPort: "41048",
WalletRPCServerPort: "41046",
}
// TestNet3Params contains parameters specific running pod on the test network (version 3) (wire.TestNet3).
var TestNet3Params = Params{
Params: chaincfg.TestNet3Params,
RPCClientPort: "21048",
WalletRPCServerPort: "21046",
}
// RegressionTestParams contains parameters specific to the simulation test network (wire.SimNet).
var RegressionTestParams = Params{
Params: chaincfg.RegressionTestParams,
RPCClientPort: "31048",
WalletRPCServerPort: "31046",
}