lightningd: add created_index and updated_index to listhtlcs.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Added: JSON-RPC: `listhtlcs` has `created_index` and `updated_index` fields.
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"created_index",
|
||||
"short_channel_id",
|
||||
"id",
|
||||
"expiry",
|
||||
@@ -48,6 +49,20 @@
|
||||
"The channel that contains/contained the HTLC."
|
||||
]
|
||||
},
|
||||
"created_index": {
|
||||
"added": "v25.05",
|
||||
"type": "u64",
|
||||
"description": [
|
||||
"1-based index indicating order this htlc was created in."
|
||||
]
|
||||
},
|
||||
"updated_index": {
|
||||
"added": "v25.05",
|
||||
"type": "u64",
|
||||
"description": [
|
||||
"1-based index indicating order this htlc was changed (only present if it has changed since creation)."
|
||||
]
|
||||
},
|
||||
"id": {
|
||||
"type": "u64",
|
||||
"description": [
|
||||
|
||||
Reference in New Issue
Block a user