testblock

package
v0.5.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 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

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

func DefaultSDR added in v0.3.0

func DefaultSDR() *types.PartitionDescriptionRecord

Types

type Option added in v0.3.0

type Option func(*Options)

func WithSystemIdentifier added in v0.3.0

func WithSystemIdentifier(systemID types.SystemID) 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