Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: JohnDoe on August 19, 2011, 02:52:57 AM



Title: i0coin's sauce?
Post by: JohnDoe on August 19, 2011, 02:52:57 AM
Is the source code for i0coin available anywhere? I heard it implemented the "retarget every 2016 blocks or every 2 weeks, whichever comes first" feature and want to check it out.


Title: Re: i0coin's sauce?
Post by: jackjack on August 19, 2011, 02:58:45 AM
Google "github i0coin"


Title: Re: i0coin's sauce?
Post by: JohnDoe on August 19, 2011, 03:13:34 AM
Weird, Github was the first place I looked but the internal search engine doesn't list it.

Thanks.


Title: Re: i0coin's sauce?
Post by: xxxcoin on August 19, 2011, 03:41:45 AM
It's here:

https://github.com/kr105rlz/i0coin


Title: Re: i0coin's sauce?
Post by: caston on August 19, 2011, 03:45:40 AM
Thinking of a fork?


Title: Re: i0coin's sauce?
Post by: smoothie on August 19, 2011, 03:49:43 AM
Thinking of a fork?


Maybe a spoon


Title: Re: i0coin's sauce?
Post by: caston on August 19, 2011, 03:53:53 AM

I'm still stuck at this part:


bitcoind: main.cpp:1615: bool LoadBlockIndex(bool): Assertion `block.GetHash() == hashGenesisBlock' failed.
Aborted


want to see my main.cpp?


Title: Re: i0coin's sauce?
Post by: smoothie on August 19, 2011, 03:59:42 AM

I'm still stuck at this part:


bitcoind: main.cpp:1615: bool LoadBlockIndex(bool): Assertion `block.GetHash() == hashGenesisBlock' failed.
Aborted


want to see my main.cpp?

Sure.


Title: Re: i0coin's sauce?
Post by: caston on August 19, 2011, 04:06:58 AM
http://www.perth-exchange.org/main.cpp

I've been working with multicoin to get the merklehash and devcoin and groupcoin to try to get it working. Also been playing with ixcoin and i0coin.

I need a few minutes help from someone that knows what they're doing obviously.

I wanted the 4 byte message to be IWON

the first letter of the addresses to be i or I in base58.h

and a different port obviously. I was even thinking of making the starting difficulty so low that people will have no choice but to do the first thousand blocks with CPUs. The currency was to be called IWON instead of i1.

BTW /bitcoind -printtoconsole is awesome

I've been using a combination of "beyond compare" and meld to compare the source files.

here is some output:

Code:


Bitcoin version 0.3.24-beta
Default data directory /home/user/.devcoin
Bound to port 52333
Loading addresses...
dbenv.open strLogDir=/home/user/.devcoin/database strErrorFile=/home/user/.devcoin/db.log
Loaded 0 addresses
 addresses                42ms
Loading block index...
block.nTime = 1313633848
block.nBits = 487063544
block.nNonce = 0
b1c83fe206d6cdda3a38fb2ef71549586505905de235f2a71c1db752a7d71440
0000000062558fec003bcbf29e915cddfc34fa257dc87573f28e4520d1c7c11e
7e4daf9abab86b10ecd493a51422d58bd7be26dbb59d739fa2265a253d01a65d
block.nTime = 1313633848
block.nBits = 487063544
block.nNonce = 0
b1c83fe206d6cdda3a38fb2ef71549586505905de235f2a71c1db752a7d71440
0000000062558fec003bcbf29e915cddfc34fa257dc87573f28e4520d1c7c11e
7e4daf9abab86b10ecd493a51422d58bd7be26dbb59d739fa2265a253d01a65d
CBlock(hash=b1c83fe206d6cdda3a38, ver=1, hashPrevBlock=00000000000000000000, hashMerkleRoot=7e4daf9aba, nTime=1313633848, nBits=1d07fff8, nNonce=0, vtx=1)
  CTransaction(hash=7e4daf9aba, ver=1, vin.size=1, vout.size=1, nLockTime=0)
    CTxIn(COutPoint(0000000000, -1), coinbase 04ffff001d01044c6d536369656e6365206461696c7920417567203137203230313120427265617468696e67204e6577204c69666520496e746f2045617274682045766964656e6365206f66204561726c79204f787967656e20696e20746865204f6365616e73206f66204f757220506c616e65742e)
    CTxOut(nValue=50.00000000, scriptPubKey=04678afdb0fe5548271967f1a67130)
  vMerkleTree: 7e4daf9aba
block.nTime = 1313633848
block.nBits = 487063544
block.nNonce = 1525734950
00000003240b31f496912586a500bbdf9f73f8c15104d6fc3e411d402ac2c62e
0000000062558fec003bcbf29e915cddfc34fa257dc87573f28e4520d1c7c11e
7e4daf9abab86b10ecd493a51422d58bd7be26dbb59d739fa2265a253d01a65d
CBlock(hash=00000003240b31f49691, ver=1, hashPrevBlock=00000000000000000000, hashMerkleRoot=7e4daf9aba, nTime=1313633848, nBits=1d07fff8, nNonce=1525734950, vtx=1)
  CTransaction(hash=7e4daf9aba, ver=1, vin.size=1, vout.size=1, nLockTime=0)
    CTxIn(COutPoint(0000000000, -1), coinbase 04ffff001d01044c6d536369656e6365206461696c7920417567203137203230313120427265617468696e67204e6577204c69666520496e746f2045617274682045766964656e6365206f66204561726c79204f787967656e20696e20746865204f6365616e73206f66204f757220506c616e65742e)
    CTxOut(nValue=50.00000000, scriptPubKey=04678afdb0fe5548271967f1a67130)
  vMerkleTree: 7e4daf9aba
bitcoind: main.cpp:1615: bool LoadBlockIndex(bool): Assertion `block.GetHash() == hashGenesisBlock' failed.
Aborted



Title: Re: i0coin's sauce?
Post by: caston on August 19, 2011, 04:16:56 AM
This is the output from the original multicoin using my chosen pszTimestamp:

Code:

creating new genesis block I hope
 pszTimestamp = >Science daily Aug 17 2011 Breathing New Life Into Earth Evidence of Early Oxygen in the Oceans of Our Planet.<
block.nTime custom configured by -block_nTime in bitcoin.conf
block.nNonce custom configured by -block_nNonce in bitcoin.conf
block.nTime = 1313633848
block.nBits = 487063544
block.nBits hex = 1d07fff8
block.nNonce = 0
block.nTime = 1313633848
block.nNonce = 1525734950
block.GetHash = 00000003240b31f496912586a500bbdf9f73f8c15104d6fc3e411d402ac2c62e
hashGenesisBlock = 00000007199508e34a9ff81e6ec0c477a4cccff2a4767a8eee39c11db367b008
block.hashMerkleRoot = 7e4daf9abab86b10ecd493a51422d58bd7be26dbb59d739fa2265a253d01a65d
bitcoind: main.cpp:1739: bool LoadBlockIndex(bool): Assertion `block.hashMerkleRoot == uint256("0x4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b")' failed.
Aborted

[/quote]

if I was able to get this working i'd be trying to get a Perth (Australia) based pool interested and I'd be using cgminer this time. I'd setup some forums.


I'd want another offical launch giving people about 1 week notice. If anyone gets this working and posts it then for now its a testnet. I don't want an exchange for BTC nor the previous IX,0X coins.
It is intended for use as a currency.

It will be launched via github. The project will also be there available for development testing before launch.


Title: Re: i0coin's sauce?
Post by: smoothie on August 19, 2011, 04:34:43 AM
This is the output from the original multicoin using my chosen pszTimestamp:

Code:

creating new genesis block I hope
 pszTimestamp = >Science daily Aug 17 2011 Breathing New Life Into Earth Evidence of Early Oxygen in the Oceans of Our Planet.<
block.nTime custom configured by -block_nTime in bitcoin.conf
block.nNonce custom configured by -block_nNonce in bitcoin.conf
block.nTime = 1313633848
block.nBits = 487063544
block.nBits hex = 1d07fff8
block.nNonce = 0
block.nTime = 1313633848
block.nNonce = 1525734950
block.GetHash = 00000003240b31f496912586a500bbdf9f73f8c15104d6fc3e411d402ac2c62e
hashGenesisBlock = 00000007199508e34a9ff81e6ec0c477a4cccff2a4767a8eee39c11db367b008
block.hashMerkleRoot = 7e4daf9abab86b10ecd493a51422d58bd7be26dbb59d739fa2265a253d01a65d
bitcoind: main.cpp:1739: bool LoadBlockIndex(bool): Assertion `block.hashMerkleRoot == uint256("0x4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b")' failed.
Aborted

[/quote]

if I was able to get this working i'd be trying to get a Perth (Australia) based pool interested and I'd be using cgminer this time. I'd setup some forums.


I'd want another offical launch giving people about 1 week notice. If anyone gets this working and posts it then for now its a testnet. I don't want an exchange for BTC nor the previous IX,0X coins.
It is intended for use as a currency.

It will be launched via github.

So what will you exchange them for? Goods? Services? How?


Title: Re: i0coin's sauce?
Post by: Raoul Duke on August 19, 2011, 04:41:10 AM
So what will you exchange them for? Goods? Services? How?

shhhhhhhhhhhhhhhhhhh

da man want's to get rich also!  ::)

After reading all his posts whining that he missed bitcoin, he missed ixcon and he missed i0con, now he wants his own fork

FFS

https://i.imgur.com/OcPvh.png


Title: Re: i0coin's sauce?
Post by: caston on August 19, 2011, 04:41:32 AM

So what will you exchange them for? Goods? Services? How?

Mainly services to start with. A small portion could go to projects that aim to service the public's needs but that would take it longer to get out the door. Then again we already have the devcoin code.
I always complaining that devcoins share was too high at 90% an wanted it lowered to 10%. I was making rabid speculation before about seperating the provision of public good from the state. This seems like an awesome idea for spin off project that many libertarians and bleeding heart pinkies alike may be interested in helping with.

This project could go in that direction as a devcoin fork not a i0coin fork. I was just working on something I could get out the door quicker but if we are going to take longer on it that would be the direction i'd push it.


Title: Re: i0coin's sauce?
Post by: caston on August 19, 2011, 04:45:03 AM
BTW i0coins sauce is very spicy ;)


Title: Re: i0coin's sauce?
Post by: caston on August 19, 2011, 04:48:31 AM
So what will you exchange them for? Goods? Services? How?

shhhhhhhhhhhhhhhhhhh

da man want's to get rich also!  ::)

After reading all his posts whining that he missed bitcoin, he missed ixcon and he missed i0con, now he wants his own fork

FFS

https://i.imgur.com/OcPvh.png

Well dude, i'd love to get out of debt and get some funding for Rejuvepedia. I'm not beaten yet.


Title: Re: i0coin's sauce?
Post by: doublec on August 19, 2011, 05:00:02 AM
I don't want an exchange for BTC nor the previous IX,0X coins.  It is intended for use as a currency.
There's not really much you can do to stop people from setting up an exchange though. Even if they just trade in forums it's effectively become a vehicle for speculation.


Title: Re: i0coin's sauce?
Post by: Raoul Duke on August 19, 2011, 05:01:04 AM
Well dude, i'd love to get out of debt and get some funding for Rejuvepedia. I'm not beaten yet.

So, why don't you get a job?

Get out of debt? People should learn to only buy stuff when they have to economic power for it, not just because they want to.

Most people in this forum want to end the debt system, yet, they seem to depend so much on it...

I bet you could use your determination for things more worthwhile than get-rich-quick scams. You seem to be a nice guy, but all this hurts you more than it helps you.

take everything i said with a grain of salt. Not bashing on you, you just seem a bit... lost?


Title: Re: i0coin's sauce?
Post by: caston on August 19, 2011, 05:05:26 AM
Well dude, i'd love to get out of debt and get some funding for Rejuvepedia. I'm not beaten yet.

So, why don't you get a job?

Get out of debt? People should learn to only buy stuff when they have to economic power for it, not just because they want to.

Most people in this forum want to end the debt system, yet, they seem to depend so much on it...

I bet you could use your determination for things more worthwhile than get-rich-quick scams. You seem to be a nice guy, but all this hurts you more than it helps you.

take everything i said with a grain of salt. Not bashing on you, you just seem a bit... lost?


I do have a job. Two actually. I work part-time in a call center and part-time self employed as a call out PC tech. I could have got out of debt very easily if bought a 67 cents and sold at $30 but that's hindset. To be a leader you need to think about the future and what opportunities  are coming up not that the ones you missed.


Title: Re: i0coin's sauce?
Post by: bitv on August 19, 2011, 08:40:00 AM
Alternate cryptocurrencies are great, but please refine your ideas long enough and build a solid infrastructure. Don't be late on launch, have executables for all platforms + source code available, have a working block explorer, some currency exchanges (probably from YourCoin <-> USD / EUR), existing services (not necessarily anything big, but something for people to abuse their coins, poker for example) etc.

Have big enough starting difficulty so it will be more equal playground for everyone. Name your currency wisely. Encourage people to mine and test their services / setups on testnet, before launch to find any potential problems etc.


Title: Re: i0coin's sauce?
Post by: JohnDoe on August 19, 2011, 12:43:22 PM
Thinking of a fork?


Yeah, something similar to these:

https://bitcointalk.org/index.php?topic=36450.msg462299#msg462299
https://bitcointalk.org/index.php?topic=37405.0

I'm not a C++ guy, hell I'm not any kind of programmer, but I may be giving it a try.


Title: Re: i0coin's sauce?
Post by: JohnDoe on August 19, 2011, 12:59:18 PM
Alternate cryptocurrencies are great, but please refine your ideas long enough and build a solid infrastructure. Don't be late on launch, have executables for all platforms + source code available, have a working block explorer, some currency exchanges (probably from YourCoin <-> USD / EUR), existing services (not necessarily anything big, but something for people to abuse their coins, poker for example) etc.

Have big enough starting difficulty so it will be more equal playground for everyone. Name your currency wisely. Encourage people to mine and test their services / setups on testnet, before launch to find any potential problems etc.

There's no need for a red carpet launch, only the source is needed. Bitcoin and Namecoin launched with just the source and are doing just fine. Namecoin doesn't even have an official GUI yet. Agree about refining the idea, having enough starting difficulty and a marketable name though.


Title: Re: i0coin's sauce?
Post by: bitv on August 19, 2011, 01:17:47 PM
It's not necessary, but it does help because it kind of back ups the currency's value when it tends to drop after the initial hype. There should be enough incentive to mine even after the difficulty has gone up a little bit and miners head back to Bitcoin (like current situation of either NMC, IXC or I0C).

If you guys want to collaborate in any way, I'm here. I have done some C(++) programming, but I haven't even looked at the sources yet.


Title: Re: i0coin's sauce?
Post by: caston on August 20, 2011, 06:31:08 AM
Oh looks like I uploaded the wrong main.cpp. It wasn't the one I was working on. lol.


Anyway you could probably automate the creation of new block chains. You could write a script that takes tweets and uses them as the pszTimestamp, gets the epoc date, calculates the merkleroot and so on.
For instance you could write code or a script that parses to code that makes a new block chain every time lady gaga makes a Tweet.

I think the real problem is that all the new currencies are really the same hashing algorithm and its far to easy for miners to hop from one currency to another or for two currencies to even be merged.

If you really want a new currency best to use a completely different and possibly even stronger hashing algorithm.

According to this thread here bitcoin is encryption is already veryvery strong though.
https://bitcointalk.org/index.php?topic=1713.0

But still I think this could be a great way to help make a network for each SHA3 finalist.

http://www.nist.gov/itl/csd/sha3_010511.cfm

This could be an interesting way to allow people to wage "bets" on who which hash will become SHA3.
BLAKEcoin
Grøstlcoin,
JHcoin,
Keccakcoin,
Skeincoin,

People can attempt to mine or buy the one they tip to win.

There's are still other weaknesses in bitcoin that get tested with every new network. The greater than 50% and winner takes all problems for instance. If someone could think of an ingenious way of fixing this then they might have a candidate for bitcoin 2.0 or at least 1.5