|
| 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) |
| |
| static void | ExpectedKeySize (const std::string &key_name, const std::vector< unsigned char > &key, uint64_t expected_size) |
| |
| std::string | PSBTRoleName (PSBTRole role) |
| |
| std::optional< 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.
|
| |
| util::Expected< void, PSBTError > | SignPSBTInput (const SigningProvider &provider, PartiallySignedTransaction &psbt, int index, const PrecomputedTransactionData *txdata, const common::PSBTFillOptions &options, SignatureData *out_sigdata=nullptr) |
| | 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.
|
| |
| std::optional< PartiallySignedTransaction > | CombinePSBTs (const std::vector< PartiallySignedTransaction > &psbtxs) |
| | Combines PSBTs with the same underlying transaction, resulting in a single PSBT with all partial signatures from each input.
|
| |
| util::Result< PartiallySignedTransaction > | DecodeBase64PSBT (const std::string &base64_tx) |
| | Decode a base64ed PSBT into a PartiallySignedTransaction.
|
| |
| util::Result< PartiallySignedTransaction > | DecodeRawPSBT (std::span< const std::byte > tx_data) |
| | Decode a raw (binary blob) PSBT into a PartiallySignedTransaction.
|
| |