Documentation ¶
Index ¶
- func AcceptTxToMemPool(txn *tx.Tx) error
- func CheckMempool(bestHeight int32)
- func FindOrphanTxInMemPool(hash util.Hash) *tx.Tx
- func FindTxInMempool(hash util.Hash) *mempool.TxEntry
- func RemoveForReorg(nMemPoolHeight int32, flag int)
- func RemoveTxSelf(txs []*tx.Tx)
- func TryAcceptOrphansTxs(transaction *tx.Tx, chainHeight int32, checkLockPoint bool) (acceptTxs []*tx.Tx, rejectTxs []util.Hash)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AcceptTxToMemPool ¶
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 RemoveForReorg ¶
func RemoveTxSelf ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.