#[repr(u8)]pub enum InputKey {
Show 15 variants
NonWitnessUtxo = 0,
WitnessUtxo = 1,
PartialSig = 2,
SighashType = 3,
RedeemScript = 4,
WitnessScript = 5,
Bip32Derivation = 6,
FinalScriptSig = 7,
FinalScriptWitness = 8,
TapKeySig = 19,
TapScriptSig = 20,
TapLeafScript = 21,
TapBip32Derivation = 22,
TapInternalKey = 23,
TapMerkleRoot = 24,
}Expand description
PSBT per-input key types.
Variants§
NonWitnessUtxo = 0
Non-witness UTXO (full previous transaction).
WitnessUtxo = 1
Witness UTXO (previous output value + scriptPubKey).
PartialSig = 2
Partial signature.
SighashType = 3
Sighash type.
RedeemScript = 4
Input redeem script.
WitnessScript = 5
Input witness script.
Bip32Derivation = 6
BIP-32 derivation path for a pubkey.
FinalScriptSig = 7
Finalized scriptSig.
FinalScriptWitness = 8
Finalized scriptWitness.
TapKeySig = 19
BIP-371: Taproot key-path signature.
TapScriptSig = 20
BIP-371: Taproot script-path signature.
TapLeafScript = 21
BIP-371: Taproot leaf script.
TapBip32Derivation = 22
BIP-371: Taproot BIP-32 derivation.
TapInternalKey = 23
BIP-371: Taproot internal key.
TapMerkleRoot = 24
BIP-371: Taproot merkle root.
Trait Implementations§
impl Copy for InputKey
impl Eq for InputKey
impl StructuralPartialEq for InputKey
Auto Trait Implementations§
impl Freeze for InputKey
impl RefUnwindSafe for InputKey
impl Send for InputKey
impl Sync for InputKey
impl Unpin for InputKey
impl UnsafeUnpin for InputKey
impl UnwindSafe for InputKey
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more