[bisq-network/bisq] (4/8) Update behavior of add/remove/refresh on duplicate sequence numbers (#3558)

Julian Knutsen notifications at github.com
Mon Nov 11 16:51:53 UTC 2019


julianknutsen commented on this pull request.



>              return false;
-        }
 
         boolean hasSequenceNrIncreased = hasSequenceNrIncreased(protectedStorageEntry.getSequenceNumber(), hashOfPayload);
 
         // If we have seen a more recent operation for this payload, we ignore the current one
         // TODO: I think we can return false here. All callers use the get() public API which increments the sequence number
         // leaving only the onMessage() handler which doesn't look at the return value. It makes more intuitive sense that adds() that don't

All of these comments were addressed in the pull request they were added (3/4).

-- 
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/3558#discussion_r344806363
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20191111/52723003/attachment.html>


More information about the bisq-github mailing list