result

package
v0.46.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 13, 2026 License: AGPL-3.0 Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AttestedCollection added in v0.31.0

type AttestedCollection interface {
	ExecutedCollection

	// StartStateCommitment returns a commitment to the state before collection execution
	StartStateCommitment() flow.StateCommitment

	// EndStateCommitment returns a commitment to the state after collection execution
	EndStateCommitment() flow.StateCommitment

	// StateProof returns state proofs that could be used to build a partial trie
	StateProof() flow.StorageProof

	// EventCommitment returns commitment over eventList
	EventListCommitment() flow.Identifier
}

AttestedCollection holds results of a collection attestation

type AttestedCollectionConsumer added in v0.31.0

type AttestedCollectionConsumer interface {
	module.ReadyDoneAware
	OnAttestedCollection(ac AttestedCollection) error
}

AttestedCollectionConsumer consumes AttestedCollection

type ExecutableCollection added in v0.31.0

type ExecutableCollection interface {
	// BlockHeader returns the block header in which collection was included
	BlockHeader() *flow.Header

	// Collection returns the content of the collection
	Collection() *flow.Collection

	// CollectionIndex returns the index of collection in the block
	CollectionIndex() int

	// IsSystemCollection returns true if the collection is the last collection of the block
	IsSystemCollection() bool
}

type ExecutedBlock added in v0.31.0

type ExecutedBlock interface {
	// BlockHeader returns the block header in which collection was included
	BlockHeader() *flow.Header

	// Receipt returns the execution receipt
	Receipt() *flow.ExecutionReceipt

	// AttestedCollections returns attested collections
	//
	// TODO(ramtin): this could be reduced, currently we need this
	// to store chunk data packs, trie updates package used by access nodes,
	AttestedCollections() []AttestedCollection
}

type ExecutedBlockConsumer added in v0.31.0

type ExecutedBlockConsumer interface {
	module.ReadyDoneAware
	OnExecutedBlock(eb ExecutedBlock) error
}

ExecutedBlockConsumer consumes ExecutedBlock

type ExecutedCollection

type ExecutedCollection interface {

	// Events returns a list of all the events emitted during collection execution
	Events() flow.EventsList

	// ServiceEventList returns a list of only service events emitted during this collection
	ServiceEventList() flow.EventsList

	// ConvertedServiceEvents returns a list of converted service events
	ConvertedServiceEvents() flow.ServiceEventList

	// TransactionResults returns a list of transaction results
	TransactionResults() flow.TransactionResults

	// ExecutionSnapshot returns the execution snapshot
	ExecutionSnapshot() *snapshot.ExecutionSnapshot
}

ExecutedCollection holds results of a collection execution

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL