verification

package
v0.14.0-fixing-sealing... Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2021 License: AGPL-3.0 Imports: 2 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReceiptDataPack

type ReceiptDataPack struct {
	Receipt  *flow.ExecutionReceipt
	OriginID flow.Identifier
	Ctx      context.Context // used for span tracing
}

ReceiptDataPack represents an execution receipt with some metadata. This is an internal entity for verification node.

func (*ReceiptDataPack) Checksum

func (r *ReceiptDataPack) Checksum() flow.Identifier

Checksum returns the checksum of the ReceiptDataPack.

func (*ReceiptDataPack) ID

ID returns the unique identifier for the ReceiptDataPack which is the id of its execution receipt.

type ResultDataPack

type ResultDataPack struct {
	ExecutorID      flow.Identifier
	ExecutionResult *flow.ExecutionResult
}

ResultDataPack represents an execution result with some metadata. This is an internal entity for verification node.

func (*ResultDataPack) Checksum

func (r *ResultDataPack) Checksum() flow.Identifier

Checksum returns the checksum of the ResultDataPack.

func (*ResultDataPack) ID

func (r *ResultDataPack) ID() flow.Identifier

ID returns the unique identifier for the ResultDataPack which is the id of its execution result.

Jump to

Keyboard shortcuts

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