diff options
| author | Philip Kaufmann <[email protected]> | 2013-10-23 16:19:49 +0200 |
|---|---|---|
| committer | Philip Kaufmann <[email protected]> | 2013-10-24 09:03:02 +0200 |
| commit | 4315ec1a722a290ba2bb2b86080a787f6174e2a2 (patch) | |
| tree | 40c2f81550f66be5cbc74da2451c68390cf5ca9e /src/protocol.cpp | |
| parent | Merge pull request #3134 from laanwj/2013_10_format_monetary_test (diff) | |
| download | discoin-4315ec1a722a290ba2bb2b86080a787f6174e2a2.tar.xz discoin-4315ec1a722a290ba2bb2b86080a787f6174e2a2.zip | |
RPC: error code changes and prevent crash with walletpassphrase
- fix crash with walletpassphrase by checking if RPC server is running and
give a friendly error message how to fix this (fixes #3100)
- add 3 new RPCErrorCodes RPC_SERVER_NOT_STARTED, RPC_NODE_ALREADY_ADDED
and RCP_NODE_NOT_ADDED (I checked the source to not use a number already
in use for RPC_SERVER_NOT_STARTED)
- use the new codes where needed / missing
- add missing use of RPC_INVALID_PARAMETER
Diffstat (limited to 'src/protocol.cpp')
0 files changed, 0 insertions, 0 deletions