Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions config.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,9 @@ type Config struct {

// Network is the Bitcoin network we're running on. This will be parsed
// before the configuration is loaded and will set the correct flag on
// `lnd.bitcoin.mainnet|testnet|regtest` and also for the other daemons.
// That way only one global network flag is needed.
Network string `long:"network" description:"The network the UI and all its components run on" choice:"regtest" choice:"testnet" choice:"mainnet" choice:"simnet"`
// `lnd.bitcoin.mainnet|testnet|regtest|signet` and also for the other
// daemons. That way only one global network flag is needed.
Network string `long:"network" description:"The network the UI and all its components run on" choice:"regtest" choice:"testnet" choice:"mainnet" choice:"simnet" choice:"signet"`

Remote *subservers.RemoteConfig `group:"Remote mode options (use when lnd-mode=remote)" namespace:"remote"`

Expand Down Expand Up @@ -757,6 +757,9 @@ func setNetwork(cfg *Config) error {
case "simnet":
cfg.Lnd.Bitcoin.SimNet = true

case "signet":
cfg.Lnd.Bitcoin.SigNet = true

default:
return fmt.Errorf("unknown network: %v", cfg.Network)
}
Expand Down
7 changes: 6 additions & 1 deletion docs/release-notes/release-notes-0.13.7.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@
sufficiently long duration (>= 30 seconds) should be used. The default value
was bumped from 30 seconds to 3 minutes.

* Add support for connecting LiT to a [signet
network](https://github.com/lightninglabs/lightning-terminal/pull/902). This
can be done using the `--network=signet` config option.

### Technical and Architectural Updates

## Integrated Binary Updates
Expand All @@ -46,4 +50,5 @@

# Contributors (Alphabetical Order)

- Oliver Gugger
* Elle Mouton
* Oliver Gugger
2 changes: 2 additions & 0 deletions itest/litd_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,8 @@ func (cfg *LitNodeConfig) defaultLitdArgs() *litArgs {
args["network"] = "simnet"
case &chaincfg.RegressionNetParams:
args["network"] = "regtest"
case &chaincfg.SigNetParams:
args["network"] = "signet"
}

// In remote mode, we don't need any lnd specific arguments other than
Expand Down
Loading