From f0df5d19ed6da6f4dea8b9e684c56151226a5755 Mon Sep 17 00:00:00 2001 From: idk Date: Sun, 4 Jun 2023 17:31:26 +0000 Subject: [PATCH] add comment to the new getUniqueID code --- router/java/src/net/i2p/data/i2np/I2NPMessage.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/router/java/src/net/i2p/data/i2np/I2NPMessage.java b/router/java/src/net/i2p/data/i2np/I2NPMessage.java index f154a8e50d..7086bb7344 100644 --- a/router/java/src/net/i2p/data/i2np/I2NPMessage.java +++ b/router/java/src/net/i2p/data/i2np/I2NPMessage.java @@ -86,6 +86,10 @@ public interface I2NPMessage { /** * Replay resistant message ID + * optionally, the caller may pass a msgIDBloomXor value, and the + * return value will be Xor'ed with that value. Passing a msgIDBloomXor + * value of 0 will result in the original ID being returned, instead of + * passing 0 use the no-arg version. */ public long getUniqueId(long msgIDBloomXor); public long getUniqueId();