Function Ledger.addValidatedBlock

Add a validated block to the Ledger.

void addValidatedBlock (
  in ref const(Block) block
) @safe;

This will add all of the block's outputs to the UTXO set, as well as any enrollments that may be present in the block to the validator set.

This internal method can be overriden in derived class to catch Block externalization event.

Parameters

NameDescription
block the block to add