Bitcoin Forum
May 21, 2024, 09:20:50 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin SRC: vAlertPubKey - scriptPubKey  (Read 1306 times)
bitsta (OP)
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500


r00t-dev


View Profile
January 02, 2014, 01:33:30 PM
 #1

hi,


i am just studying the sourcecode of different cryptocurrencies
and i saw this part in the code:

chainparams.cpp
Code:
vAlertPubKey = ParseHex("045337216002ca6a71d63edf062895417610a723d453e722bf4728996c58661cdac3d4dec5cecd449b9086e9602b35cc726a9e0163e1a4d40f521fbdaebb674658");


i also checked the headerfile and understood that this public key is used to sign broadcast messages..

what i don't understand is what kind of public key that is? it's a 128 Character key with leading 0x04 at beginning --> so total of 130 characters. If the public key used here is a public key linked to a BTC-address how did the developer integrate
that in the source?? did they first compiled the source/merkle/genesis hash, let the system run, generate an btc-address and afterwards included the public key in the source???

regards
bitsta
Mike Hearn
Legendary
*
expert
Offline Offline

Activity: 1526
Merit: 1129


View Profile
January 02, 2014, 02:44:43 PM
 #2

It's just a regular ECDSA public key. Nothing special about it at all.
bitsta (OP)
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500


r00t-dev


View Profile
January 02, 2014, 02:51:07 PM
 #3

It's just a regular ECDSA public key. Nothing special about it at all.

thank you very much for the fast response.
now it s clear for me.
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!