Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option struct {
BlockNumberStart *big.Int `json:"block_number_start" mapstructure:"block_number_start"`
BlockNumberTarget *big.Int `json:"block_number_target" mapstructure:"block_number_target"`
// RPCThreadBlocks is the number of concurrent RPC requests associated with the blocks. Changes to this field don't
// cause data inconsistencies and therefore don't need to be stored in the id field of the checkpoint.
RPCThreadBlocks *uint64 `json:"-" mapstructure:"rpc_thread_blocks"`
}
type Task ¶
type Task struct {
Network filter.Network
ChainID uint64
Header *ethereum.Header
Transaction *ethereum.Transaction
Receipt *ethereum.Receipt
}
func (Task) GetNetwork ¶
func (Task) GetTimestamp ¶
Click to show internal directories.
Click to hide internal directories.