nimbus-eth2/beacon_chain/spec
Etan Kissling cb9e0eed49
allow trusted node sync based on LC trusted block root (#4736)
* allow trusted node sync based on LC trusted block root

Extends `trustedNodeSync` with a new `--trusted-block-root` option that
allows initializing a light client. No `--state-id` must be provided.
The beacon node will then use this light client to obtain the latest
finalized state from the remote server in a trust-minimized fashion.
Note that the provided `--trusted-block-root` should be somewhat recent,
and that security precautions such as comparing the state root against
block explorers is still recommended.

* fix

* workaround for `valueOr` limitations

* reduce magic numbers

* digest len > context len for readability

* move `cstring` conversion to caller

* avoid abbreviations

* `return` codestyle
2023-04-16 06:07:07 +00:00
..
datatypes Add blob sidecar gossip validation (#4785) 2023-04-04 15:12:34 +00:00
eth2_apis allow trusted node sync based on LC trusted block root (#4736) 2023-04-16 06:07:07 +00:00
mev capella builder API support (#4643) 2023-02-21 14:21:38 +01:00
presets automated consensus spec URL updating from v1.3.0-rc.4 to rc.5 (#4756) 2023-03-21 00:42:22 +00:00
beacon_time.nim assorted consensus spec URL updates to v1.3.0-rc.5 (#4768) 2023-03-27 14:41:22 +00:00
beaconstate.nim assorted consensus spec URL updates (#4776) 2023-03-30 23:08:52 +00:00
block_id.nim remove Nim 1.2-compatible `push raise`s and update copyright notice years (#4528) 2023-01-20 14:14:37 +00:00
crypto.nim assorted consensus spec URL updates to v1.3.0-rc.5 (#4768) 2023-03-27 14:41:22 +00:00
deposit_snapshots.nim eip4844 block/slot sanity and transition tests (#4399) 2022-12-08 02:07:41 +00:00
digest.nim automated update of v1.3.0-rc.2 to v1.3.0-rc.3 consensus spec URLs (#4647) 2023-02-21 16:43:21 +00:00
engine_authentication.nim Support for driving multiple EL nodes from a single Nimbus BN (#4465) 2023-03-05 01:40:21 +00:00
english_word_list.txt Bump testutils 2020-06-01 16:58:28 +03:00
eth2_merkleization.nim remove Nim 1.2-compatible `push raise`s and update copyright notice years (#4528) 2023-01-20 14:14:37 +00:00
eth2_ssz_serialization.nim Remove SignedBeaconBlockAndBlobsSidecar (#4683) 2023-03-02 15:12:04 +01:00
forks.nim assorted consensus spec URL updates (#4776) 2023-03-30 23:08:52 +00:00
forks_light_client.nim add `formatIt` for `ForkedLightClientXyz` (#4816) 2023-04-13 15:26:17 +00:00
helpers.nim assorted consensus spec URL updates (#4776) 2023-03-30 23:08:52 +00:00
keystore.nim web3signer refactoring and test suite. (#4775) 2023-04-06 16:16:21 +03:00
light_client_sync.nim bump light client spec references to `v1.3.0-rc.3` (#4719) 2023-03-11 01:11:51 +00:00
network.nim Add blob sidecar gossip validation (#4785) 2023-04-04 15:12:34 +00:00
presets.nim automated consensus spec URL updating from v1.3.0-rc.4 to rc.5 (#4756) 2023-03-21 00:42:22 +00:00
signatures.nim Add blob sidecar gossip validation (#4785) 2023-04-04 15:12:34 +00:00
signatures_batch.nim rename `stateFork` > `consensusFork` (#4718) 2023-03-11 00:35:52 +00:00
ssz_codec.nim remove Nim 1.2-compatible `push raise`s and update copyright notice years (#4528) 2023-01-20 14:14:37 +00:00
state_transition.nim assorted consensus spec URL updates (#4776) 2023-03-30 23:08:52 +00:00
state_transition_block.nim assorted consensus spec URL updates (#4776) 2023-03-30 23:08:52 +00:00
state_transition_epoch.nim assorted consensus spec URL updates (#4776) 2023-03-30 23:08:52 +00:00
validator.nim assorted consensus spec URL updates (#4776) 2023-03-30 23:08:52 +00:00
weak_subjectivity.nim automated consensus spec URL updating from v1.3.0-rc.4 to rc.5 (#4756) 2023-03-21 00:42:22 +00:00