ethereum/go-ethereum

geth takes over an hour to start with a lot of keys in the keystore

Open

#16 874 ouverte le 4 juin 2018

Voir sur GitHub
 (22 commentaires) (0 réactions) (0 assignés)Go (21 913 forks)batch import
help wantedtype:feature

Métriques du dépôt

Stars
 (51 042 stars)
Métriques de merge PR
 (Merge moyen 21j 10h) (82 PRs mergées en 30 j)

Description

Hi,

This has been going on for a long time but geth takes longer and longer to start up. Currently using the pre-compiled 1.8.10 on Linux 64-bit. Pretty beefy machine with 128GB of RAM, NVMe storage, 3 GHz Xeon w/ 8 cores / 16 threads.

My best guess is it's because we have a lot of keys since it's for a wallet provider.

Quick example from today showing timestamps between these 2 lines of geth output:

INFO [06-04|04:26:23] Maximum peer count ETH=25 LES=0 total=25 INFO [06-04|05:38:10] Starting peer-to-peer node instance=Geth/v1.8.10-stable-eae63c51/linux-amd64/go1.10.

Guide contributeur