Skip to content

Commit 71abee8

Browse files
committed
Merge bitcoin/bitcoin#25993: doc: Add I2P guidance related to bandwidth and i2pd software version
874c861 doc: Add I2P bandwidth guidance to i2p.md (willcl-ark) Pull request description: Add some general guidance on lowering bandwidth usage when using I2P routers. ACKs for top commit: jonatack: ACK 874c861 hernanmarino: ACK 874c861 pablomartin4btc: ACK 874c861. Tree-SHA512: 3990375b23c01a2ad8e15a51e1b1a0275df8747ecd789ddf1888fbc88c20cde5a3813615982669af5e8d021dc995f6c7b1f080167b33f48574d6f50fc4851498
2 parents 8b79686 + 874c861 commit 71abee8

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

doc/i2p.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,3 +133,29 @@ listening port to 0 when listening for incoming I2P connections and advertises
133133
its own I2P address with port 0. Furthermore, it will not attempt to connect to
134134
I2P addresses with a non-zero port number because with SAM v3.1 the destination
135135
port (`TO_PORT`) is always set to 0 and is not in the control of Bitcoin Core.
136+
137+
## Bandwidth
138+
139+
I2P routers may route a large amount of general network traffic with their
140+
default settings. Check your router's configuration to limit the amount of this
141+
traffic relayed, if desired.
142+
143+
With `i2pd`, the amount of bandwidth being shared with the wider network can be
144+
adjusted with the `bandwidth`, `share` and `transittunnels` options in your
145+
`i2pd.conf` file. For example, to limit total I2P traffic to 256KB/s and share
146+
50% of this limit for a maximum of 20 transit tunnels:
147+
148+
```
149+
bandwidth = 256
150+
share = 50
151+
152+
[limits]
153+
transittunnels = 20
154+
```
155+
156+
If you prefer not to relay any public I2P traffic and only permit I2P traffic
157+
from programs which are connecting via the SAM proxy, e.g. Bitcoin Core, you
158+
can set the `notransit` option to `true`.
159+
160+
Similar bandwidth configuration options for the Java I2P router can be found in
161+
`http://127.0.0.1:7657/config` under the "Bandwidth" tab.

0 commit comments

Comments
 (0)