[bisq-network/bisq] Reject expired data (#4215)

Christoph Atteneder notifications at github.com
Thu Apr 30 07:48:48 UTC 2020


@ripcurlx commented on this pull request.



> @@ -580,6 +577,15 @@ private boolean addProtectedStorageEntry(ProtectedStorageEntry protectedStorageE
             return false;
         }
 
+        // To avoid that expired data get stored and broadcast we check early for expire date.
+        if (protectedStorageEntry.isExpired(clock)) {
+            log.warn("We received an expired protectedStorageEntry from ppper {}. getCreationTimeStamp={}, protectedStorageEntry={}",

I guess you meant peer.
```suggestion
            log.warn("We received an expired protectedStorageEntry from peer {}. getCreationTimeStamp={}, protectedStorageEntry={}",
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/4215#pullrequestreview-403279910
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20200430/47becdd7/attachment.html>


More information about the bisq-github mailing list