Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrUnknownInputType = errors.New("unknown input type") ErrUnknownOpType = errors.New("unknown operation type") ErrInvalidNumUTXOsInOp = errors.New("invalid number of UTXOs in operation") ErrUnknownCredentialType = errors.New("unknown credential type") ErrUnknownOutputType = errors.New("unknown output type") ErrInvalidUTXOSigIndex = errors.New("invalid UTXO signature index") )
Functions ¶
func SignUnsigned ¶
Types ¶
type Signer ¶
type Signer interface {
// Sign adds as many missing signatures as possible to the provided
// transaction.
//
// If there are already some signatures on the transaction, those signatures
// will not be removed.
//
// If the signer doesn't have the ability to provide a required signature,
// the signature slot will be skipped without reporting an error.
Sign(ctx context.Context, tx *txs.Tx) error
}
Click to show internal directories.
Click to hide internal directories.