Documentation ¶
Overview ¶
to be used by utilities like: cluster-tool, wasp-cli, apilib, etc
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrOperationAborted = errors.New("operation was aborted")
ErrOperationAborted is returned when the operation was aborted e.g. by a shutdown signal.
Functions ¶
Types ¶
type Client ¶
type Client interface { // requests funds from faucet, waits for confirmation RequestFunds(addr iotago.Address, timeout ...time.Duration) error // sends a tx, waits for confirmation PostTx(tx *iotago.Transaction, timeout ...time.Duration) error // returns the outputs owned by a given address OutputMap(myAddress iotago.Address, timeout ...time.Duration) (iotago.OutputSet, error) // output GetAliasOutput(aliasID iotago.AliasID, timeout ...time.Duration) (iotago.OutputID, iotago.Output, error) // used to query the health endpoint of the node Health(timeout ...time.Duration) (bool, error) }
type RefreshTipsFunc ¶
RefreshTipsFunc refreshes tips of the block if PoW takes longer than a configured duration.
Click to show internal directories.
Click to hide internal directories.