mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-22 06:21:40 +01:00
chains: add a set of BOLT-0010 DNS seeds for bitcoin
This commit is contained in:
parent
d5cc0441f4
commit
74ef963124
1 changed files with 12 additions and 0 deletions
|
@ -336,6 +336,18 @@ var (
|
|||
bitcoinChain: bitcoinGenesis,
|
||||
litecoinChain: litecoinGenesis,
|
||||
}
|
||||
|
||||
// chainDNSSeeds is a map of a chain's hash to the set of DNS seeds
|
||||
// that will be use to bootstrap peers upon first startup.
|
||||
//
|
||||
// TODO(roasbeef): extend and collapse these and chainparams.go into
|
||||
// struct like chaincfg.Params
|
||||
chainDNSSeeds = map[chainhash.Hash][]string{
|
||||
bitcoinGenesis: []string{
|
||||
"nodes.lightning.directory",
|
||||
//"lseed.bitcoinstats.com",
|
||||
},
|
||||
}
|
||||
)
|
||||
|
||||
// chainRegistry keeps track of the current chains
|
||||
|
|
Loading…
Add table
Reference in a new issue