Documentation ¶
Index ¶
- type TxDB
- func (db *TxDB) AddInitialBlock(ctx context.Context, initialBlockHeight *big.Int) error
- func (db *TxDB) AddMessages(ctx context.Context, msgs []arbbridge.MessageDeliveredEvent, ...) error
- func (db *TxDB) GetBlock(height uint64) (*machine.BlockInfo, error)
- func (db *TxDB) GetBlockResults(res *evm.BlockInfo) ([]*evm.TxResult, error)
- func (db *TxDB) GetLog(index uint64) (value.Value, error)
- func (db *TxDB) GetLogs(_ context.Context, blockHash ethcommon.Hash) ([][]*types.Log, error)
- func (db *TxDB) GetMachineBlockResults(block *machine.BlockInfo) ([]*evm.TxResult, error)
- func (db *TxDB) GetMessage(index uint64) (value.Value, error)
- func (db *TxDB) GetReceipts(_ context.Context, blockHash ethcommon.Hash) (types.Receipts, error)
- func (db *TxDB) GetSnapshot(time inbox.ChainTime) *snapshot.Snapshot
- func (db *TxDB) LatestBlock() *common.BlockId
- func (db *TxDB) LatestBlockId() *common.BlockId
- func (db *TxDB) LatestSnapshot() *snapshot.Snapshot
- func (db *TxDB) Load(ctx context.Context) error
- func (db *TxDB) SubscribeBlockProcessingEvent(ch chan<- []*types.Log) event.Subscription
- func (db *TxDB) SubscribeChainEvent(ch chan<- core.ChainEvent) event.Subscription
- func (db *TxDB) SubscribeChainHeadEvent(ch chan<- core.ChainEvent) event.Subscription
- func (db *TxDB) SubscribeChainSideEvent(ch chan<- core.ChainEvent) event.Subscription
- func (db *TxDB) SubscribeLogsEvent(ch chan<- []*types.Log) event.Subscription
- func (db *TxDB) SubscribePendingLogsEvent(ch chan<- []*types.Log) event.Subscription
- func (db *TxDB) SubscribeRemovedLogsEvent(ch chan<- core.RemovedLogsEvent) event.Subscription
- type View
- func (txdb *View) FindLogs(ctx context.Context, fromHeight *uint64, toHeight *uint64, ...) ([]evm.FullLog, error)
- func (txdb *View) GetBlock(height uint64) (*machine.BlockInfo, error)
- func (txdb *View) GetBlockWithHash(blockHash common.Hash) (*machine.BlockInfo, error)
- func (txdb *View) GetLog(index uint64) (value.Value, error)
- func (txdb *View) GetMessage(index uint64) (value.Value, error)
- func (txdb *View) GetRequest(requestId common.Hash) (value.Value, error)
- func (txdb *View) LatestBlockId() (*common.BlockId, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TxDB ¶
type TxDB struct { View // contains filtered or unexported fields }
func New ¶
func New( clnt arbbridge.ChainTimeGetter, checkpointer checkpointing.RollupCheckpointer, as *cmachine.AggregatorStore, chain common.Address, ) *TxDB
func (*TxDB) AddInitialBlock ¶ added in v0.7.3
func (*TxDB) AddMessages ¶
func (*TxDB) GetBlockResults ¶ added in v0.7.3
func (*TxDB) GetMachineBlockResults ¶ added in v0.7.3
func (*TxDB) GetReceipts ¶ added in v0.7.3
func (*TxDB) LatestBlock ¶
func (*TxDB) LatestBlockId ¶
func (*TxDB) LatestSnapshot ¶
func (*TxDB) SubscribeBlockProcessingEvent ¶ added in v0.7.3
func (db *TxDB) SubscribeBlockProcessingEvent(ch chan<- []*types.Log) event.Subscription
func (*TxDB) SubscribeChainEvent ¶ added in v0.7.3
func (db *TxDB) SubscribeChainEvent(ch chan<- core.ChainEvent) event.Subscription
func (*TxDB) SubscribeChainHeadEvent ¶ added in v0.7.3
func (db *TxDB) SubscribeChainHeadEvent(ch chan<- core.ChainEvent) event.Subscription
func (*TxDB) SubscribeChainSideEvent ¶ added in v0.7.3
func (db *TxDB) SubscribeChainSideEvent(ch chan<- core.ChainEvent) event.Subscription
func (*TxDB) SubscribeLogsEvent ¶ added in v0.7.3
func (db *TxDB) SubscribeLogsEvent(ch chan<- []*types.Log) event.Subscription
func (*TxDB) SubscribePendingLogsEvent ¶ added in v0.7.3
func (db *TxDB) SubscribePendingLogsEvent(ch chan<- []*types.Log) event.Subscription
func (*TxDB) SubscribeRemovedLogsEvent ¶ added in v0.7.3
func (db *TxDB) SubscribeRemovedLogsEvent(ch chan<- core.RemovedLogsEvent) event.Subscription
Click to show internal directories.
Click to hide internal directories.