Bitcoin Forum
September 20, 2020, 08:48:38 AM *
News: Latest Bitcoin Core release: 0.20.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How decode public key from input script?  (Read 74 times)
Frodek
Member
**
Offline Offline

Activity: 133
Merit: 18


View Profile
October 09, 2019, 02:01:51 PM
Last edit: October 09, 2019, 02:21:38 PM by Frodek
 #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<std::vector<unsigned char> >& 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
1600591718
Hero Member
*
Offline Offline

Posts: 1600591718

View Profile Personal Message (Offline)

Ignore
1600591718
Reply with quote  #2

1600591718
Report to moderator
1600591718
Hero Member
*
Offline Offline

Posts: 1600591718

View Profile Personal Message (Offline)

Ignore
1600591718
Reply with quote  #2

1600591718
Report to moderator
1600591718
Hero Member
*
Offline Offline

Posts: 1600591718

View Profile Personal Message (Offline)

Ignore
1600591718
Reply with quote  #2

1600591718
Report to moderator
You can see the statistics of your reports to moderators on the "Report to moderator" pages.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1600591718
Hero Member
*
Offline Offline

Posts: 1600591718

View Profile Personal Message (Offline)

Ignore
1600591718
Reply with quote  #2

1600591718
Report to moderator
1600591718
Hero Member
*
Offline Offline

Posts: 1600591718

View Profile Personal Message (Offline)

Ignore
1600591718
Reply with quote  #2

1600591718
Report to moderator
1600591718
Hero Member
*
Offline Offline

Posts: 1600591718

View Profile Personal Message (Offline)

Ignore
1600591718
Reply with quote  #2

1600591718
Report to moderator
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 2254
Merit: 3454


bc1qshxkrpe4arppq89fpzm6c0tpdvx5cfkve2c8kl


View Profile WWW
October 09, 2019, 06:39:25 PM
Merited by DannyHamilton (5)
 #2

There is no function in Bitcoin Core to do this because it is never done and not needed.

Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!