mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
schema: fixup for dual-funding things
This commit is contained in:
6
doc/lightning-openchannel_update.7
generated
6
doc/lightning-openchannel_update.7
generated
@@ -39,7 +39,9 @@ On success, an object is returned, containing:
|
|||||||
.IP \[bu]
|
.IP \[bu]
|
||||||
\fBcommitments_secured\fR (boolean): whether the \fIpsbt\fR is complete (if true, sign \fIpsbt\fR and call \fBopenchannel_signed\fR to complete the channel open)
|
\fBcommitments_secured\fR (boolean): whether the \fIpsbt\fR is complete (if true, sign \fIpsbt\fR and call \fBopenchannel_signed\fR to complete the channel open)
|
||||||
.IP \[bu]
|
.IP \[bu]
|
||||||
\fBfunding_outnum\fR (u32, optional): The index of the funding output in the psbt
|
\fBfunding_outnum\fR (u32): The index of the funding output in the psbt
|
||||||
|
.IP \[bu]
|
||||||
|
\fBclose_to\fR (hex, optional): scriptPubkey which we have to close to if we mutual close
|
||||||
|
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
@@ -87,4 +89,4 @@ lightning-fundchannel_\fBstart\fR(7), lightning-fundchannel_\fBcomplete\fR(7),
|
|||||||
|
|
||||||
Main web site: \fIhttps://github.com/ElementsProject/lightning\fR
|
Main web site: \fIhttps://github.com/ElementsProject/lightning\fR
|
||||||
|
|
||||||
\" SHA256STAMP:9d0366ebbbef8d86e87174133a18113393c7ad4657f3d90456ff28664109894b
|
\" SHA256STAMP:4d28ceeb8b4f2052bccdc93bf2e0b08fa829a2177b1fad34b7c347e8a682845e
|
||||||
|
|||||||
@@ -33,7 +33,8 @@ On success, an object is returned, containing:
|
|||||||
- **channel_id** (hex): the channel id of the channel (always 64 characters)
|
- **channel_id** (hex): the channel id of the channel (always 64 characters)
|
||||||
- **psbt** (string): the PSBT of the funding transaction
|
- **psbt** (string): the PSBT of the funding transaction
|
||||||
- **commitments_secured** (boolean): whether the *psbt* is complete (if true, sign *psbt* and call `openchannel_signed` to complete the channel open)
|
- **commitments_secured** (boolean): whether the *psbt* is complete (if true, sign *psbt* and call `openchannel_signed` to complete the channel open)
|
||||||
- **funding_outnum** (u32, optional): The index of the funding output in the psbt
|
- **funding_outnum** (u32): The index of the funding output in the psbt
|
||||||
|
- **close_to** (hex, optional): scriptPubkey which we have to close to if we mutual close
|
||||||
[comment]: # (GENERATE-FROM-SCHEMA-END)
|
[comment]: # (GENERATE-FROM-SCHEMA-END)
|
||||||
|
|
||||||
If *commitments_secured* is true, will also return:
|
If *commitments_secured* is true, will also return:
|
||||||
@@ -69,4 +70,4 @@ RESOURCES
|
|||||||
---------
|
---------
|
||||||
|
|
||||||
Main web site: <https://github.com/ElementsProject/lightning>
|
Main web site: <https://github.com/ElementsProject/lightning>
|
||||||
[comment]: # ( SHA256STAMP:24ebba507f0bc155be12a34c5bebc8002964985afed0f2b3100e809f545a4ae7)
|
[comment]: # ( SHA256STAMP:58656d914cc827b7dfed7c97d217dbcf66a7abd65e5ab60d30de011c6f8e53ca)
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"required": [ "channel_id", "psbt", "commitments_secured"],
|
"required": [ "channel_id", "psbt", "commitments_secured", "funding_outnum" ],
|
||||||
"properties": {
|
"properties": {
|
||||||
"channel_id": {
|
"channel_id": {
|
||||||
"type": "hex",
|
"type": "hex",
|
||||||
@@ -21,6 +21,10 @@
|
|||||||
"funding_outnum": {
|
"funding_outnum": {
|
||||||
"type": "u32",
|
"type": "u32",
|
||||||
"description": "The index of the funding output in the psbt"
|
"description": "The index of the funding output in the psbt"
|
||||||
|
},
|
||||||
|
"close_to": {
|
||||||
|
"type": "hex",
|
||||||
|
"description": "scriptPubkey which we have to close to if we mutual close"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user