lnd: remove support for the now obsolete SegNet4
This commit is contained in:
2 files changed
+1
-9
No files matched your search
@@ -72,7 +72,6 @@ type config struct {
|
|||||||
SPVHostAdr string `long:"spvhostadr" description:"Address of full bitcoin node. It is used in SPV mode."`
|
SPVHostAdr string `long:"spvhostadr" description:"Address of full bitcoin node. It is used in SPV mode."`
|
||||||
TestNet3 bool `long:"testnet" description:"Use the test network"`
|
TestNet3 bool `long:"testnet" description:"Use the test network"`
|
||||||
SimNet bool `long:"simnet" description:"Use the simulation test network"`
|
SimNet bool `long:"simnet" description:"Use the simulation test network"`
|
||||||
SegNet bool `long:"segnet" description:"Use the segragated witness test network"`
|
|
||||||
DebugHTLC bool `long:"debughtlc" description:"Activate the debug htlc mode. With the debug HTLC mode, all payments sent use a pre-determined R-Hash. Additionally, all HTLC's sent to a node with the debug HTLC R-Hash are immediately settled in the next available state transition."`
|
DebugHTLC bool `long:"debughtlc" description:"Activate the debug htlc mode. With the debug HTLC mode, all payments sent use a pre-determined R-Hash. Additionally, all HTLC's sent to a node with the debug HTLC R-Hash are immediately settled in the next available state transition."`
|
||||||
MaxPendingChannels int `long:"maxpendingchannels" description:"The maximum number of incoming pending channels permitted per peer."`
|
MaxPendingChannels int `long:"maxpendingchannels" description:"The maximum number of incoming pending channels permitted per peer."`
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import "github.com/roasbeef/btcd/chaincfg"
|
|||||||
|
|
||||||
// activeNetParams is a pointer to the parameters specific to the currently
|
// activeNetParams is a pointer to the parameters specific to the currently
|
||||||
// active bitcoin network.
|
// active bitcoin network.
|
||||||
var activeNetParams = segNetParams
|
var activeNetParams = testNetParams
|
||||||
|
|
||||||
// netParams couples the p2p parameters of a network with the corresponding RPC
|
// netParams couples the p2p parameters of a network with the corresponding RPC
|
||||||
// port of a daemon running on the particular network.
|
// port of a daemon running on the particular network.
|
||||||
@@ -19,13 +19,6 @@ var testNetParams = netParams{
|
|||||||
rpcPort: "18334",
|
rpcPort: "18334",
|
||||||
}
|
}
|
||||||
|
|
||||||
// segNetParams contains parameters specific to the segregated witness test
|
|
||||||
// network.
|
|
||||||
var segNetParams = netParams{
|
|
||||||
Params: &chaincfg.SegNet4Params,
|
|
||||||
rpcPort: "28902",
|
|
||||||
}
|
|
||||||
|
|
||||||
// simNetParams contains parameters specific to the simulation test network.
|
// simNetParams contains parameters specific to the simulation test network.
|
||||||
var simNetParams = netParams{
|
var simNetParams = netParams{
|
||||||
Params: &chaincfg.SimNetParams,
|
Params: &chaincfg.SimNetParams,
|
||||||
|
|||||||
Reference in new issue
Block a user