e1e809eeb7
This PR brings down the time to send 100 attestations from ~1s to ~100ms, making it feasible to run 10k validators on a single node (which regularly send 300 attestations / slot). This is done by batching the slashing protection database write in a single transaction thus avoiding a slow fsync for every signature - effects will be more pronounced on slow drives. The benefit applies both to beacon and client validators. |
||
---|---|---|
.. | ||
.gitignore | ||
test_fixtures.nim | ||
test_slashing_protection_db.nim |