Skip to content

Commit 5058519

Browse files
kwvgPastaPastaPasta
authored andcommitted
merge bitcoin#25993: Add I2P guidance related to bandwidth and i2pd software version
1 parent 859f59b commit 5058519

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

0 commit comments

Comments
 (0)