mempool

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2019 License: MIT Imports: 13 Imported by: 1

Documentation

Index

Constants

View Source
const (
	MinRegisterAssetTxFee = 1000000000
	CheckRegisterAssetTx  = "checkregisterassettx"
)

Variables

This section is empty.

Functions

func NewValidator

func NewValidator(cfg *Config) *mempool.Validator

Types

type Config

type Config struct {
	ChainParams *config.Params
	ChainStore  *blockchain.ChainStore
	SpvService  *spv.Service
	Validator   *mempool.Validator
	FeeHelper   *FeeHelper
}

type FeeHelper

type FeeHelper struct {
	*mempool.FeeHelper
	// contains filtered or unexported fields
}

func NewFeeHelper

func NewFeeHelper(cfg *Config) *FeeHelper

func (*FeeHelper) GenerateBlockTransactions

func (t *FeeHelper) GenerateBlockTransactions(cfg *pow.Config, msgBlock *types.Block, coinBaseTx *types.Transaction)

type GetReference

type GetReference func(*types.Transaction) (map[*types.Input]*types.Output, error)

Jump to

Keyboard shortcuts

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