nimbus-eth2/beacon_chain
Etan Kissling c360db8194
avoid materializing potentially long deposits seq (#3947)
When fetching eth1 data and deposits for a new block proposal, the list
of deposits from previous eth1 data to the next one is fully loaded into
a `seq`. This can potentially be a very long list in active periods.
Changing this to an `iterator` saves memory by ensuring that the entire
list is no longer materialized; only the `DepositData` roots are needed.
2022-08-12 16:52:06 +03:00
..
2022-07-29 10:53:42 +00:00
2022-07-29 11:36:20 +03:00
2022-08-01 09:41:47 +03:00
2022-07-29 10:53:42 +00:00
2022-04-08 16:22:49 +00:00