Author

Topic: txNew.vout[0].scriptPubKey in main.cpp? (Read 724 times)

sr. member
Activity: 473
Merit: 250
"Proof-of-Asset Protocol"
March 06, 2014, 02:39:12 PM
#3
Thanks, so assuming you create alt coin, just create key pair & update public key part of it here & forget about the private key as it will not be needed in the future, like updating to new version or version control etc. No need to store private key as it will never be used?
vip
Activity: 198
Merit: 101
March 06, 2014, 02:33:22 PM
#2
It is used to generate the genesis block, from which all other blocks ultimately derive. Presumably Satoshi has the private key for that txout, but it's unspendable anyway.

https://blockchain.info/block/000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f

https://blockchain.info/tx/4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b
sr. member
Activity: 473
Merit: 250
"Proof-of-Asset Protocol"
March 06, 2014, 02:07:29 PM
#1
txNew.vout[0].scriptPubKey
public ECDSA key

What is the purpose of this public key in the main.cpp? what is suppose to do? Where do you keep the private part of it? Does private key ever get used?
Jump to: