From c6f721db8eee1da559d173deb6aed229a473136c Mon Sep 17 00:00:00 2001 From: TheKysek Date: Sat, 1 Jul 2017 16:01:48 +0200 Subject: [PATCH] Change default I2P tunnel length to 2 --- README.md | 4 ++-- minode/shared.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a4e47ac..6eecbb8 100644 --- a/README.md +++ b/README.md @@ -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). Keep in mind that I2P connections are slow and full synchronization may take a while. ### 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. diff --git a/minode/shared.py b/minode/shared.py index 748bc7d..321b8e1 100644 --- a/minode/shared.py +++ b/minode/shared.py @@ -28,7 +28,7 @@ i2p_dest_obj_type = 0x493250 i2p_enabled = False i2p_sam_host = '127.0.0.1' i2p_sam_port = 7656 -i2p_tunnel_length = 3 +i2p_tunnel_length = 2 i2p_session_nick = b'' i2p_dest_pub = b''