testtransaction

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2023 License: AGPL-3.0, ISC Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGenericTransaction added in v0.1.1

func NewGenericTransaction(t *testing.T, c ConvertTx, options ...Option) txsystem.GenericTransaction

func NewTransaction added in v0.1.1

func NewTransaction(t *testing.T, options ...Option) *txsystem.Transaction

func RandomBytes added in v0.1.1

func RandomBytes(len int) []byte

Types

type ConvertTx added in v0.1.1

type Option added in v0.1.1

type Option func(*txsystem.Transaction) error

func WithAttributes added in v0.1.1

func WithAttributes(attr proto.Message) Option

func WithOwnerProof added in v0.1.1

func WithOwnerProof(ownerProof []byte) Option

func WithSystemID added in v0.1.1

func WithSystemID(id []byte) Option

func WithTimeout added in v0.1.1

func WithTimeout(timeout uint64) Option

func WithUnitId added in v0.1.1

func WithUnitId(id []byte) Option

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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