Bitcoin Forum
December 03, 2016, 07:51:13 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 [2]  All
  Print  
Author Topic: i0coin hits block 100000  (Read 3611 times)
doublec
Legendary
*
Offline Offline

Activity: 1078


View Profile
November 23, 2011, 03:39:45 AM
 #21

I made an attempt at fixing the following i0coin bugs:

* Fix for the timetravel/zeitgeist exploit. This is a block-forking change meaning that all clients must upgrade to this version. To enable time to update it turns on at block 150,000.
* Add a checkpoint at bock 127,360
* Remove the list of bitcoin DNS seed nodes
* Change the hardcoded i0coin seed nodes to the only active node I know of accepting connections
* Remove the outdated windows binaries included in the archive
* Changed the IRC code to use the lfnet server instead of freenode

Source (tarball and git repository) and details at http://i0coin.bitparking.com.

1480794673
Hero Member
*
Offline Offline

Posts: 1480794673

View Profile Personal Message (Offline)

Ignore
1480794673
Reply with quote  #2

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

Posts: 1480794673

View Profile Personal Message (Offline)

Ignore
1480794673
Reply with quote  #2

1480794673
Report to moderator
1480794673
Hero Member
*
Offline Offline

Posts: 1480794673

View Profile Personal Message (Offline)

Ignore
1480794673
Reply with quote  #2

1480794673
Report to moderator
1480794673
Hero Member
*
Offline Offline

Posts: 1480794673

View Profile Personal Message (Offline)

Ignore
1480794673
Reply with quote  #2

1480794673
Report to moderator
steelhouse
Hero Member
*****
Offline Offline

Activity: 700


View Profile
November 23, 2011, 08:25:24 AM
 #22

This looks great.  Have you tried to do merged mining?  There is a large bounty if you can get that working and there is source code at dot-bit to do it.
PatrickHarnett
Hero Member
*****
Offline Offline

Activity: 518



View Profile
November 23, 2011, 07:47:54 PM
 #23

Thanks Chris - I'll try some updates at the weekend.
doublec
Legendary
*
Offline Offline

Activity: 1078


View Profile
November 24, 2011, 09:36:30 AM
 #24

This looks great.  Have you tried to do merged mining?  There is a large bounty if you can get that working and there is source code at dot-bit to do it.
I have the first attempt at merge mining support in the 'mergedmining' branch of the git repository. If anyone wants to test it I'd appreciate the feedback. On linux you can clone the repository and build with:

Code:
$ git clone git://github.com/doublec/i0coin.git
$ cd i0coin
$ git checkout -b mergemining origin/mergemining
$ cd src
$ make -f makefile.unix i0coind

Merged mining is disabled on the production network but enabled on the test network. What I do is set up a 'test network in the box' approach. This allows running test nodes without connecting to the wider network. I run two nodes on i0coind testnet - these will be the 'secondary chain':

First create directories to hold the chains. Node 1:

Code:
$ mkdir -p node1/testnet
$ cat >node1/testnet/i0coin.conf
rpcpassword=node1
rpcuser=node1
daemon=1
upnp=0
rpcport=17001
noirc=1
port=18001

Node 2:

Code:
$ mkdir -p node2/testnet
$ cat >node2/testnet/i0coin.conf
rpcpassword=node2
rpcuser=node2
daemon=1
upnp=0
rpcport=17002
noirc=1
port=18002

Now we need a primary chain node. You can use namecoin for this since it's merge mine enabled. You can also use production i0coind with the binary built above since it has the code to be a primary node enabled:

Code:
$ mkdir -p node3/testnet
$ cat >node3/testnet/i0coin.conf
rpcpassword=node3
rpcuser=node3
daemon=1
upnp=0
rpcport=17003
noirc=1
port=18003

Start the nodes:

Code:
$ i0coind -conf=/full/path/to/node1/testnet/i0coin.conf -datadir=/full/path/to/node1 -port=18001 -testnet
$ i0coind -conf=/full/path/to/node2/testnet/i0coin.conf -datadir=/full/path/to/node2 -port=18002 -testnet -addnode=127.0.0.1:18001
$ i0coind -conf=/full/path/to/node3/testnet/i0coin.conf -datadir=/full/path/to/node3 -port=18003

You need the 'addnode' in the second node start so it connects to node1 to form a network. Also note that 'node3' is not a testnet node. And make sure 'i0coind' is the one built from the 'mergedmining' branch. You can check the status of the nodes with commands like:

Code:
$ i0coind -conf=/full/path/to/node1/testnet/i0coin.conf -datadir=/full/path/to/node1 -port=18001 -testnet getinfo
$ i0coind -conf=/full/path/to/node2/testnet/i0coin.conf -datadir=/full/path/to/node2 -port=18002 -testnet listtransactions

Now run the merged mining proxy:

Code:
$ contrib/merged-mine-proxy -w 17004 -p http://node3:node3@127.0.0.1:17003/ -x http://node2:node2@127.0.0.1:17002/

The merged-mine-proxy code is from namecoin and is in the 'contrib' subdirectory of the i0coind 'mergedmining' source. This proxy will listen on port 17004 which is where you should point your miners. For example, poclbm:

Code:
python poclbm.py -d 0 --user mm --pass mm --host localhost --port 17004

You can use any username/password. You should see output from the proxy when the miner finds a block like:

Code:
2011-11-24T09:13:04.598774,solve,0,1,00000000a94a6f99a4ff77dc5ec8cdda3567ac3674bbc1e7ceec8339083d0e86

The "solve,0,1" means it solved the secondary chain (the i0coind testnet). It'd be "solve,1,1" if it solved the primary and secondary chain. Hopefully the above gives a start for people to test the code. When it's confident that it's stable we can set a block to enable it live.
doublec
Legendary
*
Offline Offline

Activity: 1078


View Profile
November 24, 2011, 01:34:41 PM
 #25

Success! Block 130176 on the main i0coin chain is a block mined using merge mining. It mined a testnet block and a mainnet block. You can see the coinbase containing the extra data:

Code:
"coinbase" : "0445fe021c0131522cfabe6d6d02309d7a5cdf4eddf7773d0c40d7771f052bb0821b95885e229a226f5ed291060100000000000000"

kjlimo
Legendary
*
Offline Offline

Activity: 1498


View Profile WWW
November 25, 2011, 06:06:17 AM
 #26

croiky, is this why i0coin network hash rate has been increasing over the course of today?

CampBX for buying BTCs, Coinbase for selling BTCs or Vircurex or Cryptsy for trading alternate cryptocurrencies like DOGEs

PM me with any questions on these sites!  Happy to help!

Bitcoin Poker at Seals                  Strike Sapphire Casino  Free games every hour & day!
  Get Free Bitcoins here.

Spondoolies-Tech or KnC Miner for the fastest mining hardware available!

Bitpay to help your business accept bitcoin payments!
doublec
Legendary
*
Offline Offline

Activity: 1078


View Profile
November 25, 2011, 11:39:15 AM
 #27

I've updated the 'master' branch of github to version 32504 which includes the merged mining code. With this you can use i0coin as a primary merge mining chain. This allows mining namecoins and i0coins at the same time (namecoin as the auxiliary chain). Once it's been tested for a bit longer I'll enable a switch on block for support for i0coin as a auxiliary chain. That will enable mining bitcoins and i0coins at the same time.

To mine i0coins and namecoins, make sure i0coind and namecoind are running (or the GUI versions with the 'server' option enabled). Now run 'merged-mine-proxy' from the 'contrib' subdirectory of the source like so:

Code:
$ contrib/merged-mine-proxy -w 9332 -p http://i0cuser:password@127.0.0.1:7332/ -x http://nmcuser:password@127.0.0.1:8332/

Replace  the username and passwords with those from the namecoin and i0coin .conf files. Now point your miner to port 9332 with any username and password. Mining will start with i0coins and namecoins being mined at the same time. Output will look like:

Code:
# i0coin block found
2011-11-24T09:13:04.598774,solve,1,0,00000000a94a6f99a4ff77dc5ec8cdda3567ac3674bbc1e7ceec8339083d0e86

# i0coin and namecoin block found
2011-11-24T09:13:04.598774,solve,1,1,00000000a94a6f99a4ff77dc5ec8cdda3567ac3674bbc1e7ceec8339083d0e86

freequant
Hero Member
*****
Offline Offline

Activity: 700


View Profile
November 25, 2011, 12:47:43 PM
 #28


I will contribute 5 BTC, 1000 IXC, and 1000 IOC if the reward is lowered to 1 or less (instead of 48).

I will contribue 20 SC, 100 LTC and 0.5 BTC to finish off the poor creature.

Current Donations For development
---------------------------------
165K i0coin (BitcoinEXpress)
100K i0coin (Lightlord)
1000 ixc (Steelhouse)
1000 i0c (Steelhouse)
250 solidcoin (Lightlord)
5.0 btc (Steelhouse)
2.5 btc (Lightlord)

Current Donations For Slaughtering
----------------------------------
20 ScamCoin (freequant)
100 Litecoin (freequant)
0.5 Bitcoin (freequant)
kjlimo
Legendary
*
Offline Offline

Activity: 1498


View Profile WWW
November 25, 2011, 02:38:06 PM
 #29

1) Will http://i0pool.bitparking.com/pool be using merged mining once enabled?

2) Sounds like either namecoins & i0coins can be merge mined, or bitcoins & i0coins.  Is there a way to merge mine all 3 at once?  Or is that not currently possible?

3) If not currently possible, do you think it may be possible with further R & D?

Thanks for reviving the chain!

CampBX for buying BTCs, Coinbase for selling BTCs or Vircurex or Cryptsy for trading alternate cryptocurrencies like DOGEs

PM me with any questions on these sites!  Happy to help!

Bitcoin Poker at Seals                  Strike Sapphire Casino  Free games every hour & day!
  Get Free Bitcoins here.

Spondoolies-Tech or KnC Miner for the fastest mining hardware available!

Bitpay to help your business accept bitcoin payments!
Pages: « 1 [2]  All
  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!