-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Merged by Bors] - tortoise: reuse decoded votes #5009
[Merged by Bors] - tortoise: reuse decoded votes #5009
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #5009 +/- ##
=======================================
Coverage 77.0% 77.1%
=======================================
Files 257 257
Lines 30236 30254 +18
=======================================
+ Hits 23311 23335 +24
+ Misses 5399 5394 -5
+ Partials 1526 1525 -1
|
bors merge |
related: #3006 it also reduced 300MB of used memory on my machine. ballot signs opinion hash, and provides sidecar to decode that opinion hash. if node decoded one sidecar it can store it in memory and reuse for all following ballots with the same opinion hash.
Pull request successfully merged into develop. Build succeeded! The publicly hosted instance of bors-ng is deprecated and will go away soon. If you want to self-host your own instance, instructions are here. If you want to switch to GitHub's built-in merge queue, visit their help page. |
related: #3006
it also reduced 300MB of used memory on my machine.
ballot signs opinion hash, and provides sidecar to decode that opinion hash. if node decoded one sidecar it can store it in memory
and reuse for all following ballots with the same opinion hash.