SignOptions

data class SignOptions(    var trustWitnessUtxo: Boolean,     var assumeHeight: UInt?,     var allowAllSighashes: Boolean,     var tryFinalize: Boolean,     var signWithTapInternalKey: Boolean,     var allowGrinding: Boolean)(source)

Options for a software signer.

Adjust the behavior of our software signers and the way a transaction is finalized.

Constructors

Link copied to clipboard
constructor(    trustWitnessUtxo: Boolean,     assumeHeight: UInt?,     allowAllSighashes: Boolean,     tryFinalize: Boolean,     signWithTapInternalKey: Boolean,     allowGrinding: Boolean)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Whether the signer should use the sighash_type set in the PSBT when signing, no matter what its value is

Link copied to clipboard

Whether we should grind ECDSA signature to ensure signing with low r or not. Defaults to true, i.e., we always grind ECDSA signature to sign with low r.

Link copied to clipboard

Whether the wallet should assume a specific height has been reached when trying to finalize a transaction

Link copied to clipboard

Whether we should try to sign a taproot transaction with the taproot internal key or not. This option is ignored if we're signing a non-taproot PSBT.

Link copied to clipboard

Whether the signer should trust the witness_utxo, if the non_witness_utxo hasn't been provided

Link copied to clipboard

Whether to try finalizing the PSBT after the inputs are signed.