diff options
author | Jonas Schnelli <jonas.schnelli@include7.ch> | 2014-11-26 13:51:02 +0100 |
---|---|---|
committer | Jonas Schnelli <jonas.schnelli@include7.ch> | 2014-11-26 13:51:02 +0100 |
commit | 78bdc8103ff4c1b2f1f636f9c5564285028f3e19 (patch) | |
tree | 116367901be37b441a25bd80922336cfaf28f5b2 /src/rpcserver.h | |
parent | 210eba9fdb9b4ed28ab0b9dcdbcaf45209a143b4 (diff) |
[REST] give an appropriate response in warmup phase
Diffstat (limited to 'src/rpcserver.h')
-rw-r--r-- | src/rpcserver.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rpcserver.h b/src/rpcserver.h index 7395fc23c6..b0e437057b 100644 --- a/src/rpcserver.h +++ b/src/rpcserver.h @@ -53,6 +53,9 @@ void SetRPCWarmupStatus(const std::string& newStatus); /* Mark warmup as done. RPC calls will be processed from now on. */ void SetRPCWarmupFinished(); +/* returns the current warmup state. */ +bool RPCIsInWarmup(std::string *statusOut); + /** * Type-check arguments; throws JSONRPCError if wrong type given. Does not check that * the right number of arguments are passed, just that any passed are the correct type. |