mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-02-21 00:08:28 +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
|
import
|
||||||
std/[os, atomics, random, terminal, times, exitprocs, sequtils],
|
std/[os, atomics, random, terminal, times, exitprocs, sequtils],
|
||||||
metrics,
|
metrics,
|
||||||
beacon_chain/nimbus_binary_common,
|
beacon_chain/[nimbus_beacon_node, nimbus_binary_common],
|
||||||
beacon_chain/spec/forks,
|
beacon_chain/spec/forks,
|
||||||
beacon_chain/[beacon_chain_db, trusted_node_sync],
|
beacon_chain/[beacon_chain_db, trusted_node_sync],
|
||||||
beacon_chain/networking/network_metadata_downloads,
|
beacon_chain/networking/network_metadata_downloads,
|
||||||
@ -2357,7 +2357,7 @@ proc start*(node: BeaconNode) {.raises: [CatchableError].} =
|
|||||||
|
|
||||||
## runs beacon node
|
## runs beacon node
|
||||||
## adapted from nimbus-eth2
|
## adapted from nimbus-eth2
|
||||||
proc doRunBeaconNode(
|
proc doRunBeaconNodeLocal(
|
||||||
config: var BeaconNodeConf, rng: ref HmacDrbgContext
|
config: var BeaconNodeConf, rng: ref HmacDrbgContext
|
||||||
) {.raises: [CatchableError].} =
|
) {.raises: [CatchableError].} =
|
||||||
# TODO: Define this varaibles somewhere
|
# 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.
|
# at your option. This file may not be copied, modified, or distributed except according to those terms.
|
||||||
|
|
||||||
import
|
import
|
||||||
std/[atomics, os],
|
std/[atomics, os, exitprocs],
|
||||||
chronicles,
|
chronicles,
|
||||||
stew/io2,
|
stew/io2,
|
||||||
consensus/consensus_wrapper,
|
consensus/consensus_wrapper,
|
||||||
execution/execution_wrapper,
|
execution/execution_wrapper,
|
||||||
beacon_chain/[conf, conf_common],
|
beacon_chain/[nimbus_binary_common, conf, conf_common],
|
||||||
beacon_chain/[beacon_chain_db],
|
|
||||||
beacon_chain/validators/keystore_management,
|
beacon_chain/validators/keystore_management,
|
||||||
beacon_chain/nimbus_binary_common,
|
|
||||||
version
|
version
|
||||||
|
|
||||||
## Constants
|
## Constants
|
||||||
|
Loading…
x
Reference in New Issue
Block a user