Author

Topic: How decode public key from input script? (Read 181 times)

staff
Activity: 3458
Merit: 6793
Just writing some code
October 09, 2019, 01:39:25 PM
#2
There is no function in Bitcoin Core to do this because it is never done and not needed.
member
Activity: 138
Merit: 25
October 09, 2019, 09:01:51 AM
#1
I see: https://learnmeabitcoin.com/guide/digital_signatures_signing_verifying
Where is this in Bitcoin clienyt sources?
For outputs, for example, is
Code:
bool Solver(const CScript& scriptPubKey, txnouttype& typeRet, std::vector >& vSolutionsRet)
in standard.cpp file.
For inputs can I use this same method or other?

I have problem using this same method to inputs - no key found
Jump to: