mirror of
https://github.com/btcsuite/btcd.git
synced 2024-11-20 02:09:04 +01:00
btcjson: add RPC_IN_WARMUP error code
This adds an error code for the `RPC_IN_WARMUP` error code defined at https://github.com/bitcoin/bitcoin/blob/master/src/rpc/protocol.h#L49 which is thrown when bitcoind has started but has not yet finished verifying recent blocks and being ready for rpc calls.
This commit is contained in:
parent
96f3808dc9
commit
fd0921b9b4
@ -39,6 +39,7 @@ const (
|
||||
ErrRPCDatabase RPCErrorCode = -20
|
||||
ErrRPCDeserialization RPCErrorCode = -22
|
||||
ErrRPCVerify RPCErrorCode = -25
|
||||
ErrRPCInWarmup RPCErrorCode = -28
|
||||
)
|
||||
|
||||
// Peer-to-peer client errors.
|
||||
|
Loading…
Reference in New Issue
Block a user