doc/schemas: disableoffer, disconnect, feerates, fetchinvoice, fundchannel, fundchannel_cancel, fundchannel_complete, fundchannel_start, fundpsbt, getinfo, getlog, getroute.
We also add a test for getlog, since it was never called by the
testsuite.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-05-26 09:35:01 +02:00
{
2021-11-04 15:15:51 +01:00
"$schema" : "http://json-schema.org/draft-07/schema#" ,
"type" : "object" ,
"additionalProperties" : false ,
"required" : [
"funding_address" ,
2022-03-20 16:07:48 +01:00
"scriptpubkey" ,
"warning_usage"
2021-11-04 15:15:51 +01:00
] ,
"properties" : {
"funding_address" : {
"type" : "string" ,
2022-03-20 16:07:48 +01:00
"description" : "The address to send funding to for the channel. DO NOT SEND COINS TO THIS ADDRESS YET."
2021-11-04 15:15:51 +01:00
} ,
"scriptpubkey" : {
"type" : "hex" ,
"description" : "The raw scriptPubkey for the address"
} ,
"close_to" : {
"type" : "hex" ,
"description" : "The raw scriptPubkey which mutual close will go to; only present if *close_to* parameter was specified and peer supports `option_upfront_shutdown_script`"
2022-03-20 16:07:48 +01:00
} ,
"warning_usage" : {
"type" : "string" ,
"description" : "A warning not to prematurely broadcast the funding transaction (always present!)"
2022-05-20 11:45:26 +02:00
} ,
"mindepth" : {
"type" : "u32" ,
"description" : "Number of confirmations before we consider the channel active."
doc/schemas: disableoffer, disconnect, feerates, fetchinvoice, fundchannel, fundchannel_cancel, fundchannel_complete, fundchannel_start, fundpsbt, getinfo, getlog, getroute.
We also add a test for getlog, since it was never called by the
testsuite.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-05-26 09:35:01 +02:00
}
2021-11-04 15:15:51 +01:00
}
doc/schemas: disableoffer, disconnect, feerates, fetchinvoice, fundchannel, fundchannel_cancel, fundchannel_complete, fundchannel_start, fundpsbt, getinfo, getlog, getroute.
We also add a test for getlog, since it was never called by the
testsuite.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-05-26 09:35:01 +02:00
}