mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 18:10:34 +01:00
chains: add net params for TBC and LTC main net
This commit is contained in:
parent
8f4a8fcf57
commit
3bf6626f73
@ -37,6 +37,14 @@ var bitcoinTestNetParams = bitcoinNetParams{
|
|||||||
CoinType: keychain.CoinTypeTestnet,
|
CoinType: keychain.CoinTypeTestnet,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// bitcoinMainNetParams contains parameters specific to the current Bitcoin
|
||||||
|
// mainnet.
|
||||||
|
var bitcoinMainNetParams = bitcoinNetParams{
|
||||||
|
Params: &bitcoinCfg.MainNetParams,
|
||||||
|
rpcPort: "8334",
|
||||||
|
CoinType: keychain.CoinTypeBitcoin,
|
||||||
|
}
|
||||||
|
|
||||||
// bitcoinSimNetParams contains parameters specific to the simulation test
|
// bitcoinSimNetParams contains parameters specific to the simulation test
|
||||||
// network.
|
// network.
|
||||||
var bitcoinSimNetParams = bitcoinNetParams{
|
var bitcoinSimNetParams = bitcoinNetParams{
|
||||||
@ -45,8 +53,6 @@ var bitcoinSimNetParams = bitcoinNetParams{
|
|||||||
CoinType: keychain.CoinTypeTestnet,
|
CoinType: keychain.CoinTypeTestnet,
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO(roasbeef): blacklist ipv6 local host as well
|
|
||||||
|
|
||||||
// litecoinTestNetParams contains parameters specific to the 4th version of the
|
// litecoinTestNetParams contains parameters specific to the 4th version of the
|
||||||
// test network.
|
// test network.
|
||||||
var litecoinTestNetParams = litecoinNetParams{
|
var litecoinTestNetParams = litecoinNetParams{
|
||||||
@ -55,6 +61,14 @@ var litecoinTestNetParams = litecoinNetParams{
|
|||||||
CoinType: keychain.CoinTypeTestnet,
|
CoinType: keychain.CoinTypeTestnet,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// litecoinMainNetParams contains the parameters specific to the current
|
||||||
|
// Litecoin mainnet.
|
||||||
|
var litecoinMainNetParams = litecoinNetParams{
|
||||||
|
Params: &litecoinCfg.MainNetParams,
|
||||||
|
rpcPort: "9334",
|
||||||
|
CoinType: keychain.CoinTypeLitecoin,
|
||||||
|
}
|
||||||
|
|
||||||
// regTestNetParams contains parameters specific to a local regtest network.
|
// regTestNetParams contains parameters specific to a local regtest network.
|
||||||
var regTestNetParams = bitcoinNetParams{
|
var regTestNetParams = bitcoinNetParams{
|
||||||
Params: &bitcoinCfg.RegressionNetParams,
|
Params: &bitcoinCfg.RegressionNetParams,
|
||||||
|
Loading…
Reference in New Issue
Block a user