Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FetchingL1Oracle ¶
type FetchingL1Oracle struct {
// contains filtered or unexported fields
}
func NewFetchingL1Oracle ¶
func (*FetchingL1Oracle) HeaderByBlockHash ¶
func (o *FetchingL1Oracle) HeaderByBlockHash(blockHash common.Hash) eth.BlockInfo
func (*FetchingL1Oracle) ReceiptsByBlockHash ¶
func (*FetchingL1Oracle) TransactionsByBlockHash ¶
func (o *FetchingL1Oracle) TransactionsByBlockHash(blockHash common.Hash) (eth.BlockInfo, types.Transactions)
type Source ¶
type Source interface { InfoByHash(ctx context.Context, blockHash common.Hash) (eth.BlockInfo, error) InfoAndTxsByHash(ctx context.Context, blockHash common.Hash) (eth.BlockInfo, types.Transactions, error) FetchReceipts(ctx context.Context, blockHash common.Hash) (eth.BlockInfo, types.Receipts, error) }
Click to show internal directories.
Click to hide internal directories.