aboutsummaryrefslogtreecommitdiff
path: root/contrib/qos/README
diff options
context:
space:
mode:
authorRune K. Svendsen <runesvend@gmail.com>2013-06-03 12:15:12 +0200
committerRune K. Svendsen <runesvend@gmail.com>2013-06-03 12:15:12 +0200
commit2002bceac5b8fad593c9cf83cc4e7127029f2174 (patch)
treee9fddd5904c62aa032dcd71894a70fac042d29f3 /contrib/qos/README
parentfa9e5adddda0bee5adc040b957cf3f1a6a470802 (diff)
Add Linux script to limit outgoing bandwidth used by Bitcoin
This commit adds a Linux script that uses tc and iptables to limit outgoing bandwidth to Bitcoin nodes. All tcp connections with a source or destination port of 8333 are limited to the chosen rate. It does not alter the incoming bandwidth. Additionally, outgoing bandwidth to a host on a local LAN (defined by the LOCALNET variable) is not limited.
Diffstat (limited to 'contrib/qos/README')
-rw-r--r--contrib/qos/README3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/qos/README b/contrib/qos/README
new file mode 100644
index 0000000000..f419685744
--- /dev/null
+++ b/contrib/qos/README
@@ -0,0 +1,3 @@
+This is a Linux bash script that will set up tc to limit the outgoing bandwidth for connections to the Bitcoin network. It limits outbound TCP traffic with a source or destination port of 8333, but not if the destination IP is within a LAN (defined as 192.168.x.x).
+
+This means one can have an always-on bitcoind instance running, and another local bitcoind/bitcoin-qt instance which connects to this node and receives blocks from it.