]> git.bitcoin.ninja Git - ldk-sample/commit
Add `disconnectpeer` subcommand
authorChiru <48340051+ch1ru@users.noreply.github.com>
Tue, 1 Nov 2022 17:29:33 +0000 (17:29 +0000)
committerChiru <48340051+ch1ru@users.noreply.github.com>
Tue, 1 Nov 2022 20:58:17 +0000 (20:58 +0000)
commitd868dd44678e49dcc5f1ac6b3b9f34bed70d81ac
treebc26fe528437705b9a2849201f83d1df1fc2c9e5
parenta35921614ff5fbc2d91580700039fe759543f356
Add `disconnectpeer` subcommand

Disconnect peer with `disconnectpeer <pubkey>`.
Checks all channels are closed before disconnecting.
src/cli.rs