Change default I2P tunnel length to 2

This commit is contained in:
TheKysek 2017-07-01 16:01:48 +02:00
parent 47fd7a4c44
commit c6f721db8e
No known key found for this signature in database
GPG Key ID: 50D9AF00D0B1C497
2 changed files with 3 additions and 3 deletions

View File

@ -54,9 +54,9 @@ MiNode has support for connections over I2P network.
To use it it needs an I2P router with SAMv3 activated (both Java I2P and i2pd are supported). To use it it needs an I2P router with SAMv3 activated (both Java I2P and i2pd are supported).
Keep in mind that I2P connections are slow and full synchronization may take a while. Keep in mind that I2P connections are slow and full synchronization may take a while.
### Examples ### Examples
Connect to both IP and I2P networks (SAM bridge on default host and port 127.0.0.1:7656) and set tunnel length to 2 (default is 3). Connect to both IP and I2P networks (SAM bridge on default host and port 127.0.0.1:7656) and set tunnel length to 3 (default is 2).
``` ```
$ ./start.sh --i2p --i2p-tunnel-length 2 $ ./start.sh --i2p --i2p-tunnel-length 3
``` ```
Connect only to I2P network and listen for IP connections only from local machine. Connect only to I2P network and listen for IP connections only from local machine.

View File

@ -28,7 +28,7 @@ i2p_dest_obj_type = 0x493250
i2p_enabled = False i2p_enabled = False
i2p_sam_host = '127.0.0.1' i2p_sam_host = '127.0.0.1'
i2p_sam_port = 7656 i2p_sam_port = 7656
i2p_tunnel_length = 3 i2p_tunnel_length = 2
i2p_session_nick = b'' i2p_session_nick = b''
i2p_dest_pub = b'' i2p_dest_pub = b''