lnd: remove support for the now obsolete SegNet4

This commit is contained in:
Olaoluwa Osuntokun 2017-01-05 13:08:08 -08:00
parent aa04f82a15
commit 8fe5c09e21
No known key found for this signature in database
GPG Key ID: 9CC5B105D03521A2
2 changed files with 1 additions and 9 deletions

@ -72,7 +72,6 @@ type config struct {
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"`
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."`
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
// active bitcoin network.
var activeNetParams = segNetParams
var activeNetParams = testNetParams
// netParams couples the p2p parameters of a network with the corresponding RPC
// port of a daemon running on the particular network.
@ -19,13 +19,6 @@ var testNetParams = netParams{
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.
var simNetParams = netParams{
Params: &chaincfg.SimNetParams,