2019-08-10 02:12:44 +02:00
|
|
|
.TH "LIGHTNING-FUNDCHANNEL_START" "7" "" "" "lightning-fundchannel_start"
|
|
|
|
.SH NAME
|
2019-08-31 14:30:56 +02:00
|
|
|
lightning-fundchannel_start - Command for initiating channel establishment for a lightning channel
|
2019-08-10 02:12:44 +02:00
|
|
|
.SH SYNOPSIS
|
|
|
|
|
2019-06-06 01:32:04 +02:00
|
|
|
\fBfundchannel_start\fR \fIid\fR \fIsatoshi\fR [\fIfeerate\fR \fIannounce\fR]
|
2019-08-10 02:12:44 +02:00
|
|
|
|
|
|
|
.SH DESCRIPTION
|
|
|
|
|
|
|
|
\fBfundchannel_start\fR is a lower level RPC command\. It allows a user to
|
|
|
|
initiate channel establishment with a connected peer\.
|
|
|
|
|
|
|
|
|
|
|
|
\fIid\fR is the node id of the remote peer\.
|
|
|
|
|
|
|
|
|
|
|
|
\fIsatoshi\fR is the satoshi value that the channel will be funded at\. This
|
|
|
|
value MUST be accurate, otherwise the negotiated commitment transactions
|
|
|
|
will not encompass the correct channel value\.
|
|
|
|
|
|
|
|
|
|
|
|
\fIfeerate\fR is an optional field\. Sets the feerate for subsequent
|
|
|
|
commitment transactions\.
|
|
|
|
|
|
|
|
|
2019-08-21 10:55:49 +02:00
|
|
|
\fIannounce\fR whether or not to announce this channel\.
|
|
|
|
|
2019-08-31 14:30:56 +02:00
|
|
|
|
2019-08-21 10:55:49 +02:00
|
|
|
Note that the funding transaction MUST NOT be broadcast until after
|
|
|
|
channel establishment has been successfully completed by running
|
|
|
|
\fBfundchannel_complete\fR, as the commitment transactions for this channel
|
2019-08-31 14:30:56 +02:00
|
|
|
are not secured until the complete command succeeds\. Broadcasting
|
2019-08-21 10:55:49 +02:00
|
|
|
transaction before that can lead to unrecoverable loss of funds\.
|
2019-08-10 02:12:44 +02:00
|
|
|
|
|
|
|
.SH RETURN VALUE
|
|
|
|
|
2019-08-28 05:33:55 +02:00
|
|
|
On success, returns the \fIfunding_address\fR and the \fIscriptpubkey\fR for the channel funding output\.
|
2019-08-10 02:12:44 +02:00
|
|
|
|
|
|
|
|
|
|
|
On failure, returns an error\.
|
|
|
|
|
|
|
|
.SH AUTHOR
|
|
|
|
|
2019-08-31 14:30:56 +02:00
|
|
|
Lisa Neigut \fI<niftynei@gmail.com\fR> is mainly responsible\.
|
2019-08-10 02:12:44 +02:00
|
|
|
|
|
|
|
.SH SEE ALSO
|
|
|
|
|
|
|
|
\fBlightning-connect\fR(7), \fBlightning-fundchannel\fR(7),
|
|
|
|
lightning-fundchannel_\fBcomplete\fR(7), lightning-fundchannel_\fBcancel\fR(7)
|
|
|
|
|
|
|
|
.SH RESOURCES
|
|
|
|
|
2019-08-31 14:30:56 +02:00
|
|
|
Main web site: \fIhttps://github.com/ElementsProject/lightning\fR
|
2019-08-10 02:12:44 +02:00
|
|
|
|
|
|
|
.HL
|
|
|
|
|
|
|
|
Last updated 2019-06-12 11:16:20 CEST
|
2019-08-31 14:30:56 +02:00
|
|
|
|