Skip to main content

set_bal_index

Function set_bal_index 

Source
fn set_bal_index<DB: Database>(state: &mut &mut State<DB>, index: u64)
Expand description

Sets the BAL index on a &mut State<DB>.

Used as a BalIndexSetter callback so BbBlockExecutor::initialize can renumber a worker’s incoming bal_index = i + 1 into the boundary-padded space i + 1 + 2*k (where k is the worker’s segment index).