Fix some account_tx issues: (RIPD-1035)

* Sanely handled specified ledger in account_tx
* Reject un-validated ledger in account_tx
* Wait to publish a ledger until it's indexed
* Add unit test for PendingSaves
This commit is contained in:
JoelKatz
2015-09-28 16:29:11 -07:00
committed by Nik Bougalis
parent caa4ed31de
commit 5ee94f8928
11 changed files with 202 additions and 36 deletions

View File

@@ -62,6 +62,7 @@ enum error_code_i
rpcACT_NOT_FOUND,
rpcINSUF_FUNDS,
rpcLGR_NOT_FOUND,
rpcLGR_NOT_VALIDATED,
rpcMASTER_DISABLED,
rpcNO_ACCOUNT,
rpcNO_PATH,