aboutsummaryrefslogtreecommitdiff
path: root/src/rpcprotocol.h
diff options
context:
space:
mode:
authorJonas Schnelli <jonas.schnelli@include7.ch>2014-11-26 13:51:02 +0100
committerJonas Schnelli <jonas.schnelli@include7.ch>2014-11-26 13:51:02 +0100
commit78bdc8103ff4c1b2f1f636f9c5564285028f3e19 (patch)
tree116367901be37b441a25bd80922336cfaf28f5b2 /src/rpcprotocol.h
parent210eba9fdb9b4ed28ab0b9dcdbcaf45209a143b4 (diff)
[REST] give an appropriate response in warmup phase
Diffstat (limited to 'src/rpcprotocol.h')
-rw-r--r--src/rpcprotocol.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpcprotocol.h b/src/rpcprotocol.h
index a321338176..f7cd50f9f6 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