Module blockchain

Source
Expand description

Blockchain functions - chain height, generated coins, etc.

Functionsยง

chain_height
Retrieve the height of the chain.
cumulative_generated_coins
Check how many cumulative generated coins there have been until a certain BlockHeight.
find_split_point
Find the split point between our chain and a list of BlockHashs from another chain.
top_block_height
Retrieve the height of the top block.