Function fee_header_dependencies

Source
async fn fee_header_dependencies<Mode: TransactionMode>(
    catchup: &mut NullStateCatchup,
    tx: &mut Transaction<Mode>,
    instance: &NodeState,
    parent: &Leaf2,
    leaves: impl IntoIterator<Item = &Leaf2>,
) -> Result<HashSet<FeeAccount>>
Expand description

Get the dependencies needed to apply the STF to the given list of headers.

Returns

  • A state catchup implementation seeded with all the chain configs required to apply the headers in leaves
  • The set of accounts that must be preloaded to apply these headers