nimbus-eth2/beacon_chain/validators
Jacek Sieka 3cb31e66b4
set upper bound on EpochRef cache (#2403)
* 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
2021-03-17 11:17:15 +01:00
..
README.md Consolidate modules by areas [part 1] (#2365) 2021-03-02 11:27:45 +01:00
attestation_aggregation.nim centralize p2p validation in a single file and address https://github.com/status-im/nimbus-eth2/pull/2377#issuecomment-791313118 (#2383) 2021-03-06 08:32:55 +01:00
keystore_management.nim Reorg (5/5) (#2377) 2021-03-05 14:12:00 +01:00
slashing_protection.nim Fix #2393 (#2395) 2021-03-10 16:53:42 +01:00
slashing_protection_common.nim Fix #2393 (#2395) 2021-03-10 16:53:42 +01:00
slashing_protection_v1.nim Fix #2393 (#2395) 2021-03-10 16:53:42 +01:00
slashing_protection_v2.nim Fix #2393 (#2395) 2021-03-10 16:53:42 +01:00
validator_duties.nim set upper bound on EpochRef cache (#2403) 2021-03-17 11:17:15 +01:00
validator_pool.nim Consolidate modules by areas [part 1] (#2365) 2021-03-02 11:27:45 +01:00

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