bootstrap.datがある条件を満たすと読み込めなくなる #89
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Core-Wallets/monacoin#89
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
bootstrap.datのブロックの順序が正しくない場合、そこで読み込みを停止してしまいます。
blk.dat内のブロックは正しくない順序になる可能性があるそうです。
https://learnmeabitcoin.com/technical/blkdat
一般的に
bootstrap.datはblk.datを連結して作成するので、読み込みが途中で止まる可能性があります。以下の
bootstrap.pyを実行し検証しました。bootstrap_correct.datを使用した場合、debug.logを確認すると10ブロックまで読み込んでいましたが、bootstrap_wrong.datを使用した場合は4ブロックまでしか読み込みませんでした。検証ありがとうございます。
bootstrap.datを用いた同期は0.10.x以降は推奨されておりません。
seederやblockheaderを先にダウンロードする形式などで十分に高速化及び分散化された同期がなされるという考えからです。
こちら辺りが分かりやすいかと思います。
https://bitcoin.stackexchange.com/questions/37927/what-happened-to-the-bootstrap-dat-provided-by-bitcoin-org
一旦closeしますが、また質問等ありましたらreopenか別issueを開いていただけると幸いです。