2021-03-09 15:14:08 -06:00
|
|
|
lightning-openchannel\_abort -- Command to abort a channel to a peer
|
|
|
|
=====================================================================
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
|
|
|
|
2022-11-10 20:44:56 -05:00
|
|
|
**openchannel\_abort** *channel\_id*
|
2021-03-09 15:14:08 -06:00
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
|
|
|
|
|
|
|
`openchannel_init` is a low level RPC command which initiates a channel
|
|
|
|
open with a specified peer. It uses the openchannel protocol
|
|
|
|
which allows for interactive transaction construction.
|
|
|
|
|
2022-11-10 20:44:56 -05:00
|
|
|
*channel\_id* is id of this channel.
|
2021-03-09 15:14:08 -06:00
|
|
|
|
|
|
|
|
|
|
|
RETURN VALUE
|
|
|
|
------------
|
|
|
|
|
2021-06-16 10:40:17 +09:30
|
|
|
[comment]: # (GENERATE-FROM-SCHEMA-START)
|
|
|
|
On success, an object is returned, containing:
|
2022-09-06 07:03:09 +09:30
|
|
|
|
2022-09-06 07:15:06 +09:30
|
|
|
- **channel\_id** (hex): the channel id of the aborted channel (always 64 characters)
|
|
|
|
- **channel\_canceled** (boolean): whether this is completely canceled (there may be remaining in-flight transactions)
|
2021-06-16 10:40:17 +09:30
|
|
|
- **reason** (string): usually "Abort requested", but if it happened to fail at the same time it could be different
|
2021-09-03 19:37:59 +09:30
|
|
|
|
2021-06-16 10:40:17 +09:30
|
|
|
[comment]: # (GENERATE-FROM-SCHEMA-END)
|
2021-03-09 15:14:08 -06:00
|
|
|
|
|
|
|
On error the returned object will contain `code` and `message` properties,
|
|
|
|
with `code` being one of the following:
|
|
|
|
|
|
|
|
- -32602: If the given parameters are wrong.
|
|
|
|
- -1: Catchall nonspecific error.
|
|
|
|
- 305: Peer is not connected.
|
|
|
|
- 311: Unknown channel id.
|
|
|
|
- 312: Channel in an invalid state
|
|
|
|
|
|
|
|
SEE ALSO
|
|
|
|
--------
|
|
|
|
|
|
|
|
lightning-openchannel\_init(7), lightning-openchannel\_update(7),
|
|
|
|
lightning-openchannel\_signed(7), lightning-openchannel\_bump(7),
|
|
|
|
lightning-fundchannel\_start(7), lightning-fundchannel\_complete(7),
|
|
|
|
lightning-fundchannel(7), lightning-fundpsbt(7), lightning-utxopsbt(7),
|
|
|
|
lightning-multifundchannel(7)
|
|
|
|
|
|
|
|
AUTHOR
|
|
|
|
------
|
|
|
|
|
|
|
|
@niftynei <<niftynei@gmail.com>> is mainly responsible.
|
|
|
|
|
|
|
|
RESOURCES
|
|
|
|
---------
|
|
|
|
|
|
|
|
Main web site: <https://github.com/ElementsProject/lightning>
|
2022-12-09 09:10:12 +02:00
|
|
|
|
2022-12-09 09:09:07 +02:00
|
|
|
[comment]: # ( SHA256STAMP:f80423882383e5cb39b86543eb8cfbc0d9b6731ea85af3b3e1fb8973b9355781)
|