processing

package
v0.1.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2018 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeClaimValue

func DecodeClaimValue(name string, value []byte) (*pb.Claim, error)

DecodeClaimValue take a byte array and tries to decode it to a protobuf claim or migrate it from either json v1,2,3

func ProcessTx

func ProcessTx(jsonTx *lbrycrd.TxRawResult, blockTime uint64) error

ProcessTx processes an individual transaction from a block.

func RunBlockProcessing

func RunBlockProcessing(height *uint64)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL