Module zebra_rpc::methods::get_block_template_rpcs::constants
source · Expand description
Constant values used in mining rpcs methods.
Constants§
- The default window size specifying how many blocks to check when estimating the chain’s solution rate.
- A hardcoded list of Zebra’s getblocktemplate RPC capabilities.
- When long polling, the amount of time we wait between mempool queries. (And sync status queries, which we do right before mempool queries.)
- A hardcoded list of fields that the miner can change from the block template.
- A range of valid block template nonces, that goes from
u32::MIN
tou32::MAX
as a string. - The max estimated distance to the chain tip for the getblocktemplate method.
- The RPC error code used by
zcashd
for when it’s still downloading initial blocks. - The funding stream order in
zcashd
RPC responses.