Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option struct { // BlockStart is the starting block number on evm chain. BlockStart *big.Int `json:"block_start" mapstructure:"block_start"` // BlockTarget is the target block number on evm chain. BlockTarget *big.Int `json:"block_target" mapstructure:"block_target"` // ConcurrentBlockRequests is the number of concurrent RPC requests associated with the blocks. ConcurrentBlockRequests *uint `json:"concurrent_block_requests" mapstructure:"concurrent_block_requests"` // BlockBatchSize is the number of blocks to fetch in a single batch. BlockBatchSize *uint `json:"block_batch_size" mapstructure:"block_batch_size"` // ReceiptsBatchSize is the number of receipts to fetch in a single batch. ReceiptsBatchSize *uint `json:"receipts_batch_size" mapstructure:"receipts_batch_size"` // BlockReceiptsBatchSize is the number of block receipts to fetch in a single batch. BlockReceiptsBatchSize *uint `json:"block_receipts_batch_size" mapstructure:"block_receipts_batch_size"` }
type Task ¶
type Task struct { Network network.Network ChainID uint64 Header *ethereum.Header Transaction *ethereum.Transaction Receipt *ethereum.Receipt }
func (Task) BuildActivity ¶ added in v0.4.13
func (Task) GetNetwork ¶
func (Task) GetTimestamp ¶
Click to show internal directories.
Click to hide internal directories.