Chris Acheson
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 29, 2011, 07:48:43 AM |
|
Do you realise how ironic this is?
Shh, don't ruin it. ![Wink](https://bitcointalk.org/Smileys/default/wink.gif)
|
|
|
|
ArtForz
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 29, 2011, 07:59:49 AM |
|
Please set the block number for the change over a bit higher before relaunch.
Sure, we can switch after block 16127, at diff 16384 and a exchange rate of 0.0006 those remaining 1495 blocks should be done in ... 6 months or so.
|
bitcoin: 1Fb77Xq5ePFER8GtKRn2KDbDTVpJKfKmpz i0coin: jNdvyvd6v6gV3kVJLD7HsB5ZwHyHwAkfdw
|
|
|
fusebox
Newbie
Offline
Activity: 37
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 29, 2011, 09:25:25 AM |
|
First stab at adding a 3s recv timeout to the NTP stuff, I *hate* asio. diff --git a/src/util.cpp b/src/util.cpp index 31dcb57..cfd1932 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -839,6 +839,17 @@ time_t GetNTPTime( const char* ntpServer ) socket.send_to( boost::asio::buffer(data), receiver_endpoint); + //ugly hack, CBA to switch to asio async I/O just to get a 3 sec timeout + int hSocket = socket.native(); + fd_set fdset; + FD_ZERO(&fdset); + FD_SET(hSocket, &fdset); + struct timeval t; + t.tv_sec = 3; + t.tv_usec = 0; + int n_readable = select(hSocket+1, &fdset, NULL, NULL, &t); + if (!n_readable) + return time_t(0); socket.receive_from( boost::asio::buffer(data), sender_endpoint); @@ -890,10 +901,17 @@ int64 GetAdjustedTime() if((time - nTimeNTPLastSync) >= (60 * 5)) // Calculate the NTP offset once every 5 min { - int64 ntpTime = GetNTPTime(); - nTimeNTPOffset = ntpTime - time; nTimeNTPLastSync = time; - printf("nTimeNTPOffset=%d\n",nTimeNTPOffset); + int64 ntpTime = GetNTPTime(); + if (ntpTime) + { + nTimeNTPOffset = ntpTime - time; + printf("nTimeNTPOffset=%d\n",nTimeNTPOffset); + } + else + { + printf("NTP timeout\n"); + } } return time + nTimeNTPOffset;
it compiles, seems to work and doesn't lock up or crash the client... so far. committed
|
|
|
|
Anonymous
Guest
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 29, 2011, 09:57:16 AM |
|
It still should be 42 coins per block and rename i0coin to 42coin.
Its the answer to life ,the universe, and everything.
Then Art can say so long and thanks for all the coins ?
|
|
|
|
smoothie
Legendary
Offline
Activity: 2492
Merit: 1473
LEALANA Bitcoin Grim Reaper
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 29, 2011, 10:46:39 AM |
|
lol So guys what are we doing over here? Restart i0coin? LAWL ![Cheesy](https://bitcointalk.org/Smileys/default/cheesy.gif)
|
███████████████████████████████████████
,╓p@@███████@╗╖, ,p████████████████████N, d█████████████████████████b d██████████████████████████████æ ,████²█████████████████████████████, ,█████ ╙████████████████████╨ █████y ██████ `████████████████` ██████ ║██████ Ñ███████████` ███████ ███████ ╩██████Ñ ███████ ███████ ▐▄ ²██╩ a▌ ███████ ╢██████ ▐▓█▄ ▄█▓▌ ███████ ██████ ▐▓▓▓▓▌, ▄█▓▓▓▌ ██████─ ▐▓▓▓▓▓▓█,,▄▓▓▓▓▓▓▌ ▐▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▌ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓─ ²▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓╩ ▀▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▀ ²▀▀▓▓▓▓▓▓▓▓▓▓▓▓▀▀` ²²² ███████████████████████████████████████
| . ★☆ WWW.LEALANA.COM My PGP fingerprint is A764D833. History of Monero development Visualization ★☆ . LEALANA BITCOIN GRIM REAPER SILVER COINS. |
|
|
|
fusebox
Newbie
Offline
Activity: 37
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 29, 2011, 10:50:01 AM |
|
committed
Ok, got a windows binary rebuilt with all the changes discussed above... Just need a ok place to post it. Obviously no one should trust these binaries and you should compile yourself.... but those not inclined to do so we do have an update available.
|
|
|
|
smoothie
Legendary
Offline
Activity: 2492
Merit: 1473
LEALANA Bitcoin Grim Reaper
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 29, 2011, 11:41:47 AM |
|
committed
Ok, got a windows binary rebuilt with all the changes discussed above... Just need a ok place to post it. Obviously no one should trust these binaries and you should compile yourself.... but those not inclined to do so we do have an update available. Link?
|
███████████████████████████████████████
,╓p@@███████@╗╖, ,p████████████████████N, d█████████████████████████b d██████████████████████████████æ ,████²█████████████████████████████, ,█████ ╙████████████████████╨ █████y ██████ `████████████████` ██████ ║██████ Ñ███████████` ███████ ███████ ╩██████Ñ ███████ ███████ ▐▄ ²██╩ a▌ ███████ ╢██████ ▐▓█▄ ▄█▓▌ ███████ ██████ ▐▓▓▓▓▌, ▄█▓▓▓▌ ██████─ ▐▓▓▓▓▓▓█,,▄▓▓▓▓▓▓▌ ▐▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▌ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓─ ²▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓╩ ▀▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▀ ²▀▀▓▓▓▓▓▓▓▓▓▓▓▓▀▀` ²²² ███████████████████████████████████████
| . ★☆ WWW.LEALANA.COM My PGP fingerprint is A764D833. History of Monero development Visualization ★☆ . LEALANA BITCOIN GRIM REAPER SILVER COINS. |
|
|
|
fusebox
Newbie
Offline
Activity: 37
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 29, 2011, 11:45:34 AM |
|
ok, so I confirmed this new client is working.. I'll call it version i0coin 1.1... Those who choose to adopt it.. the current block chain is at 14632... So the new 1.1 rules will kick in 8 blocks.. should give plenty of time for those who were wanting it to recompile and go live. Changes at block 14640: Rebase to 256 difficulty... 90 second blocks. Solidcoin retarget method. Client bugs fixed: Issues with negative block count on loading new chain... NTP hangs. Code: https://github.com/fusebox/i0coin
|
|
|
|
fusebox
Newbie
Offline
Activity: 37
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 29, 2011, 11:46:32 AM |
|
Link?
Where do you suggest? I don't know what a trusted location to post these.
|
|
|
|
fusebox
Newbie
Offline
Activity: 37
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 29, 2011, 11:51:37 AM |
|
This one still stands ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) I would like to setup a bounty for fixing i0coins:
200 i0coins for the one who fixes it!
Who wants to add some more? Quote and add your name to the list!
Bounty list: MaGNeT - 200 i0coins d.james - 400 i0coins
Total - 600 i0coins Remember, we can only pay the bounty if the network is up again ![Grin](https://bitcointalk.org/Smileys/default/grin.gif) Obviously your call on this.. but I want to be clear that ArtForz should be considered for the bulk of bounty or a share as his code led to the changes.. I'm just the shlep who checked it in. Hopefully anyone looking for i0coin to come back to rescue thier i0coin balance or exchange out to bitcoin or solid coin (if a market shows up), would consider a tip of thier bitcoin proceeds. Enjoy.
|
|
|
|
CosicMiner
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 29, 2011, 01:01:45 PM |
|
can you post the new client on sourceforge?
|
|
|
|
doublec
Legendary
Offline
Activity: 1078
Merit: 1005
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 29, 2011, 01:09:15 PM |
|
Hopefully anyone looking for i0coin to come back to rescue thier i0coin balance or exchange out to bitcoin or solid coin (if a market shows up), would consider a tip of thier bitcoin proceeds.
The bitparking i0coin pool is now running this new version. Once things seem to be stable I'll re-open the i0coin side of the exchange.
|
|
|
|
doublec
Legendary
Offline
Activity: 1078
Merit: 1005
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 29, 2011, 01:10:31 PM |
|
Hopefully anyone looking for i0coin to come back to rescue thier i0coin balance or exchange out to bitcoin or solid coin (if a market shows up), would consider a tip of thier bitcoin proceeds.
I sent you some btc to the address in your sig as thanks for your work, nice job!
|
|
|
|
ArtForz
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 29, 2011, 01:21:05 PM |
|
Seems to be working, we're at block 14641 and diff is 256 as expected.... 14642... 14645... I think I'll direct my miners elsewhere now (inb4 "STOP HOGGING THE BLOCKS")
|
bitcoin: 1Fb77Xq5ePFER8GtKRn2KDbDTVpJKfKmpz i0coin: jNdvyvd6v6gV3kVJLD7HsB5ZwHyHwAkfdw
|
|
|
caston
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 29, 2011, 02:00:31 PM |
|
Oh thanks I hope its still at low difficulty when I get home form work but I don't like my chances lol... time for me to learn how to setup a VPN/ssh so I can direct my mining rig remotely.
|
bitcoin BTC: 1MikVUu1DauWB33T5diyforbQjTWJ9D4RF bitcoin cash: 1JdkCGuW4LSgqYiM6QS7zTzAttD9MNAsiK
-updated 3rd December 2017
|
|
|
fusebox
Newbie
Offline
Activity: 37
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 29, 2011, 02:08:55 PM |
|
Hopefully anyone looking for i0coin to come back to rescue thier i0coin balance or exchange out to bitcoin or solid coin (if a market shows up), would consider a tip of thier bitcoin proceeds.
I sent you some btc to the address in your sig as thanks for your work, nice job! Hey thanks. Still looking for a recomendation for a quick/trustworthy place to host these windows binaries.. Just let me know and I'll get it up.
|
|
|
|
Mousepotato
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 29, 2011, 02:13:37 PM |
|
Where can we download the compiled version? I looked at fusebox's github but couldn't finds it ![Sad](https://bitcointalk.org/Smileys/default/sad.gif)
|
Mousepotato
|
|
|
caston
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 29, 2011, 02:16:40 PM |
|
Where can we download the compiled version? I looked at fusebox's github but couldn't finds it ![Sad](https://bitcointalk.org/Smileys/default/sad.gif) I don't think there is one. I just downloaded it using git clone and typed make -f makefile.unix i0coind but already have all the dependencies installed so it was easy. The hard part is downloading all the blocks on this sorry ass wimax connection at about 7k/sec.
|
bitcoin BTC: 1MikVUu1DauWB33T5diyforbQjTWJ9D4RF bitcoin cash: 1JdkCGuW4LSgqYiM6QS7zTzAttD9MNAsiK
-updated 3rd December 2017
|
|
|
Mousepotato
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 29, 2011, 02:22:53 PM |
|
So what's the difficulty at now?
|
Mousepotato
|
|
|
ArtForz
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 29, 2011, 02:24:40 PM |
|
Still 256, probably not for long. i0pool.bitparking.com is already at > 20Ghps ...
|
bitcoin: 1Fb77Xq5ePFER8GtKRn2KDbDTVpJKfKmpz i0coin: jNdvyvd6v6gV3kVJLD7HsB5ZwHyHwAkfdw
|
|
|
|