testutil

package
v0.0.0-...-3b62c27 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Deterministic = false

Toggle deterministic mode for some testing setup functions.

Functions

func Wallet

func Wallet(t *testing.T, seed int64) *wallet.Wallet

Types

type Block

type Block interface {
	GetHash() []byte
	GetTransactions()
}

type Input

type Input interface {
	GetOutIndex() int32
	GetPubKey() []byte
	GetSignature() []byte
	GetTxID() []byte
}

type Output

type Output interface {
	GetAmount() uint64
	GetPubKeyHash() []byte
}

Jump to

Keyboard shortcuts

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