Expand description
Constant values used in mining rpcs methods.
Constants§
- DEFAULT_
SOLUTION_ RATE_ WINDOW_ SIZE - The default window size specifying how many blocks to check when estimating the chain’s solution rate.
- GET_
BLOCK_ TEMPLATE_ CAPABILITIES_ FIELD - A hardcoded list of Zebra’s getblocktemplate RPC capabilities.
- GET_
BLOCK_ TEMPLATE_ MEMPOOL_ LONG_ POLL_ INTERVAL - When long polling, the amount of time we wait between mempool queries. (And sync status queries, which we do right before mempool queries.)
- GET_
BLOCK_ TEMPLATE_ MUTABLE_ FIELD - A hardcoded list of fields that the miner can change from the block template.
- GET_
BLOCK_ TEMPLATE_ NONCE_ RANGE_ FIELD - A range of valid block template nonces, that goes from
u32::MIN
tou32::MAX
as a string. - MAX_
ESTIMATED_ DISTANCE_ TO_ NETWORK_ CHAIN_ TIP - The max estimated distance to the chain tip for the getblocktemplate method.
- NOT_
SYNCED_ ERROR_ CODE - The RPC error code used by
zcashd
for when it’s still downloading initial blocks. - ZCASHD_
FUNDING_ STREAM_ ORDER - The funding stream order in
zcashd
RPC responses.