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 @@ -178,9 +178,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|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"`
// `lnd.bitcoin.mainnet|testnet|testnet4|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:"testnet4" choice:"mainnet" choice:"simnet" choice:"signet"`

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

Expand Down Expand Up @@ -810,6 +810,9 @@ func setNetwork(cfg *Config) error {
case "testnet", "testnet3":
cfg.Lnd.Bitcoin.TestNet3 = true

case "testnet4":
cfg.Lnd.Bitcoin.TestNet4 = true

case "regtest":
cfg.Lnd.Bitcoin.RegTest = true

Expand Down
43 changes: 43 additions & 0 deletions docs/release-notes/release-notes-0.15.2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Release Notes

- [Lightning Terminal](#lightning-terminal)
- [Bug Fixes](#bug-fixes)
- [Functional Changes/Additions](#functional-changesadditions)
- [Technical and Architectural Updates](#technical-and-architectural-updates)
- [Integrated Binary Updates](#integrated-binary-updates)
- [LND](#lnd)
- [Loop](#loop)
- [Pool](#pool)
- [Faraday](#faraday)
- [Taproot Assets](#taproot-assets)
- [Contributors](#contributors-alphabetical-order)
## Lightning Terminal

### Bug Fixes

### Functional Changes/Additions

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

### Technical and Architectural Updates

## RPC Updates

## Integrated Binary Updates

### LND

### Loop

### Pool

### Faraday

### Taproot Assets

# Contributors (Alphabetical Order)

* bitcoin-coder-bob
* Jonathan Harvey-Buschel
2 changes: 2 additions & 0 deletions itest/litd_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,8 @@ func (cfg *LitNodeConfig) defaultLitdArgs() *litArgs {
switch cfg.NetParams {
case &chaincfg.TestNet3Params:
args["network"] = "testnet"
case &chaincfg.TestNet4Params:
args["network"] = "testnet4"
case &chaincfg.SimNetParams:
args["network"] = "simnet"
case &chaincfg.RegressionNetParams:
Expand Down
Loading