nimbus-eth2/beacon_chain
Jacek Sieka adfe655b16
db: make block loading generic (#3413)
Streamline lookup with Forky and BeaconBlockFork (then we can do the
same for era)

We use type to avoid conditionals, as fork is often already known at a
"higher" level.

* load blockid before loading block by root - this is needed to map root
to slot and will eventually be done via block summary table for "old"
blocks

Co-authored-by: tersec <tersec@users.noreply.github.com>
2022-02-21 09:48:02 +01:00
..
consensus_object_pools db: make block loading generic (#3413) 2022-02-21 09:48:02 +01:00
eth1 Revert "bump submodules (#3366)" (#3406) 2022-02-17 12:50:37 +01:00
fork_choice proc -> func, mainly in spec/state transition and adjecent modules (#3405) 2022-02-17 11:53:55 +00:00
gossip_processing proc -> func, mainly in spec/state transition and adjecent modules (#3405) 2022-02-17 11:53:55 +00:00
networking rename no{R=>r}eturn, no{I=>i}init, short{l=>L}og, E{T=>t}h2Node, Beacon{c=>C}hainDB (#3403) 2022-02-16 23:24:44 +01:00
rpc converter function for reducing blocks to headers (#3410) 2022-02-18 21:35:52 +01:00
spec var => let in specs/ and tests/ (#3425) 2022-02-20 20:13:06 +00:00
sync fix `firstSlot` computation for backfill sync 2022-02-14 18:53:38 +02:00
validator_client VC: Fix forks handling. (#3389) 2022-02-16 12:31:23 +01:00
validators proc -> func, mainly in spec/state transition and adjecent modules (#3405) 2022-02-17 11:53:55 +00:00
.editorconfig Add .editorconfig file and remove trailing newlines 2021-09-14 12:12:49 +03:00
.gitignore Rename binaries; Mimic the original repo layout in the distribution 2020-11-09 11:38:52 +02:00
beacon_chain_db.nim db: make block loading generic (#3413) 2022-02-21 09:48:02 +01:00
beacon_chain_db_immutable.nim spec URL updates (#3342) 2022-01-31 09:56:59 +00:00
beacon_clock.nim spec URL & copyright year update (#3338) 2022-01-29 01:05:39 +00:00
beacon_node.nim move wallet/deposit commands to separate files (#3372) 2022-02-11 21:40:49 +01:00
beacon_node_status.nim EH cleanup (#2455) 2021-03-26 07:52:01 +01:00
conf.nim proc -> func, mainly in spec/state transition and adjecent modules (#3405) 2022-02-17 11:53:55 +00:00
deposits.nim move wallet/deposit commands to separate files (#3372) 2022-02-11 21:40:49 +01:00
extras.nim use ForkedHashedBeaconState in StateData (#2634) 2021-06-11 20:51:46 +03:00
filepath.nim EH cleanup (#2455) 2021-03-26 07:52:01 +01:00
interop.nim bump `nim-stint` (#2969) 2021-10-14 14:13:51 +03:00
nim.cfg Revert writing backfill root to database (#3215) 2021-12-21 11:40:14 +01:00
nimbus_beacon_node.nim proc -> func, mainly in spec/state transition and adjecent modules (#3405) 2022-02-17 11:53:55 +00:00
nimbus_beacon_node.nim.cfg Revert writing backfill root to database (#3215) 2021-12-21 11:40:14 +01:00
nimbus_binary_common.nim move wallet/deposit commands to separate files (#3372) 2022-02-11 21:40:49 +01:00
nimbus_signing_node.nim complete switch to beacon_chain/specs/datatypes/bellatrix (#3295) 2022-01-18 13:36:52 +00:00
nimbus_signing_node.nim.cfg Revert writing backfill root to database (#3215) 2021-12-21 11:40:14 +01:00
nimbus_validator_client.nim VC: Fix forks handling. (#3389) 2022-02-16 12:31:23 +01:00
nimbus_validator_client.nim.cfg Revert writing backfill root to database (#3215) 2021-12-21 11:40:14 +01:00
sszdump.nim complete switch to beacon_chain/specs/datatypes/bellatrix (#3295) 2022-01-18 13:36:52 +00:00
statediff.nim time: spring cleaning (#3262) 2022-01-11 11:01:54 +01:00
statusbar.nim switch result = foo to expression return; unexport rest of logtrace symbols (#2788) 2021-08-17 09:51:39 +00:00
trusted_node_sync.nim speed up trusted node backfill (#3371) 2022-02-12 12:09:59 +01:00
version.nim Version 1.7.0 2022-02-15 22:55:29 +02:00
wallets.nim move wallet/deposit commands to separate files (#3372) 2022-02-11 21:40:49 +01:00