This commit adds a new RPC command: `channelbalance` which returns the sum of all available channel capacity across all open channels. The total balance is currently returned in units of `satoshis`. Additionally the `networkHarness` has been modified slightly to allow specifying the additional "extra" command line parameters when creating the initial seed nodes. Minor refactoring within the integration tests has been undertaken in order to increase code re-use across tests. Closes #29.
This commit is contained in:
1 parent
4c01e42670
commit
2788dbeaa8
9 files changed
+415
-239
No files matched your search
@@ -56,6 +56,7 @@ func main() {
|
||||
CloseChannelCommand,
|
||||
ListPeersCommand,
|
||||
WalletBalanceCommand,
|
||||
ChannelBalanceCommand,
|
||||
ShellCommand,
|
||||
GetInfoCommand,
|
||||
PendingChannelsCommand,
|
||||
|
||||
Reference in new issue
Block a user