diff options
author | Filip Gospodinov <f@gospodinov.ch> | 2020-02-18 08:29:35 +0100 |
---|---|---|
committer | Filip Gospodinov <f@gospodinov.ch> | 2020-02-18 08:29:35 +0100 |
commit | aff2748f8aee72f03b5fb6f6f97f0d0f66391755 (patch) | |
tree | 257f16f03f1ea0d4450c069468c1a583db927301 /test/functional/p2p_invalid_block.py | |
parent | 36f42e1bf43f2c9f3b4642814051cedf66f05a5e (diff) | |
download | bitcoin-aff2748f8aee72f03b5fb6f6f97f0d0f66391755.tar.xz |
httpserver: use own HTTP status codes
Before, macros defined in `<event2/http.h>` have been used
for some HTTP status codes.
`<event2/http.h>` is included implicitly and the usage
of its status code macros is inconsistent with the majority
HTTP response implementations in this file.
Now, the `HTTPStatusCode` enum from `<rpc/protocol.h>` is
consistently used for all HTTP response implementations.
Diffstat (limited to 'test/functional/p2p_invalid_block.py')
0 files changed, 0 insertions, 0 deletions