htlcswitch: add final htlc event to notifier

This commit is contained in:
Joost Jager committed 2022-10-27 16:42:36 +02:00
1 parent 28256b7ea8
commit 511fb00777
21 files changed
+729 -404

No files matched your search

+14
View File
@@ -1168,6 +1168,17 @@
],
"default": "UNKNOWN"
},
"routerrpcFinalHtlcEvent": {
"type": "object",
"properties": {
"settled": {
"type": "boolean"
},
"offchain": {
"type": "boolean"
}
}
},
"routerrpcForwardEvent": {
"type": "object",
"properties": {
@@ -1320,6 +1331,9 @@
},
"subscribed_event": {
"$ref": "#/definitions/routerrpcSubscribedEvent"
},
"final_htlc_event": {
"$ref": "#/definitions/routerrpcFinalHtlcEvent"
}
},
"title": "HtlcEvent contains the htlc event that was processed. These are served on a\nbest-effort basis; events are not persisted, delivery is not guaranteed\n(in the event of a crash in the switch, forward events may be lost) and\nsome events may be replayed upon restart. Events consumed from this package\nshould be de-duplicated by the htlc's unique combination of incoming and\noutgoing channel id and htlc id. [EXPERIMENTAL]"