core-lightning/doc/schemas
Rusty Russell c3efba16ff JSON: don't print deprecated amount fields any more
A small change in one routine creates a lot of changes!  We actually
recommended moving away from these in v0.7.0 (2019-02-28), but never
deprecated them formally.

Changelog-Deprecated: JSON-RPC: `pay`, `decode`, `decodepay`, `getroute`, `listinvoices`, `listpays` and `listsendpays` `msatoshi` fields (use `amount_msat`).
Changelog-Deprecated: JSON-RPC: `getinfo` `msatoshi_fees_collected` field (use `fees_collected_msat`).
Changelog-Deprecated: JSON-RPC: `listpeers` `channels`: `msatoshi_to_us`, `msatoshi_to_us_min`, `msatoshi_to_us_max`, `msatoshi_total`, `dust_limit_satoshis`, `our_channel_reserve_satoshis`, `their_channel_reserve_satoshis`, `spendable_msatoshi`, `receivable_msatoshi`, `in_msatoshi_offered`, `in_msatoshi_fulfilled`, `out_msatoshi_offered`, `out_msatoshi_fulfilled`, `max_htlc_value_in_flight_msat` and `htlc_minimum_msat` (use `to_us_msat`, `min_to_us_msat`, `max_to_us_msat`, `total_msat`, `dust_limit_msat`, `our_reserve_msat`, `their_reserve_msat`, `spendable_msat`, `receivable_msat`, `in_offered_msat`, `in_fulfilled_msat`, `out_offered_msat`, `out_fulfilled_msat`, `max_total_htlc_in_msat` and `minimum_htlc_in_msat`).
Changelog-Deprecated: JSON-RPC: `listinvoices` and `pay` `msatoshi_received` and `msatoshi_sent` (use `amount_received_msat`, `amount_sent_msat`)
Changelog-Deprecated: JSON-RPC: `listpays` and `listsendpays` `msatoshi_sent` (use `amount_sent_msat`)
Changelog-Deprecated: JSON-RPC: `listforwards` `in_msatoshi`, `out_msatoshi` and `fee` (use `in_msat`, `out_msat` and `fee_msat`)
Changelog-Deprecated: JSON-RPC: `listfunds` `outputs` `value` (use `amount_msat`)

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2022-06-21 06:52:35 +09:30
..
addgossip.request.json json-rpc: Add request stubs for a couple of calls 2022-02-11 16:02:25 +01:00
addgossip.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
autocleaninvoice.request.json json-rpc: Add request stubs for a couple of calls 2022-02-11 16:02:25 +01:00
autocleaninvoice.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
check.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
checkmessage.request.json json-rpc: Add request stubs for a couple of calls 2022-02-11 16:02:25 +01:00
checkmessage.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
close.request.json doc/schemas: fixes for request schemas. 2022-04-02 09:46:01 +10:30
close.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
connect.request.json doc/schemas: fixes for request schemas. 2022-04-02 09:46:01 +10:30
connect.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
createinvoice.request.json cln-rpc: Add invoice RPC methods 2022-04-02 09:46:01 +10:30
createinvoice.schema.json doc: Annotate secrets and hashes in the JSON Schemas 2022-04-02 09:46:01 +10:30
createonion.request.json doc: Annotate secrets and hashes in the JSON Schemas 2022-04-02 09:46:01 +10:30
createonion.schema.json doc: Annotate secrets and hashes in the JSON Schemas 2022-04-02 09:46:01 +10:30
datastore.request.json doc/schemas: fixes for request schemas. 2022-04-02 09:46:01 +10:30
datastore.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
decode.schema.json bolt11: support payment_metadata. 2022-04-02 09:40:18 +10:30
decodepay.schema.json pyln-client: convert every _msat field to Millisatoshi 2022-06-21 06:52:35 +09:30
deldatastore.request.json doc/schemas: fixes for request schemas. 2022-04-02 09:46:01 +10:30
deldatastore.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
delexpiredinvoice.request.json doc/schemas: fixes for request schemas. 2022-04-02 09:46:01 +10:30
delexpiredinvoice.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
delinvoice.request.json doc/schemas: fixes for request schemas. 2022-04-02 09:46:01 +10:30
delinvoice.schema.json doc: Annotate secrets and hashes in the JSON Schemas 2022-04-02 09:46:01 +10:30
delpay.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
disableoffer.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
disconnect.request.json cln-rpc: Yet more RPC methods being mapped 2022-04-02 09:46:01 +10:30
disconnect.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
feerates.request.json cln-rpc: Yet more RPC methods being mapped 2022-04-02 09:46:01 +10:30
feerates.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
fetchinvoice.schema.json fetchinvoice: amount_msat not msat. 2022-06-21 06:52:35 +09:30
fundchannel_cancel.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
fundchannel_complete.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
fundchannel_start.schema.json Add more warnings to fundchannel_start 2022-03-24 14:11:40 +10:30
fundchannel.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
funderupdate.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
fundpsbt.request.json doc/schemas: fixes for request schemas. 2022-04-02 09:46:01 +10:30
fundpsbt.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
getinfo.request.json json-rpc: Add request stubs for a couple of calls 2022-02-11 16:02:25 +01:00
getinfo.schema.json doc: fix getinfo non-ASCII chars for older mrkd. 2022-04-25 21:03:22 +09:30
getlog.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
getroute.request.json lightningd: change msatoshi args to amount_msat. 2022-06-21 06:52:35 +09:30
getroute.schema.json lightningd: allow 'style' 'legacy' for clboss compat (with deprecated_apis). 2022-03-24 13:19:10 +10:30
getsharedsecret.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
help.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
invoice.request.json lightningd: change msatoshi args to amount_msat. 2022-06-21 06:52:35 +09:30
invoice.schema.json doc: Annotate secrets and hashes in the JSON Schemas 2022-04-02 09:46:01 +10:30
keysend.request.json lightningd: change msatoshi args to amount_msat. 2022-06-21 06:52:35 +09:30
keysend.schema.json doc: Annotate secrets and hashes in the JSON Schemas 2022-04-02 09:46:01 +10:30
listchannels.request.json json-rpc: Add request stubs for a couple of calls 2022-02-11 16:02:25 +01:00
listchannels.schema.json doc/schemas: disallow unknown fields in listchannels. 2022-02-08 12:06:16 +01:00
listconfigs.schema.json doc: htlc_minimum_msat htlc_maximum_msat announce_discovered_ip 2022-04-05 05:45:04 +09:30
listdatastore.request.json doc/schemas: fixes for request schemas. 2022-04-02 09:46:01 +10:30
listdatastore.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
listforwards.request.json cln-rpc: Yet more RPC methods being mapped 2022-04-02 09:46:01 +10:30
listforwards.schema.json lightningd: add "style" to listforwards. 2022-03-31 19:38:05 +10:30
listfunds.request.json json-rpc: Add request stubs for a couple of calls 2022-02-11 16:02:25 +01:00
listfunds.schema.json JSON: don't print deprecated amount fields any more 2022-06-21 06:52:35 +09:30
listinvoices.request.json doc/schemas: fixes for request schemas. 2022-04-02 09:46:01 +10:30
listinvoices.schema.json doc: Annotate secrets and hashes in the JSON Schemas 2022-04-02 09:46:01 +10:30
listnodes.request.json doc: set additionalProperties to false in all request schemas. 2022-04-02 09:46:01 +10:30
listnodes.schema.json bolt7: allow announcement of ADDR_TYPE_DNS 2021-11-30 09:38:17 +10:30
listoffers.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
listpays.request.json cln-rpc: Yet more RPC methods being mapped 2022-04-02 09:46:01 +10:30
listpays.schema.json pay/sendpay: also store description in case bolt11 uses description_hash. 2022-04-04 20:26:04 +09:30
listpeers.request.json json-rpc: Add request stubs for a couple of calls 2022-02-11 16:02:25 +01:00
listpeers.schema.json jsonrpc: adds optional remote_addr to listpeers 2022-06-17 20:30:16 +09:30
listsendpays.request.json doc: Annotate secrets and hashes in the JSON Schemas 2022-04-02 09:46:01 +10:30
listsendpays.schema.json pay/sendpay: also store description in case bolt11 uses description_hash. 2022-04-04 20:26:04 +09:30
listtransactions.request.json grpc: Map sendonion and createonion 2022-04-02 09:46:01 +10:30
listtransactions.schema.json json: fix up msat amounts in non-_msat fields. 2022-06-21 06:52:35 +09:30
multifundchannel.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
multiwithdraw.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
newaddr.request.json doc/schemas: fixes for request schemas. 2022-04-02 09:46:01 +10:30
newaddr.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
notifications.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
offer.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
offerout.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
openchannel_abort.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
openchannel_bump.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
openchannel_init.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
openchannel_signed.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
openchannel_update.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
parsefeerate.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
pay.request.json lightningd: change msatoshi args to amount_msat. 2022-06-21 06:52:35 +09:30
pay.schema.json doc: Annotate secrets and hashes in the JSON Schemas 2022-04-02 09:46:01 +10:30
ping.request.json cln-rpc: Yet more RPC methods being mapped 2022-04-02 09:46:01 +10:30
ping.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
plugin.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
reserveinputs.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
sendcustommsg.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
sendinvoice.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
sendonion.request.json lightningd: change msatoshi args to amount_msat. 2022-06-21 06:52:35 +09:30
sendonion.schema.json doc: Annotate secrets and hashes in the JSON Schemas 2022-04-02 09:46:01 +10:30
sendonionmessage.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
sendpay.request.json lightningd: change msatoshi args to amount_msat. 2022-06-21 06:52:35 +09:30
sendpay.schema.json doc: Annotate secrets and hashes in the JSON Schemas 2022-04-02 09:46:01 +10:30
sendpsbt.request.json doc/schemas: fixes for request schemas. 2022-04-02 09:46:01 +10:30
sendpsbt.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
setchannel.schema.json setchannel: don't let them advertize htlc_maximum_msat larger than capacity. 2022-03-22 18:45:41 +10:30
setchannelfee.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
signmessage.request.json cln-rpc: Yet more RPC methods being mapped 2022-04-02 09:46:01 +10:30
signmessage.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
signpsbt.request.json doc/schemas: fixes for request schemas. 2022-04-02 09:46:01 +10:30
signpsbt.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
stop.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
txdiscard.request.json doc: Annotate secrets and hashes in the JSON Schemas 2022-04-02 09:46:01 +10:30
txdiscard.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
txprepare.request.json doc/schemas: fixes for request schemas. 2022-04-02 09:46:01 +10:30
txprepare.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
txsend.request.json doc: Annotate secrets and hashes in the JSON Schemas 2022-04-02 09:46:01 +10:30
txsend.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
unreserveinputs.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
utxopsbt.request.json doc/schemas: fixes for request schemas. 2022-04-02 09:46:01 +10:30
utxopsbt.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
waitanyinvoice.request.json doc/schemas: fixes for request schemas. 2022-04-02 09:46:01 +10:30
waitanyinvoice.schema.json doc: Annotate secrets and hashes in the JSON Schemas 2022-04-02 09:46:01 +10:30
waitblockheight.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
waitinvoice.request.json doc: set additionalProperties to false in all request schemas. 2022-04-02 09:46:01 +10:30
waitinvoice.schema.json doc: Annotate secrets and hashes in the JSON Schemas 2022-04-02 09:46:01 +10:30
waitsendpay.request.json doc: Annotate secrets and hashes in the JSON Schemas 2022-04-02 09:46:01 +10:30
waitsendpay.schema.json doc: Annotate secrets and hashes in the JSON Schemas 2022-04-02 09:46:01 +10:30
withdraw.request.json doc/schemas: fixes for request schemas. 2022-04-02 09:46:01 +10:30
withdraw.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
WRITING_SCHEMAS.md doc: Fixed grammars and add jq as dev dependences. 2021-11-28 10:55:48 +10:30