sctest

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2020 License: Apache-2.0, BSD-2-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SCTestBed

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

func NewSCTestBed

func NewSCTestBed() *SCTestBed

func (*SCTestBed) GetAccountOutputs

func (tb *SCTestBed) GetAccountOutputs(addr *address.Address) (map[valuetransaction.OutputID][]*balance.Balance, error)

func (*SCTestBed) NewAddress

func (tb *SCTestBed) NewAddress(name string, requestFunds bool) (*address.Address, error)

new EdDSA address

func (*SCTestBed) PostAndWaitForConfirmation

func (tb *SCTestBed) PostAndWaitForConfirmation(tx *valuetransaction.Transaction) error

func (*SCTestBed) RequestFunds

func (tb *SCTestBed) RequestFunds(targetAddress address.Address) error

func (*SCTestBed) SigScheme

func (tb *SCTestBed) SigScheme(addr *address.Address) (signaturescheme.SignatureScheme, bool)

func (*SCTestBed) ValidateBalances

func (tb *SCTestBed) ValidateBalances(addr *address.Address, expected map[balance.Color]int64) (map[balance.Color]*validationResult, bool, error)

Jump to

Keyboard shortcuts

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