Add RPC to show current total available channel capacity #29 (#35)

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:
andrew.shvv authored and Olaoluwa Osuntokun committed 2016-09-15 12:00:56 -07:00
1 parent 4c01e42670
commit 2788dbeaa8
9 files changed
+415 -239

No files matched your search

+1
View File
@@ -46,3 +46,4 @@ test_wal/*
*.bin
vendor
*.idea