mimblewimble/grin

Initial txhashset download (request it from a fast peer)

已关闭

#3,083 创建于 2019年10月4日

 (1 条评论) (0 个反应) (0 位负责人)Rust (991 个派生)batch import
enhancementhelp wanted

仓库指标

星标
 (4,876 个星标)
PR 合并指标
 (平均合并 6天 11小时) (30 天内合并 25 个 PR)

描述

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).

贡献者指南