diff options
author | Vasil Dimov <vd@FreeBSD.org> | 2023-01-06 17:41:31 +0100 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2023-02-27 14:01:24 +0000 |
commit | ab3bd457cdb5c5ee2626081d703d675c2573f28a (patch) | |
tree | f1534759155620685dd6262c9d79c46e703ef451 /share | |
parent | 29cdf42226c0983076701552b351f08351dd54a5 (diff) |
i2p: use consistent number of tunnels with i2pd and Java I2P
The default number of tunnels in the Java implementation is 2 and in the
C++ i2pd it is 5. Pick a mid-number (3) and explicitly set it in order
to get a consistent behavior with both routers. Do this for persistent
sessions which are created once at startup and can be used to open up
to ~10 outbound connections and can accept up to ~125 incoming
connections. Transient sessions already set number of tunnels to 1.
Suggested in:
https://github.com/bitcoin/bitcoin/issues/26754#issuecomment-1367356129
https://geti2p.net/en/docs/api/samv3
Alleviates: https://github.com/bitcoin/bitcoin/issues/26754
Github-Pull: #26837
Rebased-From: 3c1de032de01e551992975eb374465300a655f44
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions