Bitcoin Forum
November 01, 2024, 01:47:24 PM *
News: Bitcoin Pumpkin Carving Contest
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 [50] 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 »
  Print  
Author Topic: New Ixcoin fork -> I0coin  (Read 217114 times)
Chris Acheson
Sr. Member
****
Offline Offline

Activity: 266
Merit: 251


View Profile
August 29, 2011, 07:48:43 AM
 #981

Do you realise how ironic this is?

Shh, don't ruin it.  Wink
ArtForz
Sr. Member
****
Offline Offline

Activity: 406
Merit: 257


View Profile
August 29, 2011, 07:59:49 AM
 #982

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 Offline

Activity: 37
Merit: 0


View Profile
August 29, 2011, 09:25:25 AM
 #983

First stab at adding a 3s recv timeout to the NTP stuff, I *hate* asio.
Code:
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

August 29, 2011, 09:57:16 AM
 #984

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 Offline

Activity: 2492
Merit: 1474


LEALANA Bitcoin Grim Reaper


View Profile
August 29, 2011, 10:46:39 AM
 #985

lol So guys what are we doing over here? Restart i0coin? LAWL

 Cheesy

███████████████████████████████████████

            ,╓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 Offline

Activity: 37
Merit: 0


View Profile
August 29, 2011, 10:50:01 AM
 #986

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 Offline

Activity: 2492
Merit: 1474


LEALANA Bitcoin Grim Reaper


View Profile
August 29, 2011, 11:41:47 AM
 #987

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 Offline

Activity: 37
Merit: 0


View Profile
August 29, 2011, 11:45:34 AM
 #988

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 Offline

Activity: 37
Merit: 0


View Profile
August 29, 2011, 11:46:32 AM
 #989



Link?

Where do you suggest?   I don't know what a trusted location to post these.
fusebox
Newbie
*
Offline Offline

Activity: 37
Merit: 0


View Profile
August 29, 2011, 11:51:37 AM
 #990

This one still stands Smiley

Quote
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

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
Full Member
***
Offline Offline

Activity: 135
Merit: 100



View Profile
August 29, 2011, 01:01:45 PM
 #991

can you post the new client on sourceforge?
doublec
Legendary
*
Offline Offline

Activity: 1078
Merit: 1005


View Profile
August 29, 2011, 01:09:15 PM
 #992

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 Offline

Activity: 1078
Merit: 1005


View Profile
August 29, 2011, 01:10:31 PM
 #993

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
Sr. Member
****
Offline Offline

Activity: 406
Merit: 257


View Profile
August 29, 2011, 01:21:05 PM
 #994

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
Hero Member
*****
Offline Offline

Activity: 756
Merit: 500



View Profile WWW
August 29, 2011, 02:00:31 PM
 #995

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 Offline

Activity: 37
Merit: 0


View Profile
August 29, 2011, 02:08:55 PM
 #996

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. Smiley   

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
Hero Member
*****
Offline Offline

Activity: 896
Merit: 1000


Seal Cub Clubbing Club


View Profile
August 29, 2011, 02:13:37 PM
 #997

Where can we download the compiled version?  I looked at fusebox's github but couldn't finds it Sad

Mousepotato
caston
Hero Member
*****
Offline Offline

Activity: 756
Merit: 500



View Profile WWW
August 29, 2011, 02:16:40 PM
 #998

Where can we download the compiled version?  I looked at fusebox's github but couldn't finds it Sad

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
Hero Member
*****
Offline Offline

Activity: 896
Merit: 1000


Seal Cub Clubbing Club


View Profile
August 29, 2011, 02:22:53 PM
 #999

So what's the difficulty at now?

Mousepotato
ArtForz
Sr. Member
****
Offline Offline

Activity: 406
Merit: 257


View Profile
August 29, 2011, 02:24:40 PM
 #1000

Still 256, probably not for long. i0pool.bitparking.com is already at > 20Ghps ...

bitcoin: 1Fb77Xq5ePFER8GtKRn2KDbDTVpJKfKmpz
i0coin: jNdvyvd6v6gV3kVJLD7HsB5ZwHyHwAkfdw
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 [50] 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!