[bisq-network/bisq] Persist failed attempts of decrypting mailbox messages (#5061)

chimp1984 notifications at github.com
Thu Jan 7 03:23:01 CET 2021


We persist failed attempts to decrypt mailbox messages (expected if mailbox message was not addressed to us).
This improves performance at processing mailbox messages.
On a fast 4 core machine 1000 mailbox messages take about 1.5 second. At second start-up using the persisted data
it only takes about 30 ms.
We clean up old entries at startup using the TTL field.
You can view, comment on, or merge this pull request online at:

  https://github.com/bisq-network/bisq/pull/5061

-- Commit Summary --

  * Add IgnoredMailboxMap to persist failed decryption

-- File Changes --

    M core/src/main/java/bisq/core/proto/persistable/CorePersistenceProtoResolver.java (4)
    M core/src/main/java/bisq/core/setup/CorePersistedDataHost.java (2)
    M p2p/src/main/java/bisq/network/p2p/P2PService.java (21)
    A p2p/src/main/java/bisq/network/p2p/mailbox/IgnoredMailboxMap.java (71)
    A p2p/src/main/java/bisq/network/p2p/mailbox/IgnoredMailboxService.java (71)
    M p2p/src/main/java/bisq/network/p2p/storage/payload/MailboxStoragePayload.java (4)
    M proto/src/main/proto/pb.proto (5)

-- Patch Links --

https://github.com/bisq-network/bisq/pull/5061.patch
https://github.com/bisq-network/bisq/pull/5061.diff

-- 
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/5061
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20210106/00047214/attachment.htm>


More information about the bisq-github mailing list