aboutsummaryrefslogtreecommitdiff
path: root/src/script
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2021-07-19 15:29:29 -0400
committerAndrew Chow <achow101-github@achow101.com>2022-06-27 16:47:48 -0400
commit52e3f2f88ef1ac7062e905bf2d745b70463ee3e9 (patch)
treee6c7b3e73b194e2ce1940183e37d1fcbbb132656 /src/script
parent05e2cc9a302ba7f14fc65ba255594c047cb44559 (diff)
Fill PSBT Taproot input data to/from SignatureData
Diffstat (limited to 'src/script')
-rw-r--r--src/script/sign.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/sign.h b/src/script/sign.h
index 71203d08ec..cb3c229298 100644
--- a/src/script/sign.h
+++ b/src/script/sign.h
@@ -74,6 +74,7 @@ struct SignatureData {
std::map<CKeyID, std::pair<CPubKey, KeyOriginInfo>> misc_pubkeys;
std::vector<unsigned char> taproot_key_path_sig; /// Schnorr signature for key path spending
std::map<std::pair<XOnlyPubKey, uint256>, std::vector<unsigned char>> taproot_script_sigs; ///< (Partial) schnorr signatures, indexed by XOnlyPubKey and leaf_hash.
+ std::map<XOnlyPubKey, std::pair<std::set<uint256>, KeyOriginInfo>> taproot_misc_pubkeys; ///< Miscellaneous Taproot pubkeys involved in this input along with their leaf script hashes and key origin data. Also includes the Taproot internal key (may have no leaf script hashes).
std::vector<CKeyID> missing_pubkeys; ///< KeyIDs of pubkeys which could not be found
std::vector<CKeyID> missing_sigs; ///< KeyIDs of pubkeys for signatures which could not be found
uint160 missing_redeem_script; ///< ScriptID of the missing redeemScript (if any)