Bitcoin Forum
May 04, 2024, 05:50:40 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Starting a new Test Chain  (Read 2515 times)
bytemaster (OP)
Hero Member
*****
Offline Offline

Activity: 770
Merit: 566

fractally


View Profile WWW
May 28, 2011, 03:17:18 AM
 #1

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. 

https://fractally.com - the next generation of decentralized autonomous organizations (DAOs).
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.
1714845040
Hero Member
*
Offline Offline

Posts: 1714845040

View Profile Personal Message (Offline)

Ignore
1714845040
Reply with quote  #2

1714845040
Report to moderator
1714845040
Hero Member
*
Offline Offline

Posts: 1714845040

View Profile Personal Message (Offline)

Ignore
1714845040
Reply with quote  #2

1714845040
Report to moderator
Anonymous
Guest

May 28, 2011, 03:40:47 AM
 #2

http://forum.bitcoin.org/?topic=4483.0

testnet in a box
bytemaster (OP)
Hero Member
*****
Offline Offline

Activity: 770
Merit: 566

fractally


View Profile WWW
May 28, 2011, 03:46:42 AM
 #3

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.

https://fractally.com - the next generation of decentralized autonomous organizations (DAOs).
Anonymous
Guest

May 28, 2011, 05:08:01 AM
 #4

Or you could just leave the genesis block with satoshi's key as the owner with your own set of rules....
bytemaster (OP)
Hero Member
*****
Offline Offline

Activity: 770
Merit: 566

fractally


View Profile WWW
May 28, 2011, 05:18:06 AM
 #5

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.


https://fractally.com - the next generation of decentralized autonomous organizations (DAOs).
wumpus
Hero Member
*****
qt
Offline Offline

Activity: 812
Merit: 1022

No Maps for These Territories


View Profile
,
May 28, 2011, 07:30:23 AM
 #6

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 FileBackup Wallet to an external storage or the (encrypted!) cloud. Use a separate offline wallet for storing larger amounts.
bytemaster (OP)
Hero Member
*****
Offline Offline

Activity: 770
Merit: 566

fractally


View Profile WWW
May 28, 2011, 12:12:33 PM
 #7

Changing the coin values and generation rules are easy. 
It is the genesis block + fee distribution that is non-obvious.

https://fractally.com - the next generation of decentralized autonomous organizations (DAOs).
koin
Legendary
*
Offline Offline

Activity: 873
Merit: 1000


View Profile
May 28, 2011, 12:38:28 PM
 #8

Yes there is a real use for this set of rules.
* koin grabs some popcorn.
bytemaster (OP)
Hero Member
*****
Offline Offline

Activity: 770
Merit: 566

fractally


View Profile WWW
May 28, 2011, 02:06:20 PM
 #9

Yes there is a real use for this set of rules.
* koin grabs some popcorn.

LOL, trust me it will be a good show. 

https://fractally.com - the next generation of decentralized autonomous organizations (DAOs).
doublec
Legendary
*
Offline Offline

Activity: 1078
Merit: 1005


View Profile
May 28, 2011, 02:32:17 PM
 #10

Changing the coin values and generation rules are easy. 
It is the genesis block + fee distribution that is non-obvious.

Instructions are available from the freecoin repository:

https://github.com/sacarlson/freecoin/blob/master/create_new_genisis_block.txt
bytemaster (OP)
Hero Member
*****
Offline Offline

Activity: 770
Merit: 566

fractally


View Profile WWW
May 28, 2011, 06:47:48 PM
 #11

Thanks!

https://fractally.com - the next generation of decentralized autonomous organizations (DAOs).
cdnbcguy
Full Member
***
Offline Offline

Activity: 128
Merit: 100


View Profile WWW
July 31, 2011, 07:22:31 PM
 #12

Changing the coin values and generation rules are easy. 
It is the genesis block + fee distribution that is non-obvious.

Instructions are available from the freecoin repository:

https://github.com/sacarlson/freecoin/blob/master/create_new_genisis_block.txt

it's not there, but it is here

https://github.com/dyne/Freecoin/blob/master/create_new_genisis_block.txt


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.
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!