Bitcoin Forum
April 27, 2024, 12:12:57 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How decode public key from input script?  (Read 150 times)
Frodek (OP)
Member
**
Offline Offline

Activity: 138
Merit: 25


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
1714176777
Hero Member
*
Offline Offline

Posts: 1714176777

View Profile Personal Message (Offline)

Ignore
1714176777
Reply with quote  #2

1714176777
Report to moderator
1714176777
Hero Member
*
Offline Offline

Posts: 1714176777

View Profile Personal Message (Offline)

Ignore
1714176777
Reply with quote  #2

1714176777
Report to moderator
1714176777
Hero Member
*
Offline Offline

Posts: 1714176777

View Profile Personal Message (Offline)

Ignore
1714176777
Reply with quote  #2

1714176777
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714176777
Hero Member
*
Offline Offline

Posts: 1714176777

View Profile Personal Message (Offline)

Ignore
1714176777
Reply with quote  #2

1714176777
Report to moderator
1714176777
Hero Member
*
Offline Offline

Posts: 1714176777

View Profile Personal Message (Offline)

Ignore
1714176777
Reply with quote  #2

1714176777
Report to moderator
1714176777
Hero Member
*
Offline Offline

Posts: 1714176777

View Profile Personal Message (Offline)

Ignore
1714176777
Reply with quote  #2

1714176777
Report to moderator
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3374
Merit: 6535


Just writing some code


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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!