bitcoin/src/script
Andrew Chow d9d3ec07cf Consolidate XOnlyPubKey lookup hack
The places where we need to lookup information for a XOnlyPubKey
currently implement a hack which makes both serializations of the full
pubkey in order to try the CKeyIDs for the lookup functions. Instead of
duplicating this everywhere it is needed, we can consolidate the CKeyID
generation into a function, and then have wrappers around GetPubKey,
GetKey, and GetKeyOrigin which takes the XOnlyPubKey, retrieves all of
the CKeyIDs (using the new GetKeyIDs() function in XOnlyPubKey), and
tries their respective underlying lookup function.
2021-08-23 21:38:34 -04:00
..
bitcoinconsensus.cpp Make all SignatureChecker explicit about missing data 2021-03-15 17:29:39 -07:00
bitcoinconsensus.h build: test for __declspec(dllexport) in configure 2021-02-12 09:04:16 +08:00
descriptor.cpp Consolidate XOnlyPubKey lookup hack 2021-08-23 21:38:34 -04:00
descriptor.h Pass in DescriptorCache to ToNormalizedString 2021-06-24 14:08:45 -04:00
interpreter.cpp Avoid temporary vectors/uint256s in VerifyTaprootCommitment 2021-08-20 14:30:59 -04:00
interpreter.h Improve comments in taproot signing logic 2021-08-20 14:29:23 -04:00
keyorigin.h scripted-diff: Bump copyright headers 2020-12-31 09:45:41 +01:00
script.cpp scripted-diff: Bump copyright headers 2020-12-31 09:45:41 +01:00
script.h Implement Tapscript script validation rules (BIP 342) 2020-10-12 17:18:24 -07:00
script_error.cpp Implement Tapscript script validation rules (BIP 342) 2020-10-12 17:18:24 -07:00
script_error.h scripted-diff: Bump copyright headers 2020-12-31 09:45:41 +01:00
sigcache.cpp refactor: Replace &foo[0] with foo.data() 2021-05-04 06:55:31 +02:00
sigcache.h Make all SignatureChecker explicit about missing data 2021-03-15 17:29:39 -07:00
sign.cpp Consolidate XOnlyPubKey lookup hack 2021-08-23 21:38:34 -04:00
sign.h Remove default nHashTypeIn arguments to MutableTransactionSignatureCreator 2021-08-20 14:29:23 -04:00
signingprovider.cpp Add TaprootSpendData data structure, equivalent to script map for P2[W]SH 2021-06-12 12:25:28 -07:00
signingprovider.h Consolidate XOnlyPubKey lookup hack 2021-08-23 21:38:34 -04:00
standard.cpp Assert that IsComplete() in GetSpendData() 2021-08-20 14:29:23 -04:00
standard.h Improve comments in taproot signing logic 2021-08-20 14:29:23 -04:00