lncfg+config: only allow btcd or bitcoind backends

This commit is contained in:
Elle Mouton
2023-08-03 18:50:11 +02:00
committed by Olaoluwa Osuntokun
parent 913aa36fe9
commit 94c4642db6
2 changed files with 12 additions and 27 deletions

View File

@@ -13,7 +13,7 @@ type Chain struct {
Active bool `long:"active" description:"DEPRECATED: If the chain should be active or not. This field is now ignored since only the Bitcoin chain is supported"`
ChainDir string `long:"chaindir" description:"The directory to store the chain's data within."`
Node string `long:"node" description:"The blockchain interface to use." choice:"btcd" choice:"bitcoind" choice:"neutrino" choice:"ltcd" choice:"litecoind" choice:"nochainbackend"`
Node string `long:"node" description:"The blockchain interface to use." choice:"btcd" choice:"bitcoind" choice:"neutrino" choice:"nochainbackend"`
MainNet bool `long:"mainnet" description:"Use the main network"`
TestNet3 bool `long:"testnet" description:"Use the test network"`