cuprate_constants::rpc

Constant RESTRICTED_BLOCK_HEADER_RANGE

Source
pub const RESTRICTED_BLOCK_HEADER_RANGE: u64 = 1000;
Expand description

Maximum requestable block header range. Original definition.

This is the maximum amount of blocks that can be requested per invocation of get_block_headers if the RPC server is in restricted mode.

Used at: