testblock

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2025 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultRoundNumber = 1
)

Variables

This section is empty.

Functions

func CreateBlock added in v0.4.0

func CreateTxRecordProof added in v1.0.0

func CreateTxRecordProof(t *testing.T, txRecord *types.TransactionRecord, signer abcrypto.Signer, opts ...Option) *types.TxRecordProof

func DefaultPDR added in v1.0.0

func DefaultPDR() *types.PartitionDescriptionRecord

Types

type Option added in v0.3.0

type Option func(*Options)

func WithPartitionID added in v1.0.0

func WithPartitionID(partitionID types.PartitionID) Option

type Options added in v0.3.0

type Options struct {
	// contains filtered or unexported fields
}

func DefaultOptions added in v0.3.0

func DefaultOptions() *Options

Jump to

Keyboard shortcuts

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