Function Channel.onBlockExternalized

Called when a new block has been externalized.

void onBlockExternalized (
  in ref const(Block) block
) @trusted;

Checks if the block contains funding / trigger / update / settlement transactions which belong to this channel, and calls one of the handler routines based on the detected transaction type.

Parameters

NameDescription
block an externalized block