Provide additional info with txnNotFound errors.

* The `tx` command now supports min_ledger and max_ledger fields.
* If the requested transaction isn't found and these fields are
  provided, the error response indicates whether or not every
  ledger in the the provided range was searched.

This fixes #2924
This commit is contained in:
Devon White
2019-11-01 13:15:18 -04:00
committed by Nik Bougalis
parent 11cf27e006
commit 47501b7f99
13 changed files with 458 additions and 32 deletions

View File

@@ -990,6 +990,7 @@ else ()
src/test/rpc/ServerInfo_test.cpp
src/test/rpc/Status_test.cpp
src/test/rpc/Subscribe_test.cpp
src/test/rpc/Transaction_test.cpp
src/test/rpc/TransactionEntry_test.cpp
src/test/rpc/TransactionHistory_test.cpp
src/test/rpc/ValidatorRPC_test.cpp