Module db_bootstrapper

Source

Structs§

GenesisCommitter

Functions§

calculate_genesis
generate_waypoint
maybe_bootstrap
If current version + 1 != waypoint.version(), return Ok(false) indicating skipping the txn. otherwise apply the txn and commit it if the result matches the waypoint. Returns Ok(true) if committed otherwise Err.