cmd/lncli: add closeallchannels command

In this commit, we add a new closeallchannels command to lncli. This
command allows us to close all existing active and inactive channels
by closing them cooperatively or unilaterally, respectively.
This commit is contained in:
Wilmer Paulino committed 2018-03-09 12:05:43 -05:00
1 parent 51a3cab39c
commit 5705da92f6
2 files changed
+268 -36

No files matched your search

+1
View File
@@ -170,6 +170,7 @@ func main() {
disconnectCommand,
openChannelCommand,
closeChannelCommand,
closeAllChannelsCommand,
listPeersCommand,
walletBalanceCommand,
channelBalanceCommand,