rpcserver+lnrpc+lncli: add AbandonChannel rpc call

Using AbandonChannel, a channel can be abandoned. This means
removing all state without any on-chain or off-chain action.
A close summary is the only thing that is stored in the db after
abandoning.

A specific close type Abandoned is added. Abandoned channels
can be retrieved via the ClosedChannels RPC.
This commit is contained in:
Joost Jager committed 2018-09-18 12:20:27 -07:00
1 parent 3b6f7fdb83
commit ab67b9a4de
10 files changed
+816 -448

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
// +build debug
package main
// DebugBuild signals that this is a debug build.
const DebugBuild = true