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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user