Documentation ¶
Index ¶
Constants ¶
View Source
const ( // GasRate indicates the current gas rate GasRate = int64(1000) )
Variables ¶
This section is empty.
Functions ¶
func NewTxVMContext ¶
func NewTxVMContext(vs *validationState, entry bc.Entry, prog *bc.Program, args [][]byte) *vm.Context
NewTxVMContext generates the vm.Context for BVM
func ValidateBlock ¶
func ValidateBlock(b, prev *bc.Block, seedCaches *seed.SeedCaches) error
ValidateBlock validates a block and the transactions within. It does not run the consensus program; for that, see ValidateBlockSig.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.