Skip to main content

is_missing_state_error

Function is_missing_state_error 

Source
pub fn is_missing_state_error(err: &TransportError) -> bool
Expand description

Returns true if err looks like a missing-historical-state rejection: an archive-depth error, usually with a generic code (-32000) distinguishable only by message, hit whenever a debug_trace* request targets a block whose state a full node has pruned.