Once the log grows past ~3x the account count it is rewritten to one AccountRegistered per account (churned cert events dropped), via a temp file and rename. Cert replay is now idempotent, so a snapshot plus re-delivered events converge and a peer syncing from a compacted node still gets every account. Runs on a 30m timer. |
||
|---|---|---|
| .. | ||
| db.rs | ||
| mod.rs | ||
| scram.rs | ||
| service.rs | ||
| state.rs | ||