Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BlockLock = sync.Mutex{}
BlockLock is used to lock block processing to a single parent thread.
Functions ¶
func ProcessTx ¶
func ProcessTx(jsonTx *lbrycrd.TxRawResult, blockTime uint64, blockHeight uint64) error
ProcessTx processes an individual transaction from a block.
func RunBlockProcessing ¶
RunBlockProcessing runs the processing of a block at a specific height. While any height can be passed in it is important to note that if the previous block is not processed it will panic to prevent corruption because blocks must be processed in order.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.