Module chain_cmd

Module chain_cmd 

Source

Modulesยง

list ๐Ÿ”’
prune ๐Ÿ”’

Structsยง

TipsetInfo ๐Ÿ”’

Enumsยง

ChainCommands
Format

Constantsยง

SET_HEAD_CONFIRMATION_MESSAGE ๐Ÿ”’

Functionsยง

collect_n_tipsets ๐Ÿ”’
Collects n tipsets from the head (inclusive) and returns them as a list of TipsetInfo objects.
maybe_confirm ๐Ÿ”’
print_chain_head ๐Ÿ”’
Print the first n tipsets from the head (inclusive).
tipset_by_epoch_or_offset ๐Ÿ”’
If epoch_or_offset is negative, get the tipset that many blocks before the current head. Else treat epoch_or_offset as an epoch, and get that tipset.