tangle-network / dkg-substrate

Multy-party threshold ECDSA (GG20) Substrate node
https://tangle.webb.tools/
GNU General Public License v3.0
60 stars 15 forks source link

Use LruHashMap over HashMap for pending messages + Other Fixes #673

Closed tbraun96 closed 1 year ago

tbraun96 commented 1 year ago

This PR is an attempt to move us closer to memory stability. As bugs are found they will be fixed here.

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage has no change and project coverage change: +0.01 :tada:

Comparison is base (ca02f61) 16.10% compared to head (6119e68) 16.10%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #673 +/- ## ========================================== + Coverage 16.10% 16.10% +0.01% ========================================== Files 73 73 Lines 5413 5412 -1 ========================================== Hits 871 871 + Misses 4542 4541 -1 ``` | [Impacted Files](https://app.codecov.io/gh/webb-tools/dkg-substrate/pull/673?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=webb-tools) | Coverage Δ | | |---|---|---| | [dkg-gadget/src/gossip\_engine/network.rs](https://app.codecov.io/gh/webb-tools/dkg-substrate/pull/673?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=webb-tools#diff-ZGtnLWdhZGdldC9zcmMvZ29zc2lwX2VuZ2luZS9uZXR3b3JrLnJz) | `0.00% <0.00%> (ø)` | | | [...-gadget/src/gossip\_messages/misbehaviour\_report.rs](https://app.codecov.io/gh/webb-tools/dkg-substrate/pull/673?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=webb-tools#diff-ZGtnLWdhZGdldC9zcmMvZ29zc2lwX21lc3NhZ2VzL21pc2JlaGF2aW91cl9yZXBvcnQucnM=) | `0.00% <0.00%> (ø)` | | | [dkg-test-orchestrator/src/dummy\_api.rs](https://app.codecov.io/gh/webb-tools/dkg-substrate/pull/673?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=webb-tools#diff-ZGtnLXRlc3Qtb3JjaGVzdHJhdG9yL3NyYy9kdW1teV9hcGkucnM=) | `0.00% <ø> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.