erigon-pulse/cmd/erigon-cl/core/state
a 30430d585a
begin refactor of beacon state (#7433)
this first major move separates the transient beacon state cache from
the underlying tree.

leaf updates are enforced in the setters, which should make programming
easier.

all exported methods of the raw.BeaconState should be safe to call
(without disrupting internal state)

changes many functions to consume *raw.BeaconState in perparation for
interface


beyond refactor it also:

adds a pool for the leaves of the validator ssz hash 

adds a pool for the snappy writers
  
removed the parallel hash experiment (high memory use)
2023-05-04 15:18:42 +02:00
..
raw begin refactor of beacon state (#7433) 2023-05-04 15:18:42 +02:00
shuffling begin refactor of beacon state (#7433) 2023-05-04 15:18:42 +02:00
state_encoding Added SSZ support for Phase0 state. (#7065) 2023-03-09 17:34:49 +00:00
tests Added SSZ support for Phase0 state. (#7065) 2023-03-09 17:34:49 +00:00
accessors_test.go begin refactor of beacon state (#7433) 2023-05-04 15:18:42 +02:00
accessors.go begin refactor of beacon state (#7433) 2023-05-04 15:18:42 +02:00
cache_accessors.go begin refactor of beacon state (#7433) 2023-05-04 15:18:42 +02:00
cache_getters.go begin refactor of beacon state (#7433) 2023-05-04 15:18:42 +02:00
cache_mutators.go begin refactor of beacon state (#7433) 2023-05-04 15:18:42 +02:00
cache_setters.go begin refactor of beacon state (#7433) 2023-05-04 15:18:42 +02:00
cache.go begin refactor of beacon state (#7433) 2023-05-04 15:18:42 +02:00
copy.go begin refactor of beacon state (#7433) 2023-05-04 15:18:42 +02:00
mutators_test.go begin refactor of beacon state (#7433) 2023-05-04 15:18:42 +02:00
mutators.go begin refactor of beacon state (#7433) 2023-05-04 15:18:42 +02:00
root_test.go optimized state roots cache for erigon-cl (#7020) 2023-03-04 16:28:20 +00:00
root.go begin refactor of beacon state (#7433) 2023-05-04 15:18:42 +02:00
ssz_test.go Added phase0 support to Erigon-CL. (#7066) 2023-03-11 19:27:21 +00:00
ssz.go begin refactor of beacon state (#7433) 2023-05-04 15:18:42 +02:00
test_util.go begin refactor of beacon state (#7433) 2023-05-04 15:18:42 +02:00
upgrade.go begin refactor of beacon state (#7433) 2023-05-04 15:18:42 +02:00
util.go begin refactor of beacon state (#7433) 2023-05-04 15:18:42 +02:00