dogecoin/src/wallet
John Newbery 18c109ddb1 Return correct error codes in removeprunedfunds().
The removeprunedfunds() RPC was returning misleading or incorrect error
codes (for example RPC_INTERNAL_ERROR when the transaction was
not found in the wallet). This commit fixes those error codes:

- RPC_INTERNAL_ERROR should not be returned for application-level
errors, only for genuine internal errors such as corrupted data.

This error code has been replaced with RPC_WALLET_ERROR.

This commit also updates the test cases to explicitly test the error code.

Github-Pull: #9853
Rebased-From: 960bc7f778
2017-06-05 19:01:16 +00:00
..
test Fix importwallet edge case rescan bug 2017-05-23 17:09:42 +02:00
coincontrol.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
crypter.cpp Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
crypter.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
db.cpp Merge #9227: Make nWalletDBUpdated atomic to avoid a potential race. 2017-02-06 16:14:17 +01:00
db.h Merge #9227: Make nWalletDBUpdated atomic to avoid a potential race. 2017-02-06 16:14:17 +01:00
rpcdump.cpp Return correct error codes in removeprunedfunds(). 2017-06-05 19:01:16 +00:00
rpcwallet.cpp Return correct error codes in bumpfee(). 2017-06-05 19:01:16 +00:00
rpcwallet.h
wallet.cpp [Wallet] unset change position when there is no change on exact match 2017-05-31 10:57:16 +02:00
wallet.h Return errors from importmulti if complete rescans are not successful 2017-02-22 12:45:43 +01:00
walletdb.cpp Add missing cs_wallet lock that triggers new lock held assertion 2017-02-15 17:01:30 -05:00
walletdb.h Use importmulti timestamp when importing watch only keys 2017-02-10 16:11:19 -05:00