Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockState ¶
type BlockState struct { types.StateDB // todo change to types.ReadOnlyView // contains filtered or unexported fields }
func NewBlockState ¶
func NewBlockState( block *models.Block, chainID flowGo.ChainID, store *pebble.Storage, blocks storage.BlockIndexer, receipts storage.ReceiptIndexer, logger zerolog.Logger, ) (*BlockState, error)
func (*BlockState) Execute ¶
func (s *BlockState) Execute(tx models.Transaction) error
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
func NewStateEngine ¶
func NewStateEngine( chainID flowGo.ChainID, blockPublisher *models.Publisher, store *pebble.Storage, blocks storage.BlockIndexer, transactions storage.TransactionIndexer, receipts storage.ReceiptIndexer, logger zerolog.Logger, ) *Engine
Click to show internal directories.
Click to hide internal directories.