aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.cpp
diff options
context:
space:
mode:
authorJohn Newbery <[email protected]>2017-02-24 11:23:38 -0500
committerJohn Newbery <[email protected]>2017-03-08 14:22:55 -0500
commit338bf065a454fee76d9dfa9c7a36161cac72309f (patch)
treeec60155b6fd8c7fc92010e01b7419c8159cc36cf /src/httpserver.cpp
parentReturn correct error codes in fundrawtransaction(). (diff)
downloaddiscoin-338bf065a454fee76d9dfa9c7a36161cac72309f.tar.xz
discoin-338bf065a454fee76d9dfa9c7a36161cac72309f.zip
Add commenting around JSON error codes
RPC_INVALID_REQUEST and RPC_METHOD_NOT_FOUND are mapped internally to HTTP error codes and should not be used for application-layer errors. This commit adds commenting around those definitions to warn not to use them for application errors.
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions