forked from lightningnetwork/lnd
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathparams.go
More file actions
26 lines (21 loc) · 731 Bytes
/
params.go
File metadata and controls
26 lines (21 loc) · 731 Bytes
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
package main
import "github.com/roasbeef/btcd/chaincfg"
// activeNetParams is a pointer to the parameters specific to the currently
// active bitcoin network.
var activeNetParams = testNetParams
// netParams couples the p2p parameters of a network with the corresponding RPC
// port of a daemon running on the particular network.
type netParams struct {
*chaincfg.Params
rpcPort string
}
// testNetParams contains parameters specific to the 3rd version of the test network.
var testNetParams = netParams{
Params: &chaincfg.TestNet3Params,
rpcPort: "18334",
}
// simNetParams contains parameters specific to the simulation test network.
var simNetParams = netParams{
Params: &chaincfg.SimNetParams,
rpcPort: "18556",
}