lmempool

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2018 License: BSD-2-Clause Imports: 13 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AcceptTxToMemPool

func AcceptTxToMemPool(txn *tx.Tx) error

func CheckMempool

func CheckMempool(bestHeight int32)

CheckMempool check If sanity-checking is turned on, check makes sure the pool is consistent (does not contain two transactions that spend the same inputs, all inputs are in the mapNextTx array). If sanity-checking is turned off, check does nothing.

func FindOrphanTxInMemPool

func FindOrphanTxInMemPool(hash util.Hash) *tx.Tx

func FindTxInMempool

func FindTxInMempool(hash util.Hash) *mempool.TxEntry

func RemoveForReorg

func RemoveForReorg(nMemPoolHeight int32, flag int)

func RemoveTxSelf

func RemoveTxSelf(txs []*tx.Tx)

func TryAcceptOrphansTxs added in v0.0.3

func TryAcceptOrphansTxs(transaction *tx.Tx, chainHeight int32, checkLockPoint bool) (acceptTxs []*tx.Tx, rejectTxs []util.Hash)

Types

This section is empty.

Jump to

Keyboard shortcuts

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