bytemaster (OP)
|
|
May 28, 2011, 03:17:18 AM |
|
I would like to experiment with a new block chain other than the test network.
It looks like the genesis block is "hard coded" with a specific "private key" and other numbers. What I am looking for is a how-to setup a new block chain with a different genesis block.
|
|
|
|
|
|
Once a transaction has 6 confirmations, it is extremely unlikely that an attacker without at least 50% of the network's computation power would be able to reverse it.
|
|
|
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
|
|
|
Anonymous
Guest
|
|
May 28, 2011, 03:40:47 AM |
|
|
|
|
|
bytemaster (OP)
|
|
May 28, 2011, 03:46:42 AM |
|
That test net in a box does does not allow me to modify the genesis block to change the rules from the beginning. But it does look like the config is helpful once I get clients starting with a custom genesis block.
|
|
|
|
Anonymous
Guest
|
|
May 28, 2011, 05:08:01 AM |
|
Or you could just leave the genesis block with satoshi's key as the owner with your own set of rules....
|
|
|
|
bytemaster (OP)
|
|
May 28, 2011, 05:18:06 AM |
|
My real design requirements are:
1) I own genesis block 2) Genesis block issues 1000 Million coins divisible to .00001 to me. 3) No coin generation 4) 50% of all fees go to genesis block owner (me) 5) 50% of all fees go to the block generator
Yes there is a real use for this set of rules. I just need to configure a client with these rules and start the chain.
|
|
|
|
wumpus
|
|
May 28, 2011, 07:30:23 AM |
|
Indeed, you'll have to hack the client to be able to do that. The rules are not represented in the genesis block but in the client code. You can change the divisibility with the constant "COIN" in main.h. "MAX_MONEY" will probably also be interesting to you. Note that coin amounts have to fit in signed 64 bit integers for the current implementation. Also make sure that your network is not accepting packets from the current testnet or main chain by changing the identification bytes. See also http://forum.bitcoin.org/index.php?topic=3051.0 and the other topics about the new testnet.
|
Bitcoin Core developer [PGP] Warning: For most, coin loss is a larger risk than coin theft. A disk can die any time. Regularly back up your wallet through File → Backup Wallet to an external storage or the (encrypted!) cloud. Use a separate offline wallet for storing larger amounts.
|
|
|
bytemaster (OP)
|
|
May 28, 2011, 12:12:33 PM |
|
Changing the coin values and generation rules are easy. It is the genesis block + fee distribution that is non-obvious.
|
|
|
|
koin
Legendary
Offline
Activity: 873
Merit: 1000
|
|
May 28, 2011, 12:38:28 PM |
|
Yes there is a real use for this set of rules. * koin grabs some popcorn.
|
|
|
|
bytemaster (OP)
|
|
May 28, 2011, 02:06:20 PM |
|
Yes there is a real use for this set of rules. * koin grabs some popcorn. LOL, trust me it will be a good show.
|
|
|
|
|
|
cdnbcguy
|
|
July 31, 2011, 07:22:31 PM |
|
|
Annona ad! Please keep in mind that there is nothing wrong with Bitcoin itself. All it's scandals are caused by wonky websites and sleazy people exploiting it. The light attracts bugs. When all this bullshit drys up and blows away, Bitcoin will be stronger than ever.
|
|
|
|