mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-02-24 04:08:32 +00:00
make some procedures public
This commit is contained in:
parent
27a65eb1b9
commit
633c04443b
@ -63,7 +63,7 @@ declareGauge sync_committee_active,
|
|||||||
declareCounter db_checkpoint_seconds,
|
declareCounter db_checkpoint_seconds,
|
||||||
"Time spent checkpointing the database to clear the WAL file"
|
"Time spent checkpointing the database to clear the WAL file"
|
||||||
|
|
||||||
proc fetchGenesisState(
|
proc fetchGenesisState*(
|
||||||
metadata: Eth2NetworkMetadata,
|
metadata: Eth2NetworkMetadata,
|
||||||
genesisState = none(InputFile),
|
genesisState = none(InputFile),
|
||||||
genesisStateUrl = none(Uri)
|
genesisStateUrl = none(Uri)
|
||||||
@ -101,7 +101,7 @@ proc fetchGenesisState(
|
|||||||
else:
|
else:
|
||||||
nil
|
nil
|
||||||
|
|
||||||
proc doRunTrustedNodeSync(
|
proc doRunTrustedNodeSync*(
|
||||||
db: BeaconChainDB,
|
db: BeaconChainDB,
|
||||||
metadata: Eth2NetworkMetadata,
|
metadata: Eth2NetworkMetadata,
|
||||||
databaseDir: string,
|
databaseDir: string,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user