You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -70,7 +70,7 @@ Reproduces the bug using a Blocktank LSP channel opened via "transfer to spendin
70
70
71
71
---
72
72
73
-
## Repro: 3rd-party channel (local docker)
73
+
## Repro Case #2: 3rd-party channel (local docker)
74
74
75
75
Reproduces the bug using a manually opened channel to the local docker LND node.
76
76
@@ -82,7 +82,7 @@ Reproduces the bug using a manually opened channel to the local docker LND node.
82
82
83
83
### Build Notes
84
84
85
-
RN v1.1.6 local builds use `.env.test.template` (regtest + localhost Electrum). For release builds, `react-native-dotenv` reads `.env.production`, so that file must be overwritten with the local config.
85
+
RN v1.1.6 local builds use `.env.test.template` (regtest + localhost Electrum). For release builds, `react-native-dotenv` reads `.env.production`, so that file must be overwritten with the local regtest config.
86
86
87
87
**Critical**: The RN app's `.env.production` must point the backup server to **staging** (not localhost), because the native apps have `rnBackupServerHost` hardcoded to staging. If the RN app pushes to `127.0.0.1:3003` but the native app queries `bitkit.stag0.blocktank.to`, it will never find the channel monitors and the bug won't trigger.
88
88
@@ -106,8 +106,8 @@ All other settings (Electrum, network, etc.) stay local.
106
106
./bitcoin-cli send 0.01 <address>
107
107
./bitcoin-cli mine 6
108
108
```
109
-
4. In the app, go to **Settings > Advanced > Channels > + > Fund Custom > Manual** and enter the local LND connection:
4. In the app, go to **Settings > Advanced > Channels > + > Fund Custom > Manual** and enter the local LND connection (get the node ID from `./bitcoin-cli getinfo`):
110
+
- Node ID: LND's pubkey
111
111
- Host: `0.0.0.0`
112
112
- Port: `9735`
113
113
5. Set amount (e.g. 50,000 sats) and confirm the channel open
@@ -116,7 +116,7 @@ All other settings (Electrum, network, etc.) stay local.
116
116
117
117
#### 2. Open channel from LND to the app
118
118
119
-
The app's channel has all balance on the app side. LND needs outbound liquidity to pay invoices to the app:
119
+
The app's channel has all balance on the app side. LND needs outbound liquidity to pay invoices to the app. Get the app's node ID from **Settings > Advanced > Lightning Node Info**, then:
120
120
121
121
```bash
122
122
./bitcoin-cli openchannel <app_node_id> 500000
@@ -185,7 +185,7 @@ Matrix of upgrade/recovery scenarios to validate v2.1.2. Each scenario should be
0 commit comments