lnrpc+rpcserver: add new field LockedIn for HTLCs

In this commit, we add a new field `LockedIn` on HTLCs so it can be used
to decide whether an HTLC found on the local commitment has been
committed on the remote commitment.
This commit is contained in:
yyforyongyu committed 2025-03-21 03:25:23 +08:00
1 parent be4c4cc8ff
commit 0892b595dd
4 files changed
+2748 -2715

No files matched your search

+4
View File
@@ -5302,6 +5302,10 @@
"type": "string",
"format": "uint64",
"description": "Index identifying the htlc on the forwarding channel."
},
"locked_in": {
"type": "boolean",
"description": "Whether the HTLC is locked in. An HTLC is considered locked in when the\nremote party has sent us the `revoke_and_ack` to irrevocably commit this\nHTLC."
}
}
},