pub fn insert_block(
tx: &Transaction<'_>,
block: &Block,
) -> Result<ContentAddress>Expand description
For the given block:
- Insert an entry into the
blocktable. - Insert each of its solution sets into the
solution_setandblock_solution_settables.
Returns the ContentAddress of the inserted block.