I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit d13a7d28 authored by zzz's avatar zzz
Browse files

Router: Reduce next key threshold for ratchet

parent 49b2ca06
No related branches found
No related tags found
No related merge requests found
...@@ -83,7 +83,7 @@ class RatchetTagSet implements TagSetHandle { ...@@ -83,7 +83,7 @@ class RatchetTagSet implements TagSetHandle {
private static final int MAX = 65535; private static final int MAX = 65535;
private static final boolean TEST_RATCHET = false; private static final boolean TEST_RATCHET = false;
// 4 * max streaming window // 4 * max streaming window
private static final int LOW = TEST_RATCHET ? (MAX - 512) : 512; private static final int LOW = TEST_RATCHET ? (MAX - 512) : (MAX - 4096);
static final int DEBUG_OB_NSR = 0x10001; static final int DEBUG_OB_NSR = 0x10001;
static final int DEBUG_IB_NSR = 0x10002; static final int DEBUG_IB_NSR = 0x10002;
static final int DEBUG_SINGLE_ES = 0x10003; static final int DEBUG_SINGLE_ES = 0x10003;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment