Bitcoin Forum
December 14, 2024, 07:45:37 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: BEWARE forked or half dead altcoins that will eat up your download limit  (Read 1063 times)
almightyruler (OP)
Legendary
*
Offline Offline

Activity: 2268
Merit: 1092


View Profile
May 11, 2014, 02:12:56 PM
 #1

A week ago something on my home office network started using a heap of bandwidth. My average daily download went from 4GB/day to 28GB/day. By the time I noticed a few days later my monthly download was about 120GB higher than it usually is at this point of the billing cycle.

What happened? There is a bug/oversight in *coin code that causes a client to misbehave when a fork occurs; the client repeatedly asks for the same blocks from peers on another fork, but of course rejects them because they don't match the local copy of the chain. Client A doesn't slow down its rate of requests to Client B, even though it is getting back exactly the same data each time and will never resolve the fork, plus Client B does not ban Client A for abuse either. It's just two stupid computers stuck in an endless loop.

I think in this case it was either grain or mintcoin that caused the extra 120GB of download, but it can happen to pretty much any coin when it forks. I'm running over 60 altcoin clients so I guess I need to keep a better eye on things. Shocked

tl;dr if you have a download limit and leave old clients running you may end up in some trouble.
raskul
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250



View Profile
May 11, 2014, 02:14:20 PM
 #2

is the coin you were mining not finding blocks?

tips    1APp826DqjJBdsAeqpEstx6Q8hD4urac8a
almightyruler (OP)
Legendary
*
Offline Offline

Activity: 2268
Merit: 1092


View Profile
May 11, 2014, 02:16:25 PM
 #3

is the coin you were mining not finding blocks?

Nothing to do with mining, this is just the client. The *coin code does not seem to be very good at resolving a fork situation.
raskul
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250



View Profile
May 11, 2014, 02:17:25 PM
 #4

is the coin you were mining not finding blocks?

Nothing to do with mining, this is just the client. The *coin code does not seem to be very good at resolving a fork situation.

ah sorry, misread. gotcha

tips    1APp826DqjJBdsAeqpEstx6Q8hD4urac8a
fernando
Hero Member
*****
Offline Offline

Activity: 560
Merit: 500


View Profile
May 11, 2014, 02:17:43 PM
 #5

is the coin you were mining not finding blocks?

Nothing to do with mining, this is just the client. The *coin code does not seem to be very good at resolving a fork situation.

Just curious... why do you keep then open?
brioche
Full Member
***
Offline Offline

Activity: 192
Merit: 100



View Profile
May 11, 2014, 02:23:31 PM
 #6

is the coin you were mining not finding blocks?

Nothing to do with mining, this is just the client. The *coin code does not seem to be very good at resolving a fork situation.

Just curious... why do you keep then open?

supporting the network likely

\   \  \ \\\\\\\\\\\\\\\\◥◣◢◤//////////////// /  /   /
North Carolina ❖ First in Flight ❖ /   /  / ////////////////◢◤◥◣\\\\\\\\\\\\\\\\ \  \   \
almightyruler (OP)
Legendary
*
Offline Offline

Activity: 2268
Merit: 1092


View Profile
May 11, 2014, 02:23:50 PM
 #7

is the coin you were mining not finding blocks?

Nothing to do with mining, this is just the client. The *coin code does not seem to be very good at resolving a fork situation.

Just curious... why do you keep then open?

The clients are running on a dedicated *nix server, not a Windows box. Coin clients mostly consume very little bandwidth or CPU (so long as PoS is disabled), and most of the RAM they use is inactive so it's swapped out. I think I could comfortably run 150 to 200 daemons on this box.

Keeping the clients active helps the network of each of the coins. The smaller coins would quickly die if there were no nodes that were available most of the time.
sgtstedanko
Member
**
Offline Offline

Activity: 86
Merit: 10

Hai!


View Profile
May 11, 2014, 02:35:22 PM
 #8

You didn't have Dafuq coin installed by any chance?
Amph
Legendary
*
Offline Offline

Activity: 3248
Merit: 1070



View Profile
May 11, 2014, 02:36:20 PM
 #9

You didn't have Dafuq coin installed by any chance?

that shit tell you to run the client as admin right?
almightyruler (OP)
Legendary
*
Offline Offline

Activity: 2268
Merit: 1092


View Profile
May 11, 2014, 02:48:42 PM
 #10

You didn't have Dafuq coin installed by any chance?

that shit tell you to run the client as admin right?

Nope, never heard of that coin. I generally only run clients that I have compiled myself.
platorin
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250


View Profile
May 12, 2014, 01:12:32 PM
 #11

I'd stay away from anything that looks suspicious.
hvezdasmrti
Sr. Member
****
Offline Offline

Activity: 797
Merit: 251


View Profile
May 12, 2014, 01:19:39 PM
 #12

Good... There are countries with limited bandwith ahahahaha, 19th century.

In Pump and Dump we trust.
moffer5
Member
**
Offline Offline

Activity: 152
Merit: 10


View Profile WWW
May 12, 2014, 03:03:56 PM
 #13

I'd run an antivirus scan if I were you.

almightyruler (OP)
Legendary
*
Offline Offline

Activity: 2268
Merit: 1092


View Profile
May 13, 2014, 01:29:11 AM
 #14

I'd run an antivirus scan if I were you.

I explained in the OP that it's a bug which causes the client to get stuck in an endless loop, repeatedly requesting the same set of blocks. I've seen this happen before, although it's usually the other client which is going bonkers and repeatedly asking mine for blocks.

It may have been fixed in some newer maintained coins, but the buggy code is still sitting there in the few hundred other coins...

The coin client hogging my bandwidth was most likely grain, because right now it has a very low difficulty, which increases the chances of forking.
binaryclock
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile WWW
May 13, 2014, 04:50:28 AM
 #15

Shitty coin code?

NO!

I don't believe it.


DEDICATEDPOOL.COM
Chicago
Sr. Member
****
Offline Offline

Activity: 592
Merit: 259


View Profile
November 02, 2017, 09:18:48 PM
 #16

Hello,

    I too have observed this behavior with 0.8 branch clones of the Satoshi reference client.
    Its most prominent when a new wallet starts syncing from block zero and approaches the tip.
    It even happens when a bootstrap.dat is used to get 90% of the way there.

    While observing the behavior, I note the client *eventually* becomes convinced it is on the right chain and stops requesting blocks over and over across the network.
    I've also noted that after stopping the client and then starting it again, the behavior does not repeat immediately; however, if you leave the client off for a week and then start to sync it will happen.

    Since I have been working with a few coin revivals on the 0.8 branch, I'm looking forward to the first one rebasing against Bitcoin Core's 0.10 branch where hopefully the behavior disappears when the blockchain must be downloaded and built anew.

    Also, although I don't have a link to share - while researching this behavior earlier in the year, I stumbled across an IRC discussion with one of the Bitcoin Core developers noting the same oddity on Bitcoin Mainnet.
    This is reassuring in that it convinces me life can go on despite the quirky recursion through forks.

Best Regards,
-Chicago
Pages: [1]
  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!