Report frozen lines in gateway_balances(RIPD-1217):

* Report lines frozen by the gateway separately
* Add unit test for gateway_balances
* Clean up some existing code
This commit is contained in:
JoelKatz
2016-07-20 03:34:08 -07:00
committed by Nik Bougalis
parent 33f153fc9a
commit 11b64e049c
6 changed files with 202 additions and 31 deletions

View File

@@ -172,6 +172,7 @@ JSS ( flags ); // out: paths/Node, AccountOffers,
JSS ( forward ); // in: AccountTx
JSS ( freeze ); // out: AccountLines
JSS ( freeze_peer ); // out: AccountLines
JSS ( frozen_balances ); // out: GatewayBalances
JSS ( full ); // in: LedgerClearer, handlers/Ledger
JSS ( full_reply ); // out: PathFind
JSS ( fullbelow_size ); // in: GetCounts
@@ -184,6 +185,7 @@ JSS ( have_header ); // out: InboundLedger
JSS ( have_state ); // out: InboundLedger
JSS ( have_transactions ); // out: InboundLedger
JSS ( hostid ); // out: NetworkOPs
JSS ( hotwallet ); // in: GatewayBalances
JSS ( id ); // websocket.
JSS ( ident ); // in: AccountCurrencies, AccountInfo,
// OwnerInfo