3cb31e66b4
* set upper bound on EpochRef cache * max 32 EpochRef instances * less memory waste in BlockRef by removing EpochRef seq that is mostly unused (~20mb) * less memory waste in dag block lookup by not keeping an extra copy of digest (~70mb) * fix `==` and `$` for Eth2Digest * remove `ChainDAG.tmpState` (~50mb?) all in all, this branch cuts mainnet memory usage by ~160-180mb and puts limits on EpochRef cache usage - where normally it hovered around 950mb before, it's now sitting at 600-700mb on my machine. * docs |
||
---|---|---|
.. | ||
README.md | ||
attestation_aggregation.nim | ||
keystore_management.nim | ||
slashing_protection.nim | ||
slashing_protection_common.nim | ||
slashing_protection_v1.nim | ||
slashing_protection_v2.nim | ||
validator_duties.nim | ||
validator_pool.nim |
README.md
Validators
This folder holds all modules related to a Beacon Chain Validator besides the binaries they interact directly with (nimbus_validator_cliant and nimbus_signing_process):
- Validator keystore
- Validator slashing protection
- Validator duties
- Validator pool