/dports/net-p2p/c-lightning/lightning-0.10.2/bitcoin/ |
H A D | signature.h | 15 enum sighash_type { enum 24 static inline bool sighash_single(enum sighash_type sighash_type) in sighash_single() argument 26 return (sighash_type & SIGHASH_MASK) == SIGHASH_SINGLE; in sighash_single() 29 static inline bool sighash_anyonecanpay(enum sighash_type sighash_type) in sighash_anyonecanpay() argument 31 return (sighash_type & SIGHASH_ANYONECANPAY) == SIGHASH_ANYONECANPAY; in sighash_anyonecanpay() 35 static inline bool sighash_type_valid(const enum sighash_type sighash_type) in sighash_type_valid() argument 37 return sighash_type == SIGHASH_ALL in sighash_type_valid() 38 || sighash_type == (SIGHASH_SINGLE|SIGHASH_ANYONECANPAY); in sighash_type_valid() 47 enum sighash_type sighash_type; member 61 enum sighash_type sighash_type, [all …]
|
H A D | signature.c | 128 enum sighash_type sighash_type, in bitcoin_tx_hash_for_sig() argument 164 enum sighash_type sighash_type, in sign_tx_input() argument 171 assert(sighash_type_valid(sighash_type)); in sign_tx_input() 173 sig->sighash_type = sighash_type; in sign_tx_input() 212 if (sig->sighash_type != SIGHASH_ALL) { in check_tx_sig() 309 der[len++] = sig->sighash_type; in signature_to_der() 323 sig->sighash_type = der[len-1]; in signature_from_der() 325 if (!sighash_type_valid(sig->sighash_type)) in signature_from_der() 357 sig->sighash_type = fromwire_u8(cursor, max); in fromwire_bitcoin_signature() 358 if (!sighash_type_valid(sig->sighash_type)) in fromwire_bitcoin_signature() [all …]
|
/dports/net-p2p/litecoin-daemon/litecoin-0.18.1/src/wallet/ |
H A D | psbtwallet.cpp | 7 …llet* pwallet, PartiallySignedTransaction& psbtx, bool& complete, int sighash_type, bool sign, boo… in FillPSBT() argument 38 if (sign && input.sighash_type > 0 && input.sighash_type != sighash_type) { in FillPSBT() 42 …lete &= SignPSBTInput(HidingSigningProvider(pwallet, !sign, !bip32derivs), psbtx, i, sighash_type); in FillPSBT()
|
H A D | psbtwallet.h | 30 int sighash_type = 1 /* SIGHASH_ALL */,
|
/dports/net-p2p/litecoin/litecoin-0.18.1/src/wallet/ |
H A D | psbtwallet.cpp | 7 …llet* pwallet, PartiallySignedTransaction& psbtx, bool& complete, int sighash_type, bool sign, boo… in FillPSBT() argument 38 if (sign && input.sighash_type > 0 && input.sighash_type != sighash_type) { in FillPSBT() 42 …lete &= SignPSBTInput(HidingSigningProvider(pwallet, !sign, !bip32derivs), psbtx, i, sighash_type); in FillPSBT()
|
H A D | psbtwallet.h | 30 int sighash_type = 1 /* SIGHASH_ALL */,
|
/dports/net-p2p/litecoin-utils/litecoin-0.18.1/src/wallet/ |
H A D | psbtwallet.cpp | 7 …llet* pwallet, PartiallySignedTransaction& psbtx, bool& complete, int sighash_type, bool sign, boo… in FillPSBT() argument 38 if (sign && input.sighash_type > 0 && input.sighash_type != sighash_type) { in FillPSBT() 42 …lete &= SignPSBTInput(HidingSigningProvider(pwallet, !sign, !bip32derivs), psbtx, i, sighash_type); in FillPSBT()
|
H A D | psbtwallet.h | 30 int sighash_type = 1 /* SIGHASH_ALL */,
|
/dports/net-p2p/bitcoin-utils/bitcoin-22.0/src/wallet/ |
H A D | external_signer_scriptpubkeyman.cpp | 63 …ignedTransaction& psbt, const PrecomputedTransactionData& txdata, int sighash_type, bool sign, boo… in FillPSBT() argument 66 …return DescriptorScriptPubKeyMan::FillPSBT(psbt, txdata, sighash_type, false, bip32derivs, n_signe… in FillPSBT()
|
H A D | external_signer_scriptpubkeyman.h | 31 …ignedTransaction& psbt, const PrecomputedTransactionData& txdata, int sighash_type = 1 /* SIGHASH_…
|
/dports/net-p2p/bitcoin-daemon/bitcoin-22.0/src/wallet/ |
H A D | external_signer_scriptpubkeyman.cpp | 63 …ignedTransaction& psbt, const PrecomputedTransactionData& txdata, int sighash_type, bool sign, boo… 66 …return DescriptorScriptPubKeyMan::FillPSBT(psbt, txdata, sighash_type, false, bip32derivs, n_signe…
|
H A D | external_signer_scriptpubkeyman.h | 31 …ignedTransaction& psbt, const PrecomputedTransactionData& txdata, int sighash_type = 1 /* SIGHASH_…
|
/dports/net-p2p/bitcoin/bitcoin-22.0/src/wallet/ |
H A D | external_signer_scriptpubkeyman.cpp | 63 …ignedTransaction& psbt, const PrecomputedTransactionData& txdata, int sighash_type, bool sign, boo… in FillPSBT() argument 66 …return DescriptorScriptPubKeyMan::FillPSBT(psbt, txdata, sighash_type, false, bip32derivs, n_signe… in FillPSBT()
|
H A D | external_signer_scriptpubkeyman.h | 31 …ignedTransaction& psbt, const PrecomputedTransactionData& txdata, int sighash_type = 1 /* SIGHASH_…
|
/dports/net-p2p/litecoin-daemon/litecoin-0.18.1/src/ |
H A D | psbt.h | 52 int sighash_type = 0; member 82 if (sighash_type > 0) { in Serialize() 84 SerializeToVector(s, sighash_type); in Serialize() 189 if (sighash_type > 0) { in Unserialize() 194 UnserializeFromVector(s, sighash_type); in Unserialize()
|
/dports/net-p2p/litecoin-utils/litecoin-0.18.1/src/ |
H A D | psbt.h | 52 int sighash_type = 0; member 82 if (sighash_type > 0) { in Serialize() 84 SerializeToVector(s, sighash_type); in Serialize() 189 if (sighash_type > 0) { in Unserialize() 194 UnserializeFromVector(s, sighash_type); in Unserialize()
|
/dports/net-p2p/litecoin/litecoin-0.18.1/src/ |
H A D | psbt.h | 52 int sighash_type = 0; member 82 if (sighash_type > 0) { in Serialize() 84 SerializeToVector(s, sighash_type); in Serialize() 189 if (sighash_type > 0) { in Unserialize() 194 UnserializeFromVector(s, sighash_type); in Unserialize()
|
/dports/net-p2p/bitcoin-utils/bitcoin-22.0/src/ |
H A D | psbt.h | 60 int sighash_type = 0; member 89 if (sighash_type > 0) { in Serialize() 91 SerializeToVector(s, sighash_type); in Serialize() 204 UnserializeFromVector(s, sighash_type); in Unserialize()
|
/dports/net-p2p/bitcoin-daemon/bitcoin-22.0/src/ |
H A D | psbt.h | 60 int sighash_type = 0; member 89 if (sighash_type > 0) { in Serialize() 91 SerializeToVector(s, sighash_type); in Serialize() 204 UnserializeFromVector(s, sighash_type); in Unserialize()
|
/dports/net-p2p/bitcoin/bitcoin-22.0/src/ |
H A D | psbt.h | 60 int sighash_type = 0; member 89 if (sighash_type > 0) { in Serialize() 91 SerializeToVector(s, sighash_type); in Serialize() 204 UnserializeFromVector(s, sighash_type); in Unserialize()
|
/dports/net-p2p/qtum/qtum-mainnet-fastlane-v0.20.3/src/ |
H A D | psbt.h | 55 int sighash_type = 0; member 84 if (sighash_type > 0) { in Serialize() 86 SerializeToVector(s, sighash_type); in Serialize() 199 UnserializeFromVector(s, sighash_type); in Unserialize()
|
/dports/net-p2p/namecoin/namecoin-core-nc0.21.0.1/src/ |
H A D | psbt.h | 59 int sighash_type = 0; member 88 if (sighash_type > 0) { in Serialize() 90 SerializeToVector(s, sighash_type); in Serialize() 203 UnserializeFromVector(s, sighash_type); in Unserialize()
|
/dports/net-p2p/namecoin-daemon/namecoin-core-nc0.21.0.1/src/ |
H A D | psbt.h | 59 int sighash_type = 0; member 88 if (sighash_type > 0) { in Serialize() 90 SerializeToVector(s, sighash_type); in Serialize() 203 UnserializeFromVector(s, sighash_type); in Unserialize()
|
/dports/net-p2p/namecoin-utils/namecoin-core-nc0.21.0.1/src/ |
H A D | psbt.h | 59 int sighash_type = 0; member 88 if (sighash_type > 0) { in Serialize() 90 SerializeToVector(s, sighash_type); in Serialize() 203 UnserializeFromVector(s, sighash_type); in Unserialize()
|
/dports/finance/py-pycoin/pycoin-0.91.20210515/pycoin/vm/ |
H A D | annotate.py | 23 def sighash_type_to_string(self, sighash_type): argument 24 v = sighash_type
|