Documentation ¶
Index ¶
- type SCTestBed
- func (tb *SCTestBed) GetAccountOutputs(addr *address.Address) (map[valuetransaction.OutputID][]*balance.Balance, error)
- func (tb *SCTestBed) NewAddress(name string, requestFunds bool) (*address.Address, error)
- func (tb *SCTestBed) PostAndWaitForConfirmation(tx *valuetransaction.Transaction) error
- func (tb *SCTestBed) RequestFunds(targetAddress address.Address) error
- func (tb *SCTestBed) SigScheme(addr *address.Address) (signaturescheme.SignatureScheme, bool)
- func (tb *SCTestBed) ValidateBalances(addr *address.Address, expected map[balance.Color]int64) (map[balance.Color]*validationResult, bool, error)
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 (*SCTestBed) NewAddress ¶
new EdDSA address
func (*SCTestBed) PostAndWaitForConfirmation ¶
func (tb *SCTestBed) PostAndWaitForConfirmation(tx *valuetransaction.Transaction) error
func (*SCTestBed) RequestFunds ¶
func (*SCTestBed) SigScheme ¶
func (tb *SCTestBed) SigScheme(addr *address.Address) (signaturescheme.SignatureScheme, bool)
Click to show internal directories.
Click to hide internal directories.