Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPendingTransactions ¶
func GetPendingTransactions(qPendingTx chan *types.Transaction, qTxsWithLogs chan TxWithLogs, providerPool *provider.Pool)
GetPendingTransactions utilizes the providerPool to fetch the transaction & receipt for logs from qRawLogs. The transaction with the receipt is then sent to qTxsWithLogs.
func GetTransactionsForLogs ¶
func GetTransactionsForLogs(qRawLogs chan types.Log, qTxsWithLogs chan TxWithLogs, providerPool *provider.Pool)
GetTransactionsForLogs utilizes the providerPool to fetch the transaction & receipt for logs from qRawLogs. The transaction with the receipt is then sent to qTxsWithLogs.
Types ¶
type TxWithLogs ¶
type TxWithLogs struct { *types.Transaction *types.Receipt Pending bool }
func (*TxWithLogs) Sender ¶
func (t *TxWithLogs) Sender() *common.Address
getTxMessage is used to get the From field of a transaction.
Click to show internal directories.
Click to hide internal directories.