zebra_state

Function populated_state

source
pub async fn populated_state(
    blocks: impl IntoIterator<Item = Arc<Block>>,
    network: &Network,
) -> (Buffer<BoxService<Request, Response, BoxError>, Request>, ReadStateService, LatestChainTip, ChainTipChange)
Expand description

Initialize a state service with blocks, and return: