Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
LIGHTNING-FUNDCHANNEL_COlightning-fundchannelLIGHTNING-FUNDCHANNEL_COMPLETE(7)

NAME
       lightning-fundchannel_complete  - Command for completing	channel	estab-
       lishment

SYNOPSIS
       fundchannel_complete id txid txout

DESCRIPTION
       fundchannel_complete is a lower level RPC command. It allows a user  to
       complete	an initiated channel establishment with	a connected peer.

       id is the node id of the	remote peer.

       txid is the hex string of the funding transaction id.

       txout is	the integer outpoint of	the funding output for this channel.

       Note  that  the	funding	 transaction MUST NOT be broadcast until after
       channel establishment has been successfully completed, as  the  commit-
       ment  transactions  for this channel are	not secured until this command
       successfully completes. Broadcasting transaction	before can lead	to un-
       recoverable loss	of funds.

RETURN VALUE
       On success, returns a confirmation that commitments_secured and the de-
       rived channel_id.

       On error	the returned object will contain code and message  properties,
       with code being one of the following:

	      o	     -32602: If	the given parameters are wrong.

	      o	     -1: Catchall nonspecific error.

	      o	     305: Peer is not connected.

	      o	     306: Unknown peer id.

AUTHOR
       Lisa Neigut _niftynei@gmail.com>	is mainly responsible.

SEE ALSO
       lightning-connect(7),   lightning-fundchannel(7),   lightning-fundchan-
       nel_start(7), lightning-fundchannel_cancel(7)

RESOURCES
       Main web	site: https://github.com/ElementsProject/lightning

					     LIGHTNING-FUNDCHANNEL_COMPLETE(7)

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | AUTHOR | SEE ALSO | RESOURCES

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=lightning-fundchannel_complete&sektion=7&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help