Bitcoin Forum
June 26, 2024, 06:43:59 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Full node, how to reduce traffic to reasonable levels (not minimum)  (Read 293 times)
alpher (OP)
Jr. Member
*
Offline Offline

Activity: 43
Merit: 1


View Profile
July 26, 2017, 08:12:16 PM
Merited by ajochems (1)
 #1

Hi, I want to run a full node client again, but reduce network trafic a bit!
Following is the instructions from bitcoin.org :

Code:
Reduce Traffic
Some node operators need to deal with bandwidth caps imposed by their ISPs.

By default, bitcoin-core allows up to 125 connections to different peers, 8 of which are outbound. You can therefore, have at most 117 inbound connections.

The default settings can result in relatively significant traffic consumption.

Ways to reduce traffic:

Maximum Upload Targets
-maxuploadtarget=<MiB per day>
A major component of the traffic is caused by serving historic blocks to other nodes during the initial blocks download phase (syncing up a new node). This option can be specified in MiB per day and is turned off by default. This is not a hard limit; only a threshold to minimize the outbound traffic. When the limit is about to be reached, the uploaded data is cut by no longer serving historic blocks (blocks older than one week). Keep in mind that new nodes require other nodes that are willing to serve historic blocks. The recommended minimum is 144 blocks per day (max. 144MB per day)

Disable listening
-listen=0
Disabling listening will result in fewer nodes connected (remember the maximum of 8 outbound peers). Fewer nodes will result in less traffic usage as you are relaying blocks and transactions to fewer nodes.

Reduce maximum connections
-maxconnections=<num>
Reducing the maximum connected nodes to a minimum could be desirable if traffic limits are tiny. Keep in mind that bitcoin’s trustless model works best if you are connected to a handful of nodes.

Blocks-only mode

Now I don't want to reduce traffic to absolute minimum rather something midd wayish.
Can you guys recommend me some settings plase?
Specifically:

Maximum Upload Targets and/or Reduce maximum connections ?


Appreciate any suggestions.

DannyHamilton
Legendary
*
Offline Offline

Activity: 3430
Merit: 4680



View Profile
July 26, 2017, 08:25:34 PM
 #2

The maximum allowed connections is 125.  So, since you want something "midd wayish", perhaps consider setting:
Code:
-maxconnections=62

With ~100 connections, this user reported an average of 43.27 GB (that's 43207 MB) uploaded per day over 7 days:
https://www.reddit.com/r/Bitcoin/comments/5s6zak/info_7_days_of_bandwidth_usage_on_a_full_node/


So, since you want something "midd wayish", perhaps consider setting:
43207 / 2 = 21635
Code:
-maxuploadtarget=21635
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!