mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-02-15 21:47:21 +00:00
Start using eth2 code.
All possible constraints regarding eth2 are identified and tested for possible solutions.
This commit is contained in:
parent
2c7eca1c57
commit
382296f809
@ -9,7 +9,7 @@
|
||||
import
|
||||
std/[os, atomics, random, terminal, times, exitprocs, sequtils],
|
||||
metrics,
|
||||
beacon_chain/nimbus_binary_common,
|
||||
beacon_chain/[nimbus_beacon_node, nimbus_binary_common],
|
||||
beacon_chain/spec/forks,
|
||||
beacon_chain/[beacon_chain_db, trusted_node_sync],
|
||||
beacon_chain/networking/network_metadata_downloads,
|
||||
@ -2357,7 +2357,7 @@ proc start*(node: BeaconNode) {.raises: [CatchableError].} =
|
||||
|
||||
## runs beacon node
|
||||
## adapted from nimbus-eth2
|
||||
proc doRunBeaconNode(
|
||||
proc doRunBeaconNodeLocal(
|
||||
config: var BeaconNodeConf, rng: ref HmacDrbgContext
|
||||
) {.raises: [CatchableError].} =
|
||||
# TODO: Define this varaibles somewhere
|
||||
|
@ -6,15 +6,13 @@
|
||||
# at your option. This file may not be copied, modified, or distributed except according to those terms.
|
||||
|
||||
import
|
||||
std/[atomics, os],
|
||||
std/[atomics, os, exitprocs],
|
||||
chronicles,
|
||||
stew/io2,
|
||||
consensus/consensus_wrapper,
|
||||
execution/execution_wrapper,
|
||||
beacon_chain/[conf, conf_common],
|
||||
beacon_chain/[beacon_chain_db],
|
||||
beacon_chain/[nimbus_binary_common, conf, conf_common],
|
||||
beacon_chain/validators/keystore_management,
|
||||
beacon_chain/nimbus_binary_common,
|
||||
version
|
||||
|
||||
## Constants
|
||||
|
Loading…
x
Reference in New Issue
Block a user