HomePhabricator

RPC: error code changes and prevent crash with walletpassphrase
4315ec1a722aUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

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

Details

Provenance
Philip Kaufmann <phil.kaufmann@t-online.de>Authored on Oct 23 2013, 14:19
deadalnixPushed on May 14 2017, 22:04
Parents
rABC38fd11010795: Merge pull request #3134 from laanwj/2013_10_format_monetary_test
Branches
Unknown
Tags
Unknown

Event Timeline

Philip Kaufmann <phil.kaufmann@t-online.de> committed rABC4315ec1a722a: RPC: error code changes and prevent crash with walletpassphrase (authored by Philip Kaufmann <phil.kaufmann@t-online.de>).Oct 24 2013, 07:03