pub fn mine_empty_blocks<S: Debug + ForkSource>(
    node: &mut InMemoryNodeInner<S>,
    num_blocks: u64,
    interval_ms: u64
) -> Result<(), Error>
Expand description

Creates and inserts a given number of empty blocks into the node, with a given interval between them. The blocks will be empty (contain no transactions). Currently this is quite slow - as we invoke the VM for each operation, in the future we might want to optimise it by adding a way to set state via some system contract call.