feat: Developer Tools: add updateChannelPolicy with create_missing_edge

Adds an updateChannelPolicy command to the LND Developer Tools,
mirroring lncli updatechanpolicy: base_fee_msat, fee_rate_ppm,
time_lock_delta, and min/max_htlc_msat inputs, a create_missing_edge
toggle, and a global or per-channel target picker.

Backed by a raw PolicyUpdateRequest passthrough on lnd (REST),
embedded-lnd (new lndmobile binding + iOS dispatch table entry), and
lightning-node-connect, kept separate from the production setFees
flow so units and inbound-fee handling there are untouched.
This commit is contained in:
Evan Kaloudis
2026-07-13 11:39:14 -04:00
parent 3783213a8d
commit 89447a25c2
9 changed files with 258 additions and 9 deletions
+1
View File
@@ -104,6 +104,7 @@ open class Lnd {
"VerifyChanBackup": { bytes, cb in LndmobileVerifyChanBackup(bytes, cb) },
"GetChanInfo": { bytes, cb in LndmobileGetChanInfo(bytes, cb) },
"AbandonChannel": { bytes, cb in LndmobileAbandonChannel(bytes, cb) },
"UpdateChannelPolicy": { bytes, cb in LndmobileUpdateChannelPolicy(bytes, cb) },
"GetNetworkInfo": { bytes, cb in LndmobileGetNetworkInfo(bytes, cb) },
// onchain