Versions in this module Expand all Collapse all v2 v2.0.1 Jul 5, 2020 Changes in this version + const EXPIRE_INTERVAL + const MAX_CAPACITY + const MAX_LIMITATION + const MAX_PENDING_TXN + const MAX_RCV_TXN_LEN + const MAX_RETRIES + const MAX_TX_SIZE + const MAX_WORKER_NUM + const STATEFUL_MASK + const STATELESS_MASK + const UPDATE_FREQUENCY + const VERIFY_MASK + type ActorType uint8 + const MaxActor + const TxActor + const TxPoolActor + const VerifyRspActor + type CheckBlkResult struct + OldTxs []*types.Transaction + UnverifiedTxs []*types.Transaction + VerifiedTxs []*VerifyTxResult + type CheckTxnReq struct + Hash common.Uint256 + type CheckTxnRsp struct + Ok bool + type GetPendingTxnHashReq struct + type GetPendingTxnHashRsp struct + TxHashs []common.Uint256 + type GetPendingTxnReq struct + ByCount bool + type GetPendingTxnRsp struct + Txs []*types.Transaction + type GetTxnCountReq struct + type GetTxnCountRsp struct + Count []uint32 + type GetTxnPoolReq struct + ByCount bool + Height uint32 + type GetTxnPoolRsp struct + TxnPool []*TXEntry + type GetTxnReq struct + Hash common.Uint256 + type GetTxnRsp struct + Txn *types.Transaction + type GetTxnStats struct + type GetTxnStatsRsp struct + Count []uint64 + type GetTxnStatusReq struct + Hash common.Uint256 + type GetTxnStatusRsp struct + Hash common.Uint256 + TxStatus []*TXAttr + type LB struct + Size int + WorkerID uint8 + type LBSlice []LB + func (this LBSlice) Len() int + func (this LBSlice) Less(i, j int) bool + func (this LBSlice) Swap(i, j int) + type OrderByNetWorkFee []*TXEntry + func (n OrderByNetWorkFee) Len() int + func (n OrderByNetWorkFee) Less(i, j int) bool + func (n OrderByNetWorkFee) Swap(i, j int) + type SenderType uint8 + const HttpSender + const NetSender + const NilSender + func (sender SenderType) Sender() string + type TXAttr struct + ErrCode errors.ErrCode + Height uint32 + Type vt.VerifyType + type TXEntry struct + Attrs []*TXAttr + Tx *types.Transaction + type TXPool struct + func (tp *TXPool) AddTxList(txEntry *TXEntry) bool + func (tp *TXPool) CleanTransactionList(txs []*types.Transaction) error + func (tp *TXPool) DelTxList(tx *types.Transaction) bool + func (tp *TXPool) GetTransaction(hash common.Uint256) *types.Transaction + func (tp *TXPool) GetTransactionCount() int + func (tp *TXPool) GetTransactionHashList() []common.Uint256 + func (tp *TXPool) GetTxPool(byCount bool, height uint32) ([]*TXEntry, []*types.Transaction) + func (tp *TXPool) GetTxStatus(hash common.Uint256) *TxStatus + func (tp *TXPool) GetUnverifiedTxs(txs []*types.Transaction, height uint32) *CheckBlkResult + func (tp *TXPool) Init() + func (tp *TXPool) Remain() []*types.Transaction + func (tp *TXPool) RemoveTxsBelowGasPrice(gasPrice uint64) + type TxReq struct + Sender SenderType + Tx *types.Transaction + TxResultCh chan *TxResult + type TxResult struct + Desc string + Err errors.ErrCode + Hash common.Uint256 + type TxRsp struct + ErrCode errors.ErrCode + Hash common.Uint256 + type TxStatus struct + Attrs []*TXAttr + Hash common.Uint256 + type TxnStatsType uint8 + const DuplicateStats + const FailureStats + const MaxStats + const RcvStats + const SigErrStats + const StateErrStats + const SuccessStats + type VerifyBlockReq struct + Height uint32 + Txs []*types.Transaction + type VerifyBlockRsp struct + TxnPool []*VerifyTxResult + type VerifyTxResult struct + ErrCode errors.ErrCode + Height uint32 + Tx *types.Transaction