Documentation
¶
Index ¶
- type ColResSnapshot
- func (c *ColResSnapshot) BlockHeader() *flow.Header
- func (c *ColResSnapshot) Collection() *flow.Collection
- func (c *ColResSnapshot) EmittedEvents() flow.EventsList
- func (c *ColResSnapshot) ReadRegisterIDs() flow.RegisterIDs
- func (c *ColResSnapshot) TransactionResults() flow.TransactionResults
- func (c *ColResSnapshot) UpdatedRegisters() flow.RegisterEntries
- type ComputationResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ColResSnapshot ¶ added in v0.30.0
type ColResSnapshot struct {
// contains filtered or unexported fields
}
func (*ColResSnapshot) BlockHeader ¶ added in v0.30.0
func (c *ColResSnapshot) BlockHeader() *flow.Header
func (*ColResSnapshot) Collection ¶ added in v0.30.0
func (c *ColResSnapshot) Collection() *flow.Collection
func (*ColResSnapshot) EmittedEvents ¶ added in v0.30.0
func (c *ColResSnapshot) EmittedEvents() flow.EventsList
func (*ColResSnapshot) ReadRegisterIDs ¶ added in v0.30.0
func (c *ColResSnapshot) ReadRegisterIDs() flow.RegisterIDs
func (*ColResSnapshot) TransactionResults ¶ added in v0.30.0
func (c *ColResSnapshot) TransactionResults() flow.TransactionResults
func (*ColResSnapshot) UpdatedRegisters ¶ added in v0.30.0
func (c *ColResSnapshot) UpdatedRegisters() flow.RegisterEntries
type ComputationResult ¶
type ComputationResult struct {
*entity.ExecutableBlock
StateSnapshots []*state.ExecutionSnapshot
Events []flow.EventsList
EventsHashes []flow.Identifier
ServiceEvents flow.EventsList
TransactionResults []flow.TransactionResult
TransactionResultIndex []int
// TODO(patrick): switch this to execution snapshot
ComputationIntensities meter.MeteredComputationIntensities
ChunkDataPacks []*flow.ChunkDataPack
EndState flow.StateCommitment
*execution_data.BlockExecutionData
*flow.ExecutionReceipt
}
TODO(patrick): rm unaccessed fields
func NewEmptyComputationResult ¶ added in v0.28.7
func NewEmptyComputationResult( block *entity.ExecutableBlock, ) *ComputationResult
func (*ComputationResult) CollectionResult ¶ added in v0.30.0
func (cr *ComputationResult) CollectionResult(colIndex int) *ColResSnapshot
Click to show internal directories.
Click to hide internal directories.