![]() |
![]()
| ![]() |
![]()
NAMElightning-fundchannel_cancel -- Command for completing channel establishment SYNOPSISfundchannel_cancel id DESCRIPTIONfundchannel_cancel is a lower level RPC command. It allows channel opener to cancel a channel before funding broadcast with a connected peer. Note that the funding transaction MUST NOT be broadcast before fundchannel_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 VALUEOn success, an object is returned, containing:
ERRORSOn error the returned object will contain code and message properties, with code being one of the following:
AUTHORLisa Neigut <niftynei@gmail.com> is mainly responsible. SEE ALSOlightning-connect(7), lightning-fundchannel(7), lightning-multifundchannel(7), lightning-fundchannel_start(7), lightning-fundchannel_complete(7), lightning-openchannel_init(7), lightning-openchannel_update(7), lightning-openchannel_signed(7), lightning-openchannel_abort(7) RESOURCESMain web site: https://github.com/ElementsProject/lightning EXAMPLESExample 1: Request: $ lightning-cli fundchannel_cancel "nodeid101010101010101010101010101010101010101010101010101010101010" { Response: { Example 2: Request: $ lightning-cli fundchannel_cancel -k "id"="nodeid101010101010101010101010101010101010101010101010101010101010" { Response: {
|