-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
params.go
executable file
·41 lines (34 loc) · 1.17 KB
/
params.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
41
package netparams
import (
chaincfg "git.parallelcoin.io/dev/9/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
RPCServerPort string
}
// MainNetParams contains parameters specific running btcwallet and pod on the main network (wire.MainNet).
var MainNetParams = Params{
Params: &chaincfg.MainNetParams,
RPCClientPort: "11048",
RPCServerPort: "11046",
}
// SimNetParams contains parameters specific to the simulation test network (wire.SimNet).
var SimNetParams = Params{
Params: &chaincfg.SimNetParams,
RPCClientPort: "41048",
RPCServerPort: "41046",
}
// TestNet3Params contains parameters specific running btcwallet and pod on the test network (version 3) (wire.TestNet3).
var TestNet3Params = Params{
Params: &chaincfg.TestNet3Params,
RPCClientPort: "21048",
RPCServerPort: "21046",
}
// RegressionTestParams contains parameters specific to the simulation test network (wire.SimNet).
var RegressionTestParams = Params{
Params: &chaincfg.RegressionNetParams,
RPCClientPort: "31048",
RPCServerPort: "31046",
}