attestantio / vouch

Apache License 2.0
112 stars 28 forks source link

Root to slot cache #67

Closed mcdee closed 2 years ago

mcdee commented 2 years ago

Vouch spends time looking up information from beacon nodes when scoring attestation data and block proposals. This information has usually already been seen by Vouch, so this adds a cache that stores the required information when seen and makes it available for scoring.