2022-04-01 06:13:35 +02:00
|
|
|
{
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
|
|
"type": "object",
|
|
|
|
"required": [
|
|
|
|
"id",
|
lightningd: change `msatoshi` args to `amount_msat`.
This is consistent with our output changes, and increases consistency.
It also keeps future sanity checks happy, that we only use JSON msat
helpers with '_msat' fields.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-Changed: JSON-RPC: `invoice`, `sendonion`, `sendpay`, `pay`, `keysend`, `fetchinvoice`, `sendinvoice`: `msatoshi` argument is now called `amount_msat` to match other fields.
Changelog-Deprecated: JSON-RPC: `invoice`, `sendonion`, `sendpay`, `pay`, `keysend`, `fetchinvoice`, `sendinvoice` `msatoshi` (use `amount_msat`)
2022-06-19 09:20:11 +02:00
|
|
|
"amount_msat",
|
2022-04-01 06:13:35 +02:00
|
|
|
"riskfactor"
|
|
|
|
],
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "pubkey",
|
|
|
|
"description": ""
|
|
|
|
},
|
lightningd: change `msatoshi` args to `amount_msat`.
This is consistent with our output changes, and increases consistency.
It also keeps future sanity checks happy, that we only use JSON msat
helpers with '_msat' fields.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-Changed: JSON-RPC: `invoice`, `sendonion`, `sendpay`, `pay`, `keysend`, `fetchinvoice`, `sendinvoice`: `msatoshi` argument is now called `amount_msat` to match other fields.
Changelog-Deprecated: JSON-RPC: `invoice`, `sendonion`, `sendpay`, `pay`, `keysend`, `fetchinvoice`, `sendinvoice` `msatoshi` (use `amount_msat`)
2022-06-19 09:20:11 +02:00
|
|
|
"amount_msat": {
|
2022-04-01 06:13:35 +02:00
|
|
|
"type": "msat",
|
|
|
|
"description": ""
|
|
|
|
},
|
|
|
|
"riskfactor": {
|
|
|
|
"type": "u64",
|
|
|
|
"description": ""
|
|
|
|
},
|
|
|
|
"cltv": {
|
|
|
|
"type": "number",
|
|
|
|
"description": ""
|
|
|
|
},
|
|
|
|
"fromid": {
|
|
|
|
"type": "pubkey",
|
|
|
|
"description": ""
|
|
|
|
},
|
|
|
|
"fuzzpercent": {
|
|
|
|
"type": "u32",
|
|
|
|
"description": ""
|
|
|
|
},
|
|
|
|
"exclude": {
|
|
|
|
"type": "array",
|
|
|
|
"description": "",
|
|
|
|
"items": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"maxhops": {
|
|
|
|
"type": "u32",
|
|
|
|
"description": ""
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|