Blindfolded
|
|
April 13, 2013, 10:47:00 PM |
|
Ok, should I just change some numbers and letters in this line? 32 uint256 hashGenesisBlock("0x12a765e31ffd4059bada1e25190f6e98c99d9714d334efa41a195a7e7e04bfe2"); No!!!. The genesis block process is not as simple as that. You ACTUALLY need to mine it as a regular block. It's also a process that I don't understand. This is probably the thing that will slow you down the most. What if you start a solo server and you configure your miner to mine at this server? Like if you solo mine Bitcoin or Litecoin, but now you're solo mining Noobcoin. Noobcoin.... awesome!
|
|
|
|
Remember remember the 5th of November
Legendary
Offline
Activity: 1862
Merit: 1011
Reverse engineer from time to time
|
|
April 13, 2013, 10:47:50 PM |
|
The genesis block is created from this piece of code const char* pszTimestamp = "The Times 03/Jan/2009 Chancellor on brink of second bailout for banks" //<- change this to something else; CTransaction txNew; txNew.vin.resize(1); txNew.vout.resize(1); txNew.vin[0].scriptSig = CScript() << 486604799 << CBigNum(4) << vector<unsigned char>((const unsigned char*)pszTimestamp, (const unsigned char*)pszTimestamp + strlen(pszTimestamp)); txNew.vout[0].nValue = 50 * COIN //your premine basically; txNew.vout[0].scriptPubKey = CScript() << ParseHex("<public key from an ECDSA keypair>") << OP_CHECKSIG; CBlock block; block.vtx.push_back(txNew); block.hashPrevBlock = 0; block.hashMerkleRoot = block.BuildMerkleTree(); Now you mine that.
|
BTC:1AiCRMxgf1ptVQwx6hDuKMu4f7F27QmJC2
|
|
|
Brunic
|
|
April 13, 2013, 10:48:56 PM |
|
Ok, should I just change some numbers and letters in this line? 32 uint256 hashGenesisBlock("0x12a765e31ffd4059bada1e25190f6e98c99d9714d334efa41a195a7e7e04bfe2"); No!!!. The genesis block process is not as simple as that. You ACTUALLY need to mine it as a regular block. It's also a process that I don't understand. This is probably the thing that will slow you down the most. Well if i start mining this genesis block am i not just mining litecoins? Litecoin is simply a blockchain, like Bitcoin is another blockchain. I guess that changing the hash shouldn't be that problematic. As long as you have your own blockchain, you cannot merge on another one.
|
|
|
|
pixel (OP)
Member
Offline
Activity: 98
Merit: 10
x1 7970 | Aprox. 587 kh/s
|
|
April 13, 2013, 10:49:01 PM |
|
So what exactly should I be doing now? I guidance through this
|
Currently Mining: Litecoin, Xencoin, and Worldcoin (Just because its fun!, don't yell at me ;_;)
|
|
|
wmikrut
|
|
April 13, 2013, 10:49:31 PM |
|
The genesis block is created from this piece of code const char* pszTimestamp = "The Times 03/Jan/2009 Chancellor on brink of second bailout for banks" <- change this to something else; CTransaction txNew; txNew.vin.resize(1); txNew.vout.resize(1); txNew.vin[0].scriptSig = CScript() << 486604799 << CBigNum(4) << vector<unsigned char>((const unsigned char*)pszTimestamp, (const unsigned char*)pszTimestamp + strlen(pszTimestamp)); txNew.vout[0].nValue = 50 * COIN; txNew.vout[0].scriptPubKey = CScript() << ParseHex("<public key from an ECDSA keypair>") << OP_CHECKSIG; CBlock block; block.vtx.push_back(txNew); block.hashPrevBlock = 0; block.hashMerkleRoot = block.BuildMerkleTree(); Now you mine that. Yes... I read it's common practice (as it were) to put the headline from the current newspaper in the genesis block code.
|
I will NEVER ask for any kind of funds up front in a buy/sale of anything on bitcointalk.
BM-2cTFihJKmSwusMAoYuUHPvpx56Jozv64KK
|
|
|
Brunic
|
|
April 13, 2013, 10:50:04 PM |
|
The genesis block is created from this piece of code const char* pszTimestamp = "The Times 03/Jan/2009 Chancellor on brink of second bailout for banks" //<- change this to something else; CTransaction txNew; txNew.vin.resize(1); txNew.vout.resize(1); txNew.vin[0].scriptSig = CScript() << 486604799 << CBigNum(4) << vector<unsigned char>((const unsigned char*)pszTimestamp, (const unsigned char*)pszTimestamp + strlen(pszTimestamp)); txNew.vout[0].nValue = 50 * COIN //your premine basically; txNew.vout[0].scriptPubKey = CScript() << ParseHex("<public key from an ECDSA keypair>") << OP_CHECKSIG; CBlock block; block.vtx.push_back(txNew); block.hashPrevBlock = 0; block.hashMerkleRoot = block.BuildMerkleTree(); Now you mine that. Where is it? Which file, which line?
|
|
|
|
Remember remember the 5th of November
Legendary
Offline
Activity: 1862
Merit: 1011
Reverse engineer from time to time
|
|
April 13, 2013, 10:50:12 PM |
|
Yes... I read it's common practice (as it were) to put the headline from the current newspaper in the genesis block code.
Not necessarily, for instance Litecoin used Steve Jobs's death. If it was me, I'd have chosen Cypress's bailout. It would've been the equivalent to satoshi's message and would've guaranteed you success
|
BTC:1AiCRMxgf1ptVQwx6hDuKMu4f7F27QmJC2
|
|
|
Brunic
|
|
April 13, 2013, 10:52:30 PM |
|
So what exactly should I be doing now? Help us look for the damn Start blockchain button But what if you compile your code, start it with the -server function and try to mine it?
|
|
|
|
Remember remember the 5th of November
Legendary
Offline
Activity: 1862
Merit: 1011
Reverse engineer from time to time
|
|
April 13, 2013, 10:53:45 PM |
|
So what exactly should I be doing now? Help us look for the damn Start blockchain button But what if you compile your code, start it with the -server function and try to mine it? I don't think it can work like that, since the client assumes that a genesis block already exists. Since it doesn't in your case, you need a custom miner.
|
BTC:1AiCRMxgf1ptVQwx6hDuKMu4f7F27QmJC2
|
|
|
pixel (OP)
Member
Offline
Activity: 98
Merit: 10
x1 7970 | Aprox. 587 kh/s
|
|
April 13, 2013, 10:54:35 PM |
|
I can use guiminer-scrypt
|
Currently Mining: Litecoin, Xencoin, and Worldcoin (Just because its fun!, don't yell at me ;_;)
|
|
|
Blindfolded
|
|
April 13, 2013, 10:54:48 PM |
|
So what exactly should I be doing now? Help us look for the damn Start blockchain button But what if you compile your code, start it with the -server function and try to mine it? Who wants to buy some noobcoins now!
|
|
|
|
|
wmikrut
|
|
April 13, 2013, 10:57:39 PM |
|
+1 Nice!!
|
I will NEVER ask for any kind of funds up front in a buy/sale of anything on bitcointalk.
BM-2cTFihJKmSwusMAoYuUHPvpx56Jozv64KK
|
|
|
pixel (OP)
Member
Offline
Activity: 98
Merit: 10
x1 7970 | Aprox. 587 kh/s
|
|
April 13, 2013, 11:00:08 PM |
|
So what exactly should I be doing now? Help us look for the damn Start blockchain button But what if you compile your code, start it with the -server function and try to mine it? Who wants to buy some noobcoins now! Lets not get ahead of ourselves, We don't even have most of the variables set
|
Currently Mining: Litecoin, Xencoin, and Worldcoin (Just because its fun!, don't yell at me ;_;)
|
|
|
pixel (OP)
Member
Offline
Activity: 98
Merit: 10
x1 7970 | Aprox. 587 kh/s
|
|
April 13, 2013, 11:01:07 PM |
|
+1 Nice!! Does it work with scrypt? ƞoobcoin is a good name though On the road to 50ƞ
|
Currently Mining: Litecoin, Xencoin, and Worldcoin (Just because its fun!, don't yell at me ;_;)
|
|
|
wmikrut
|
|
April 13, 2013, 11:10:20 PM |
|
+1 Nice!! Does it work with scrypt? ƞoobcoin is a good name though On the road to 50ƞ Lol.. noobcoin... "new B coin"... whatever. It's a fun exercise!
|
I will NEVER ask for any kind of funds up front in a buy/sale of anything on bitcointalk.
BM-2cTFihJKmSwusMAoYuUHPvpx56Jozv64KK
|
|
|
pixel (OP)
Member
Offline
Activity: 98
Merit: 10
x1 7970 | Aprox. 587 kh/s
|
|
April 13, 2013, 11:11:03 PM |
|
Im still a little confused, What should I be doing right now? lol
|
Currently Mining: Litecoin, Xencoin, and Worldcoin (Just because its fun!, don't yell at me ;_;)
|
|
|
wmikrut
|
|
April 13, 2013, 11:14:02 PM |
|
Im still a little confused, What should I be doing right now? lol Hmm... a checklist would be in order.... Update the settings on main.h/.cpp Update the code for the genesis block Use Remember remember the 5th of November's Find Genesis Block Fuzzy here: Put hash of genesis block in settings. Compile new coin code. Launch client w/ -server Mine?
|
I will NEVER ask for any kind of funds up front in a buy/sale of anything on bitcointalk.
BM-2cTFihJKmSwusMAoYuUHPvpx56Jozv64KK
|
|
|
pixel (OP)
Member
Offline
Activity: 98
Merit: 10
x1 7970 | Aprox. 587 kh/s
|
|
April 13, 2013, 11:16:07 PM |
|
Im still a little confused, What should I be doing right now? lol Hmm... a checklist would be in order.... Update the settings on main.h/.cpp Update the code for the genesis block Use Remember remember the 5th of November's Find Genesis Block Fuzzy here: Put hash of genesis block in settings. Compile new coin code. Launch client w/ -server Mine? Ah good, Im updating the settings in the main files now. So far I have changed the max number of coins. static const int64 MAX_MONEY = 25000000 * COIN; // N00bcoin: maximum of 25 million coins (sound familiar?)
|
Currently Mining: Litecoin, Xencoin, and Worldcoin (Just because its fun!, don't yell at me ;_;)
|
|
|
pixel (OP)
Member
Offline
Activity: 98
Merit: 10
x1 7970 | Aprox. 587 kh/s
|
|
April 13, 2013, 11:18:47 PM |
|
It would be cool to get some altcoin devs in here, were are all of them? :3
|
Currently Mining: Litecoin, Xencoin, and Worldcoin (Just because its fun!, don't yell at me ;_;)
|
|
|
|