Bitcoin Forum
November 05, 2024, 10:18:28 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Openssl key should be different with each coin?  (Read 118 times)
wsxdrfv (OP)
Jr. Member
*
Offline Offline

Activity: 413
Merit: 5


View Profile WWW
April 03, 2018, 02:58:29 AM
Last edit: April 03, 2018, 03:08:55 AM by wsxdrfv
 #1

I made VirtualBox, ubuntu OS, there I make some A coin with,

openssl ecparam -genkey -name secp256k1 -out alertkey.pem
openssl ec -in alertkey.pem -text > alertkey.hex
openssl ecparam -genkey -name secp256k1 -out testnetalert.pem
openssl ec -in testnetalert.pem -text > testnetalert.hex
openssl ecparam -genkey -name secp256k1 -out genesiscoinbase.pem
openssl ec -in testnetalert.pem -text > genesiscoinbase.hex

Then, I copy A coin folder and paste to new folder, now try to make B coin.

Can I use above key value part already input in A's sourcecode as-is for B coin?
DannyHamilton
Legendary
*
Offline Offline

Activity: 3472
Merit: 4801



View Profile
April 03, 2018, 04:15:11 AM
 #2

Can I use above key value part already input in A's sourcecode as-is for B coin?

If you want to.

It all depends on how you implement it.

Why would you want to?
wsxdrfv (OP)
Jr. Member
*
Offline Offline

Activity: 413
Merit: 5


View Profile WWW
April 04, 2018, 08:22:14 AM
 #3

Can I use above key value part already input in A's sourcecode as-is for B coin?
If you want to.
It all depends on how you implement it.
Why would you want to?
If it does not cause problem, then why I want to change. Is it cause any problem? If so, how to generate new key values?
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!