Function executor::db_bootstrapper::calculate_genesis
source · pub fn calculate_genesis<V: VMExecutor>(
db: &DbReaderWriter,
tree_state: TreeState,
genesis_txn: &Transaction,
genesis_pivot_decision: Option<PivotBlockDecision>,
initial_seed: Vec<u8>,
initial_nodes: Vec<(NodeID, u64)>,
initial_committee: Vec<(AccountAddress, u64)>
) -> Result<GenesisCommitter<V>>