Pages:
Author

Topic: How do you create an altcoin? - page 8. (Read 21870 times)

hero member
Activity: 631
Merit: 501
April 14, 2013, 11:52:05 AM
Still working on creating the actual genesis bock.  Marching on.....   Grin
legendary
Activity: 1484
Merit: 1005
April 14, 2013, 11:38:04 AM
Maybe the merkle root of the genesis block is the same as the hash of its only transaction?

Yes, it is.  The merkle root is the root hash of the hash tree for the transactions.  In the case of a block with only a coinbase transaction (the only required one) it's simply the hash of the coinbase transaction.

If you're trying to get the merkle root hash for the genesis block, just hash the coinbase tx twice or SHA256(SHA256(coinbase transaction))
newbie
Activity: 14
Merit: 0
April 14, 2013, 07:44:56 AM
I'm very interested in this topic, I'll keep an eye on this, because is interesting how a hashGenesis works, great job!
member
Activity: 98
Merit: 10
It's the muffins that must be stopped.
April 14, 2013, 06:41:52 AM
Hi  Grin

Read this thread about calculating the merkle root: https://bitcointalksearch.org/topic/calculating-a-block-merkle-root-question-12727
It is calculated from the hashes of all the transactions present in the block.

Then, look at this page: https://en.bitcoin.it/wiki/Genesis_block

There is 1 transaction in that genesis block; The first 50 bitcoins.
Quote
CBlock(hash=000000000019d6, ver=1, hashPrevBlock=00000000000000, hashMerkleRoot=4a5e1e, nTime=1231006505, nBits=1d00ffff, nNonce=2083236893, vtx=1)
  CTransaction(hash=4a5e1e, ver=1, vin.size=1, vout.size=1, nLockTime=0)
    CTxIn(COutPoint(000000, -1), coinbase 04ffff001d0104455468652054696d65732030332f4a616e2f32303039204368616e63656c6c6f7 2206f6e206272696e6b206f66207365636f6e64206261696c6f757420666f722062616e6b73)
    CTxOut(nValue=50.00000000, scriptPubKey=0x5F1DF16B2B704C8A578D0B)
Transaction hash is '4a5e1e'. (First 3 bytes ?)

The merkle root of the genesis block:

Quote
hashMerkleRoot = 0x4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b

and further down the page (read right to left)
Quote
3BA3EDFD7A7B12B27AC72C3E67768F617FC81BC3888A51323A9FB8AA4B1E5E4A - merkle root



Maybe the merkle root of the genesis block is the same as the hash of its only transaction?
legendary
Activity: 938
Merit: 1000
What's a GPU?
April 14, 2013, 02:06:10 AM
I'm currently over a billion nonces in searching for a genesis block Tongue

When and if it comes out and works, I'll post how to make one.
sr. member
Activity: 476
Merit: 250
Bytecoin: 8VofSsbQvTd8YwAcxiCcxrqZ9MnGPjaAQm
April 14, 2013, 01:21:01 AM
Can someone post some sort of guide, please? Throughout the thread I have lost track of the process (what variables to edit mainly). We also don't really have a post explaining how to get the genesis block started. Sorry, but as the name of the coin suggests (noobcoin) I'm new to this, and don't have much coding experience.

Were you able to work through the instructions in that MultiCoin genesis block page?  I've been aware of it for some time and wishing I had time to try it out.

(Guess I'll live vicariously through you hardworking altcoin devs!)
member
Activity: 98
Merit: 10
x1 7970 | Aprox. 587 kh/s
April 14, 2013, 01:00:14 AM
Can someone post some sort of guide, please? Throughout the thread I have lost track of the process (what variables to edit mainly). We also don't really have a post explaining how to get the genesis block started. Sorry, but as the name of the coin suggests (noobcoin) I'm new to this, and don't have much coding experience.
member
Activity: 98
Merit: 10
x1 7970 | Aprox. 587 kh/s
April 14, 2013, 12:55:35 AM
Very nice work, guys.  Thank you for the thread, and thank you for investing in yourselves.  Do you realize how many more altcoin/bitcoin developers were just born today on this thread?

Still working hard Cheesy thanks for your interest!
sr. member
Activity: 476
Merit: 250
Bytecoin: 8VofSsbQvTd8YwAcxiCcxrqZ9MnGPjaAQm
April 14, 2013, 12:48:37 AM
Very nice work, guys.  Thank you for the thread, and thank you for investing in yourselves.  Do you realize how many more altcoin/bitcoin developers were just born today on this thread?
member
Activity: 98
Merit: 10
x1 7970 | Aprox. 587 kh/s
April 14, 2013, 12:17:16 AM
I'm on the prowl for a genesis block Cheesy
And best of luck to you!
legendary
Activity: 938
Merit: 1000
What's a GPU?
April 13, 2013, 11:56:38 PM
I'm on the prowl for a genesis block Cheesy
hero member
Activity: 631
Merit: 501
April 13, 2013, 11:50:26 PM
i am refreshing my dev environment and breaking until morning.... its late here in Chicago.  I watched irc for a while and i know theyre making progress there.   More tomorrow..
member
Activity: 98
Merit: 10
x1 7970 | Aprox. 587 kh/s
April 13, 2013, 11:20:37 PM
Currently we're working on an easy (easier) genesis block creation method, and rebranding of the client.

This is fun Cheesy

freenode: /join #noobcoin


Cant join... i must be invited to the channel    Sad

If at first you don't succeed: try, try again.

Lol... it's been a LONG time since I used IRC... Like --- 15+ years.
I am old!  Lol...


Progress report?
hero member
Activity: 631
Merit: 501
April 13, 2013, 10:51:04 PM
Currently we're working on an easy (easier) genesis block creation method, and rebranding of the client.

This is fun Cheesy

freenode: /join #noobcoin


Cant join... i must be invited to the channel    Sad

If at first you don't succeed: try, try again.

Lol... it's been a LONG time since I used IRC... Like --- 15+ years.
I am old!  Lol...
legendary
Activity: 938
Merit: 1000
What's a GPU?
April 13, 2013, 10:22:21 PM
Currently we're working on an easy (easier) genesis block creation method, and rebranding of the client.

This is fun Cheesy

freenode: /join #noobcoin


Cant join... i must be invited to the channel    Sad

If at first you don't succeed: try, try again.
hero member
Activity: 631
Merit: 501
April 13, 2013, 10:15:43 PM
Currently we're working on an easy (easier) genesis block creation method, and rebranding of the client.

This is fun Cheesy

freenode: /join #noobcoin


Cant join... i must be invited to the channel    Sad
member
Activity: 98
Merit: 10
x1 7970 | Aprox. 587 kh/s
April 13, 2013, 10:10:41 PM
Currently we're working on an easy (easier) genesis block creation method, and rebranding of the client.

This is fun Cheesy

freenode: /join #noobcoin
Yay development!
legendary
Activity: 938
Merit: 1000
What's a GPU?
April 13, 2013, 10:05:40 PM
Currently we're working on an easy (easier) genesis block creation method, and rebranding of the client.

This is fun Cheesy

freenode: /join #noobcoin
hero member
Activity: 631
Merit: 501
April 13, 2013, 09:49:55 PM
I read it and it makes sense... i am away from my dev environment atm.
I will try it though... 5th may be able to confirm as well...
5th got it working via his/her own method, told us in IRC
Nice!!
member
Activity: 98
Merit: 10
x1 7970 | Aprox. 587 kh/s
April 13, 2013, 09:25:20 PM
I read it and it makes sense... i am away from my dev environment atm.
I will try it though... 5th may be able to confirm as well...
5th got it working via his/her own method, told us in IRC
Pages:
Jump to: