Bitcoin Forum
February 23, 2017, 02:16:41 PM *
News: Latest stable version of Bitcoin Core: 0.13.2  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Starting a new Test Chain  (Read 2327 times)
bytemaster
Hero Member
*****
Offline Offline

Activity: 728

BitShares


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://steemit.com  Blogging is the new Mining
1487859401
Hero Member
*
Offline Offline

Posts: 1487859401

View Profile Personal Message (Offline)

Ignore
1487859401
Reply with quote  #2

1487859401
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1487859401
Hero Member
*
Offline Offline

Posts: 1487859401

View Profile Personal Message (Offline)

Ignore
1487859401
Reply with quote  #2

1487859401
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
Hero Member
*****
Offline Offline

Activity: 728

BitShares


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://steemit.com  Blogging is the new Mining
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
Hero Member
*****
Offline Offline

Activity: 728

BitShares


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://steemit.com  Blogging is the new Mining
wumpus
Hero Member
*****
qt
Offline Offline

Activity: 798

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
Hero Member
*****
Offline Offline

Activity: 728

BitShares


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://steemit.com  Blogging is the new Mining
koin
Legendary
*
Offline Offline

Activity: 874


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
Hero Member
*****
Offline Offline

Activity: 728

BitShares


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://steemit.com  Blogging is the new Mining
doublec
Legendary
*
Offline Offline

Activity: 1078


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
Hero Member
*****
Offline Offline

Activity: 728

BitShares


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

Thanks!

https://steemit.com  Blogging is the new Mining
cdnbcguy
Full Member
***
Offline Offline

Activity: 128


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:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!