package
0.7.0
Repository: https://github.com/tokenized/pkg.git
Documentation: pkg.go.dev

# Functions

ConvertError determines if the error is a known RPC type and converts it to the local error type.
MockFundingUTXO generates a fake funding output for input to another tx.
MockKey generates a random key and raw address.
No description provided by the author
NewNode returns a new instance of an RPC node.
No description provided by the author

# Constants

SubSystem is used by the logger package.

# Variables

ErrMissingInputs means that an input's outpoint has already been spent (double spend) or is not known yet.
ErrNotSeen means tha the tx is not known to the node and can't be returned.
ErrTransactionAlreadyKnown means that the sent tx is already known.
ErrTransactionConflict means that the transaction's inputs conflict with an existing tx or the unconfirmed UTXO dependency chain is longer than the limit.
ErrTransactionInMempool means that the sent tx is already in the node's mempool.

# Structs

No description provided by the author
MockRpcNode can be used in tests.
No description provided by the author