Rusty Russell
00ac1a9475
listsendpays: add created_index and updated_index fields.
...
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-Added: JSON-RPC: `sendpay`, `listsendpays`, `delpay` new fields `created_index` (old: `id`) and `updated_index`.
2023-10-28 15:48:26 +10:30
Rusty Russell
40fe893172
doc/schemas: fix old deprecations.
...
`"deprecated": true` is obsolete; we don't document them anyway.
Where it would have otherwise changed the GRPC wrappers, I actually put the
version number in.
We allow "listchannels" to have "satoshis" since we have some tests
that run in deprecated-api mode.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2023-01-30 15:15:41 -06:00
Rusty Russell
fa127a4071
doc/schemas: remove unnecessary length restrictions.
...
If we have a specific type (not just "hex") the length is implied.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2023-01-30 15:15:41 -06:00
Rusty Russell
83c690fe5f
doc: fix listsendpays man page.
...
We actually had a partid allowed (in the oneOf clauses), but didn''t
document it.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2023-01-30 15:15:41 -06:00
Rusty Russell
05095313f5
lightningd: listsendpays always has groupid.
...
Schema was too loose since we did deprecations.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2022-09-22 15:19:46 +02:00
Christian Decker
cb3ee0ac2e
wallet: Load and value completed_at
timestamp from DB
2022-09-14 13:14:10 +02:00
Rusty Russell
e47786da04
pay/sendpay: also store description in case bolt11 uses description_hash.
...
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2022-04-04 20:26:04 +09:30
Christian Decker
4aec3d3b9c
doc: Annotate secrets and hashes in the JSON Schemas
2022-04-02 09:46:01 +10:30
Vincenzo Palazzo
bd3c0ef85c
jsonschema: Formatting json schema and regenerate docs
...
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
2021-11-28 10:55:48 +10:30
Christian Decker
a9eb7b427f
jsonrpc: Add missing partid
in listsendpays
schema
2021-10-13 13:41:18 +10:30
Christian Decker
a1f509e4b5
jsonrpc: Add groupid to sendpay
and sendonion
...
Also add `groupid` to the payment fields so we can retrieve them too.
2021-10-13 13:41:18 +10:30
Rusty Russell
2ddecdc95a
doc: schemas for everything else.
...
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-Fixed: doc: Epic documentation rewrite: each now lists complete and accurate JSON output, tested against testsuite.
2021-06-25 09:49:33 +09:30