Skip to content

Latest commit

 

History

History
69 lines (35 loc) · 1.53 KB

peculium_core_block_locator.md

File metadata and controls

69 lines (35 loc) · 1.53 KB

Module peculium_core_block_locator

Authors: Alexander Færøy (ahf@0x90.dk).

Description


Data Types

Function Index

from_best_block/0Create block locator from the best block.
from_height/1Create block locator object from a given height.

Function Details

from_best_block/0


from_best_block() -> block_locator()



Create block locator from the best block.

from_height/1


from_height(Height::non_neg_integer()) -> {ok, block_locator()} | {error, any()}



Create block locator object from a given height.