Skip to content

Commit

Permalink
add listing options to listpays
Browse files Browse the repository at this point in the history
Changelog-Added: JSON-RPC: `listpays` has `index`, `start` and `limit` parameters for listing control.
  • Loading branch information
daywalker90 committed Nov 9, 2024
1 parent 48f50a2 commit 3f5e4f6
Show file tree
Hide file tree
Showing 11 changed files with 894 additions and 624 deletions.
31 changes: 30 additions & 1 deletion .msggen.json
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,10 @@
"torv3": 4,
"websocket": 5
},
"ListpaysIndex": {
"created": 0,
"updated": 1
},
"ListpaysPaysStatus": {
"complete": 2,
"failed": 1,
Expand Down Expand Up @@ -2232,18 +2236,23 @@
"ListPays.pays[].bolt12": 7,
"ListPays.pays[].completed_at": 12,
"ListPays.pays[].created_at": 4,
"ListPays.pays[].created_index": 15,
"ListPays.pays[].description": 11,
"ListPays.pays[].destination": 3,
"ListPays.pays[].erroronion": 10,
"ListPays.pays[].label": 5,
"ListPays.pays[].number_of_parts": 14,
"ListPays.pays[].payment_hash": 1,
"ListPays.pays[].preimage": 13,
"ListPays.pays[].status": 2
"ListPays.pays[].status": 2,
"ListPays.pays[].updated_index": 16
},
"ListpaysRequest": {
"ListPays.bolt11": 1,
"ListPays.index": 4,
"ListPays.limit": 6,
"ListPays.payment_hash": 2,
"ListPays.start": 5,
"ListPays.status": 3
},
"ListpaysResponse": {
Expand Down Expand Up @@ -8332,6 +8341,14 @@
"added": "pre-v0.10.1",
"deprecated": null
},
"ListPays.index": {
"added": "v24.11",
"deprecated": false
},
"ListPays.limit": {
"added": "v24.11",
"deprecated": false
},
"ListPays.payment_hash": {
"added": "pre-v0.10.1",
"deprecated": null
Expand Down Expand Up @@ -8364,6 +8381,10 @@
"added": "pre-v0.10.1",
"deprecated": null
},
"ListPays.pays[].created_index": {
"added": "v24.11",
"deprecated": false
},
"ListPays.pays[].description": {
"added": "pre-v0.10.1",
"deprecated": null
Expand Down Expand Up @@ -8396,6 +8417,14 @@
"added": "pre-v0.10.1",
"deprecated": null
},
"ListPays.pays[].updated_index": {
"added": "v24.11",
"deprecated": false
},
"ListPays.start": {
"added": "v24.11",
"deprecated": false
},
"ListPays.status": {
"added": "pre-v0.10.1",
"deprecated": null
Expand Down
Loading

0 comments on commit 3f5e4f6

Please sign in to comment.