Documentation ¶
Index ¶
- type Accounts
- type Blocks
- func (b *Blocks) GetByHeight(height uint64) (*types.Block, error)
- func (b *Blocks) GetByID(ID common.Hash) (*types.Block, error)
- func (b *Blocks) GetCadenceHeight(evmHeight uint64) (uint64, error)
- func (b *Blocks) InitHeights(cadenceHeight uint64) error
- func (b *Blocks) LatestCadenceHeight() (uint64, error)
- func (b *Blocks) LatestEVMHeight() (uint64, error)
- func (b *Blocks) SetLatestCadenceHeight(height uint64) error
- func (b *Blocks) Store(cadenceHeight uint64, block *types.Block) error
- type Receipts
- func (r *Receipts) BloomsForBlockRange(start, end *big.Int) ([]*gethTypes.Bloom, []*big.Int, error)
- func (r *Receipts) GetByBlockHeight(height *big.Int) (*gethTypes.Receipt, error)
- func (r *Receipts) GetByTransactionID(ID common.Hash) (*gethTypes.Receipt, error)
- func (r *Receipts) Store(receipt *gethTypes.Receipt) error
- type Storage
- type Transactions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Accounts ¶
type Accounts struct {
// contains filtered or unexported fields
}
func NewAccounts ¶
func (*Accounts) GetBalance ¶
type Blocks ¶
type Blocks struct {
// contains filtered or unexported fields
}
func (*Blocks) GetCadenceHeight ¶
func (*Blocks) InitHeights ¶ added in v0.2.0
InitHeights sets the Cadence height to zero as well as EVM heights. Used for empty database init.
func (*Blocks) LatestCadenceHeight ¶
func (*Blocks) LatestEVMHeight ¶
func (*Blocks) SetLatestCadenceHeight ¶ added in v0.2.0
type Receipts ¶
type Receipts struct {
// contains filtered or unexported fields
}
func NewReceipts ¶
func (*Receipts) BloomsForBlockRange ¶
func (*Receipts) GetByBlockHeight ¶
func (*Receipts) GetByTransactionID ¶
type Transactions ¶
type Transactions struct {
// contains filtered or unexported fields
}
func NewTransactions ¶
func NewTransactions(store *Storage) *Transactions
func (*Transactions) Get ¶
func (t *Transactions) Get(ID common.Hash) (*gethTypes.Transaction, error)
func (*Transactions) Store ¶
func (t *Transactions) Store(tx *gethTypes.Transaction) error
Click to show internal directories.
Click to hide internal directories.