HashChainBlock

\interface HashChainBlock Interface represents block from hash chain

Members

Functions

getHash
Fingerprint getHash()

Returns hash of block \return hash

getPrevious
Fingerprint getPrevious()

Returns fingerprint of previous block in chain \return fingerprint of previous block

isRoot
bool isRoot()

Function that says whether this block has no predecessors \return true if this block is root block

toHiBON
inout(HiBON) toHiBON()

Converts structure to HiBON \return HiBON copy of this structure

Meta