|
| template<typename Stream , typename... X> |
| void | SerializeToVector (Stream &s, const X &... args) |
| |
| template<typename Stream , typename... X> |
| void | UnserializeFromVector (Stream &s, X &&... args) |
| |
| template<typename Stream > |
| KeyOriginInfo | DeserializeKeyOrigin (Stream &s, uint64_t length) |
| |
| template<typename Stream > |
| void | DeserializeHDKeypath (Stream &s, KeyOriginInfo &hd_keypath) |
| |
| template<typename Stream > |
| void | DeserializeHDKeypaths (Stream &s, const std::vector< unsigned char > &key, std::map< CPubKey, KeyOriginInfo > &hd_keypaths) |
| |
| template<typename Stream > |
| void | SerializeKeyOrigin (Stream &s, KeyOriginInfo hd_keypath) |
| |
| template<typename Stream > |
| void | SerializeHDKeypath (Stream &s, KeyOriginInfo hd_keypath) |
| |
| template<typename Stream > |
| void | SerializeHDKeypaths (Stream &s, const std::map< CPubKey, KeyOriginInfo > &hd_keypaths, CompactSizeWriter type) |
| |
| template<typename Stream > |
| void | DeserializeMuSig2ParticipantPubkeys (Stream &s, SpanReader &skey, std::map< CPubKey, std::vector< CPubKey > > &out, std::string context) |
| |
| template<typename Stream > |
| void | DeserializeMuSig2ParticipantDataIdentifier (Stream &skey, CPubKey &agg_pub, CPubKey &part_pub, uint256 &leaf_hash) |
| |
| std::string | PSBTRoleName (PSBTRole role) |
| |
| PrecomputedTransactionData | PrecomputePSBTData (const PartiallySignedTransaction &psbt) |
| | Compute a PrecomputedTransactionData object from a psbt.
|
| |
| bool | PSBTInputSigned (const PSBTInput &input) |
| | Checks whether a PSBTInput is already signed by checking for non-null finalized fields.
|
| |
| bool | PSBTInputSignedAndVerified (const PartiallySignedTransaction &psbt, unsigned int input_index, const PrecomputedTransactionData *txdata) |
| | Checks whether a PSBTInput is already signed by doing script verification using final fields.
|
| |
| PSBTError | SignPSBTInput (const SigningProvider &provider, PartiallySignedTransaction &psbt, int index, const PrecomputedTransactionData *txdata, std::optional< int > sighash=std::nullopt, SignatureData *out_sigdata=nullptr, bool finalize=true) |
| | Signs a PSBTInput, verifying that all provided data matches what is being signed.
|
| |
| void | RemoveUnnecessaryTransactions (PartiallySignedTransaction &psbtx) |
| | Reduces the size of the PSBT by dropping unnecessary non_witness_utxos (i.e.
|
| |
| size_t | CountPSBTUnsignedInputs (const PartiallySignedTransaction &psbt) |
| | Counts the unsigned inputs of a PSBT.
|
| |
| void | UpdatePSBTOutput (const SigningProvider &provider, PartiallySignedTransaction &psbt, int index) |
| | Updates a PSBTOutput with information from provider.
|
| |
| bool | FinalizePSBT (PartiallySignedTransaction &psbtx) |
| | Finalizes a PSBT if possible, combining partial signatures.
|
| |
| bool | FinalizeAndExtractPSBT (PartiallySignedTransaction &psbtx, CMutableTransaction &result) |
| | Finalizes a PSBT if possible, and extracts it to a CMutableTransaction if it could be finalized.
|
| |
| bool | CombinePSBTs (PartiallySignedTransaction &out, const std::vector< PartiallySignedTransaction > &psbtxs) |
| | Combines PSBTs with the same underlying transaction, resulting in a single PSBT with all partial signatures from each input.
|
| |
| bool | DecodeBase64PSBT (PartiallySignedTransaction &decoded_psbt, const std::string &base64_psbt, std::string &error) |
| | Decode a base64ed PSBT into a PartiallySignedTransaction.
|
| |
| bool | DecodeRawPSBT (PartiallySignedTransaction &decoded_psbt, std::span< const std::byte > raw_psbt, std::string &error) |
| | Decode a raw (binary blob) PSBT into a PartiallySignedTransaction.
|
| |