diff options
| author | Jonas Schnelli <[email protected]> | 2014-11-26 13:51:02 +0100 |
|---|---|---|
| committer | Jonas Schnelli <[email protected]> | 2014-11-26 13:51:02 +0100 |
| commit | 78bdc8103ff4c1b2f1f636f9c5564285028f3e19 (patch) | |
| tree | 116367901be37b441a25bd80922336cfaf28f5b2 /src/rpcprotocol.h | |
| parent | [REST] fix headersonly flag for BINARY responses (diff) | |
| download | discoin-78bdc8103ff4c1b2f1f636f9c5564285028f3e19.tar.xz discoin-78bdc8103ff4c1b2f1f636f9c5564285028f3e19.zip | |
[REST] give an appropriate response in warmup phase
Diffstat (limited to 'src/rpcprotocol.h')
| -rw-r--r-- | src/rpcprotocol.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpcprotocol.h b/src/rpcprotocol.h index a32133817..f7cd50f9f 100644 --- a/src/rpcprotocol.h +++ b/src/rpcprotocol.h @@ -28,6 +28,7 @@ enum HTTPStatusCode HTTP_FORBIDDEN = 403, HTTP_NOT_FOUND = 404, HTTP_INTERNAL_SERVER_ERROR = 500, + HTTP_SERVICE_UNAVAILABLE = 503, }; //! Bitcoin RPC error codes |