Documentation ¶
Overview ¶
current block data
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteDownToBlock ¶ added in v0.2.0
delete from current highest block down to and including the specified block
func DigestForBlock ¶ added in v0.2.0
func DigestForBlock(number uint64) (blockdigest.Digest, error)
func Get ¶
func Get() (blockdigest.Digest, uint64)
get block data for initialising a new block returns: previous block digest and the number for the new block
func StoreIncoming ¶ added in v0.2.0
store an incoming block checking to make sure it is valid first
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.