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

FreeBSD Manual Pages

  
 
  

home | help
LIGHTNING-FUNDCHANNEL_CANlightning-fundchannel_LIGHTNING-FUNDCHANNEL_CANCEL(7)

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

SYNOPSIS
       fundchannel_cancel id

DESCRIPTION
       fundchannel_cancel is a lower level  RPC	 command.  It  allows  channel
       opener  to  cancel  a channel before funding broadcast with a connected
       peer.

       id is the node id of the	remote peer with which to cancel.

       Note that the funding transaction MUST NOT be  broadcast	 before	 fund-
       channel_cancel. Broadcasting transaction	before fundchannel_cancel WILL
       lead to unrecoverable loss of funds.

       If fundchannel_cancel is	called after fundchannel_complete, the	remote
       peer  may  disconnect when command succeeds. In this case, user need to
       connect to remote peer again before opening channel.

RETURN VALUE
       On success, returns confirmation	that  the  channel  establishment  has
       been canceled.

       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	     306: Unknown peer id.

	      o	     307: No channel currently being funded that can  be  can-
		     celled.

	      o	     308:  It  is  unsafe  to  cancel the channel: the funding
		     transaction has been broadcast, or	there  are  HTLCs  al-
		     ready  in	the channel, or	the peer was the initiator and
		     not us.

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

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

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

					       LIGHTNING-FUNDCHANNEL_CANCEL(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_cancel&sektion=7&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help