vendor: bump (#954)
This commit is contained in:
parent
784c5e3d73
commit
e65f5c86da
|
@ -1,28 +0,0 @@
|
|||
import
|
||||
os, chronos, json_serialization,
|
||||
spec/[datatypes], beacon_chain_db
|
||||
|
||||
proc obtainTrustedStateSnapshot*(db: BeaconChainDB): Future[BeaconStateRef] {.async.} =
|
||||
# In case our latest state is too old, we must obtain a recent snapshot
|
||||
# of the state from a trusted location. This is explained in detail here:
|
||||
# https://notes.ethereum.org/oaQV3IF5R2qlJuW-V1r1ew#Beacon-chain-sync
|
||||
|
||||
# TODO: implement this:
|
||||
#
|
||||
# 1. Specify a large set of trusted state signees
|
||||
# (perhaps stored in a config file)
|
||||
#
|
||||
# 2. Download a signed state hash from a known location
|
||||
# (The known location can be either a HTTPS host or a DHT record)
|
||||
#
|
||||
# 3. Check that enough of the specified required signatures are present
|
||||
#
|
||||
# 4. Download a snapshot file from a known location
|
||||
# (or just obtain it from the network using the ETH protocols)
|
||||
#
|
||||
# 5. Check that the state snapshot hash is correct and save it in the DB.
|
||||
|
||||
# TODO or just pass a state root via command line?
|
||||
|
||||
doAssert(false, "Not implemented")
|
||||
|
|
@ -1 +1 @@
|
|||
Subproject commit bed0e403a47158b4a5781169c239364f225afe4f
|
||||
Subproject commit cb695d175fd809f6262f1ebc329e7c0b1d4505f5
|
|
@ -1 +1 @@
|
|||
Subproject commit 917b5f5c842839a8ac276337e9f58bc82271164e
|
||||
Subproject commit a4090c7382a2f0534cd776f6f15f3f02d6987de5
|
Loading…
Reference in New Issue