Bitcoin Forum
May 27, 2024, 05:12:41 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Why is bitcoin-qt doing uploads to the network?  (Read 849 times)
joecascio (OP)
Full Member
***
Offline Offline

Activity: 137
Merit: 100

Semi-retired software developer, tech consultant


View Profile WWW
December 04, 2013, 07:51:45 PM
 #1

I recently downloaded the newest version (0.8.5) of bitcoin-qt to my MacBook. I'd been using 0.8.0.
Today, I just happened to notice that my internet performance was sluggish so I took a look at the Activity Monitor and saw something was uploading to the internet at max speed. It was rolling along at 600+Kbytes/sec, which maxes out my Comcast cable upload capacity.

By process of elimination, I determined it was bitcoin-qt. Now I can understand it having to download the blockchain, but what on earth is it uploading?

Thanks

Joe Cascio
Python/Django & Android developer
Twitter: @joecascio
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
December 04, 2013, 07:53:45 PM
 #2

peer to peer.

When you are "downloading" the blockchain where do you think it is being "uploaded" from?  The central Bitcoin, Inc server farm?  Smiley

That being said the QT client is pretty horrible about bandwidth management.  Since devs seem to have no interest in putting in speed caps you may want to look into a third party tool which will cap the speed.
goodbc
Member
**
Offline Offline

Activity: 105
Merit: 11



View Profile
December 04, 2013, 07:54:11 PM
 #3

Where do you think you are downloading it from?...

Check your IQ! Send any amount to this address:
1GoodBTCiGyd1J1LkDhCThfTHG8n9WJnNn
mufa23
Legendary
*
Offline Offline

Activity: 1022
Merit: 1001


I'd fight Gandhi.


View Profile
December 04, 2013, 07:54:37 PM
 #4

So that other people can download. It's all p2p based. You download the blockchain from other people running the client, and upload to other people needing a download.

Positive rep with: pekv2, AzN1337c0d3r, Vince Torres, underworld07, Chimsley, omegaaf, Bogart, Gleason, SuperTramp, John K. and guitarplinker
joecascio (OP)
Full Member
***
Offline Offline

Activity: 137
Merit: 100

Semi-retired software developer, tech consultant


View Profile WWW
December 04, 2013, 08:00:43 PM
 #5

peer to peer.

When you are "downloading" the blockchain where do you think it is being "uploaded" from?  The central Bitcoin, Inc server farm?  Smiley

That being said the QT client is pretty horrible about bandwidth management.  Since devs seem to have no interest in putting in speed caps you may want to look into a third party tool which will cap the speed.

Thanks for the replies. Well, I always thought that the miners served out the blockchain not the clients. And my client is behind a firewall, with no port forwarding, so how are other clients attaching to it?


Joe Cascio
Python/Django & Android developer
Twitter: @joecascio
FiatKiller
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250


View Profile
December 04, 2013, 08:07:21 PM
 #6

You had to give permission when you installed it, right? Everytime I download a different wallet, Windows asks me...

LTC: LdxgJQLUdr8hZ79BV5AYbxkBUdaXctXAPi
MoonCoin Gambling: https://coin-horse.com/MON/
RodeoX
Legendary
*
Offline Offline

Activity: 3066
Merit: 1147


The revolution will be monetized!


View Profile
December 04, 2013, 08:13:41 PM
 #7

You are the bank and your computer is doing bank stuff.  Smiley

Just as a side comment, I use torrent seeding etiquette when DL-ing the blockchain. That is to say, I keep the client running twice as long as it took to receive the chain. That way I'm not leaching off the network. (which is allowed)

The gospel according to Satoshi - https://bitcoin.org/bitcoin.pdf
Free bitcoin in ? - Stay tuned for this years Bitcoin hunt!
joecascio (OP)
Full Member
***
Offline Offline

Activity: 137
Merit: 100

Semi-retired software developer, tech consultant


View Profile WWW
December 04, 2013, 08:14:10 PM
 #8

You had to give permission when you installed it, right? Everytime I download a different wallet, Windows asks me...

No permissions were requested, plus the firewall is on my wi-fi router, and I know damned well it has no ports forwarded.

My guess is that they're using some sort of server polling handshake or maybe UDP punch-through?


Joe Cascio
Python/Django & Android developer
Twitter: @joecascio
Kouye
Sr. Member
****
Offline Offline

Activity: 336
Merit: 250


Cuddling, censored, unicorn-shaped troll.


View Profile
December 04, 2013, 08:16:02 PM
 #9

https://bitcointalk.org/index.php?topic=334778.msg3626032#msg3626032

QT uploads A LOT, if you let it, though, which should be advertised a little more, in my opinion.
If you don't limit QT, it will eat up a huge chunk of your upload BW.

[OVER] RIDDLES 2nd edition --- this was claimed. Look out for 3rd edition!
I won't ever ask for a loan nor offer any escrow service. If I do, please consider my account as hacked.
PenAndPaper
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250


View Profile
December 04, 2013, 08:17:20 PM
 #10

Also except from the blockchain per se it relays unconfirmed transactions until they get included to a block.
FiatKiller
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250


View Profile
December 04, 2013, 08:20:00 PM
 #11

Could you limit it thru the maxconnections parameter?

LTC: LdxgJQLUdr8hZ79BV5AYbxkBUdaXctXAPi
MoonCoin Gambling: https://coin-horse.com/MON/
Akka
Legendary
*
Offline Offline

Activity: 1232
Merit: 1001



View Profile
December 04, 2013, 08:30:28 PM
 #12

Could you limit it thru the maxconnections parameter?

Yes,

I have limited mine to a max. of 5 connections. This limits the amount of transactions your Node relays. Although, it doesn't limit the bandwidth used when one of your connections happens to need the Blockchain from you. But there are not as many that get the Blocks from you every time there is a new block.

Please also note that you are helping Bitcoin with running a full Node. Without enough of them Bitcoin wont work.

(Also that's one thing that bugs me about BTC a little, that miners have a financial incentive to secure the Network, but there is none to store the transaction history and to relay blocks and transactions.)

All previous versions of currency will no longer be supported as of this update
ScripterRon
Full Member
***
Offline Offline

Activity: 136
Merit: 120


View Profile
December 04, 2013, 08:50:46 PM
 #13

Thanks for the replies. Well, I always thought that the miners served out the blockchain not the clients. And my client is behind a firewall, with no port forwarding, so how are other clients attaching to it?
Bitcoin-Qt establishes 8 outgoing connections to peer nodes when it starts up.  It then listens for incoming connections and will accept connections until the maxconnections limit is reached.  By default, Bitcoin-Qt will use uPnP to open the 8333 port on your router if it is supported.  You can specify listen=0 if you do not want to accept incoming connections.

I use NetLimiter to limit the upload bandwidth used by Bitcoin-Qt and I specify maxconnections to limit the total number of connections to something that is manageable.
joecascio (OP)
Full Member
***
Offline Offline

Activity: 137
Merit: 100

Semi-retired software developer, tech consultant


View Profile WWW
December 04, 2013, 09:05:26 PM
 #14

Thanks for the replies. Well, I always thought that the miners served out the blockchain not the clients. And my client is behind a firewall, with no port forwarding, so how are other clients attaching to it?
Bitcoin-Qt establishes 8 outgoing connections to peer nodes when it starts up.  It then listens for incoming connections and will accept connections until the maxconnections limit is reached.  By default, Bitcoin-Qt will use uPnP to open the 8333 port on your router if it is supported.  You can specify listen=0 if you do not want to accept incoming connections.

I use NetLimiter to limit the upload bandwidth used by Bitcoin-Qt and I specify maxconnections to limit the total number of connections to something that is manageable.


Thanks for all the replies. This has been very informative. I checked the Preferences on bitcoin-qt and found that it uses uPnp, which has the ability to open ports on routers that have it enabled. So I am trying, just as an experiment, shutting off uPNP on my router and see if anything else breaks.

The other interesting thing I discovered was that my supposition was correct about UDP. UPnP uses a UDP variant of http called httpu. You can do some pretty cool things with UDP because it doesn't require establishing a heavyweight connection like TCP.

Joe Cascio
Python/Django & Android developer
Twitter: @joecascio
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!