Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: wsxdrfv on April 03, 2018, 02:58:29 AM



Title: Openssl key should be different with each coin?
Post by: wsxdrfv on April 03, 2018, 02:58:29 AM
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?


Title: Re: Openssl key should be different with each coin?
Post by: DannyHamilton on April 03, 2018, 04:15:11 AM
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?


Title: Re: Openssl key should be different with each coin?
Post by: wsxdrfv on April 04, 2018, 08:22:14 AM
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?