mimblewimble/grin

Initial txhashset download (request it from a fast peer)

Fermée

#3 083 ouverte le 4 oct. 2019

 (1 commentaire) (0 réaction) (0 personne assignée)Rust (991 forks)batch import
enhancementhelp wanted

Métriques du dépôt

Stars
 (4 876 étoiles)
Métriques de merge PR
 (Merge moyen 6j 11h) (25 PRs mergées en 30 j)

Description

Related - #3082 (initial header sync)

If we track "fast" peers during the initial header sync it might make sense to use this information when deciding which peer to request the txhashset.zip from.

This zip file includes the full kernel set and the current UTXO set and is approx 425MB currently.

Right now we arbitrarily choose a random peer to download this zip file from and if we get a slow peer then the initial sync is painfully slow. If we uses some better heuristics we would be far more likely to get "lucky" and download it in a reasonable period of time (and reliably).

Guide contributeur