Skip to content

Commit 5047e2d

Browse files
config: add testnet4 network option
1 parent 55f5682 commit 5047e2d

File tree

3 files changed

+49
-2
lines changed

3 files changed

+49
-2
lines changed

config.go

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,9 @@ type Config struct {
178178

179179
// Network is the Bitcoin network we're running on. This will be parsed
180180
// before the configuration is loaded and will set the correct flag on
181-
// `lnd.bitcoin.mainnet|testnet|regtest|signet` and also for the other
181+
// `lnd.bitcoin.mainnet|testnet|testnet4|regtest|signet` and also for the other
182182
// daemons. That way only one global network flag is needed.
183-
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"`
183+
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"`
184184

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

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

813+
case "testnet4":
814+
cfg.Lnd.Bitcoin.TestNet4 = true
815+
813816
case "regtest":
814817
cfg.Lnd.Bitcoin.RegTest = true
815818

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Release Notes
2+
3+
- [Lightning Terminal](#lightning-terminal)
4+
- [Bug Fixes](#bug-fixes)
5+
- [Functional Changes/Additions](#functional-changesadditions)
6+
- [Technical and Architectural Updates](#technical-and-architectural-updates)
7+
- [Integrated Binary Updates](#integrated-binary-updates)
8+
- [LND](#lnd)
9+
- [Loop](#loop)
10+
- [Pool](#pool)
11+
- [Faraday](#faraday)
12+
- [Taproot Assets](#taproot-assets)
13+
- [Contributors](#contributors-alphabetical-order)
14+
## Lightning Terminal
15+
16+
### Bug Fixes
17+
18+
### Functional Changes/Additions
19+
20+
* Add support for connecting LiT to [testnet4](https://github.com/lightninglabs/lightning-terminal/pull/1120).
21+
This can be done using the `--network=testnet4` config option.
22+
23+
### Technical and Architectural Updates
24+
25+
## RPC Updates
26+
27+
## Integrated Binary Updates
28+
29+
### LND
30+
31+
### Loop
32+
33+
### Pool
34+
35+
### Faraday
36+
37+
### Taproot Assets
38+
39+
# Contributors (Alphabetical Order)
40+
41+
* bitcoin-coder-bob
42+
* Jonathan Harvey-Buschel

itest/litd_node.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,8 @@ func (cfg *LitNodeConfig) defaultLitdArgs() *litArgs {
289289
switch cfg.NetParams {
290290
case &chaincfg.TestNet3Params:
291291
args["network"] = "testnet"
292+
case &chaincfg.TestNet4Params:
293+
args["network"] = "testnet4"
292294
case &chaincfg.SimNetParams:
293295
args["network"] = "simnet"
294296
case &chaincfg.RegressionNetParams:

0 commit comments

Comments
 (0)