Documentation
¶
Index ¶
- type BorGenerator
- type Generator
- func (g *Generator) GetCachedReceipt(ctx context.Context, hash common.Hash) (*types.Receipt, bool)
- func (g *Generator) GetCachedReceipts(ctx context.Context, blockHash common.Hash) (types.Receipts, bool)
- func (g *Generator) GetReceipt(ctx context.Context, cfg *chain.Config, tx kv.TemporalTx, header *types.Header, ...) (*types.Receipt, error)
- func (g *Generator) GetReceipts(ctx context.Context, cfg *chain.Config, tx kv.TemporalTx, block *types.Block) (types.Receipts, error)
- func (g *Generator) LogStats()
- func (g *Generator) PrepareEnv(ctx context.Context, header *types.Header, cfg *chain.Config, tx kv.TemporalTx, ...) (*ReceiptEnv, error)
- type ReceiptEnv
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BorGenerator ¶
type BorGenerator struct {
// contains filtered or unexported fields
}
func NewBorGenerator ¶
func NewBorGenerator(blockReader services.FullBlockReader, engine consensus.EngineReader) *BorGenerator
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
func NewGenerator ¶
func NewGenerator(blockReader services.FullBlockReader, engine consensus.EngineReader) *Generator
func (*Generator) GetCachedReceipt ¶
func (*Generator) GetCachedReceipts ¶
func (*Generator) GetReceipt ¶
func (*Generator) GetReceipts ¶
func (*Generator) PrepareEnv ¶
type ReceiptEnv ¶
type ReceiptEnv struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.