Documentation ¶
Overview ¶
Package block - process and store the incoming block
Index ¶
Constants ¶
View Source
const ( RescanVerified rescanType = true NoRescanVerified rescanType = true )
list of scanning modes
View Source
const BlockValidationCounts = 10
BlockValidationCounts - number of blocks to validate on startup
Variables ¶
This section is empty.
Functions ¶
func DeleteDownToBlock ¶ added in v0.2.0
DeleteDownToBlock - delete from current highest block down to and including the specified block
func Initialise ¶
Initialise - setup the current block data
func LastBlockHash ¶ added in v0.11.0
func LastBlockHash() string
LastBlockHash - return the last block hash in hex string if found
func StoreIncoming ¶ added in v0.2.0
StoreIncoming - store an incoming block checking to make sure it is valid first
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.