Browse Source
0.13ee93202
Changed pronouns for correctness and inclusivity (bikinibabe)1fa89a5
fix _code_ snippet in gitian-building.md (UdjinM6)34c6181
Fix README link from util.sh -> util.py. (Matt Bogosian)faf0af4
Suggest --disable-wallet when libdb_cxx headers are missing (Luke Dashjr)5a809ef
depends: fix typos (Michael Ford)bd2b73b
TRIVIAL: fix misleading comment (Vitalii Demianets)5262fde
Remove whitespaces before double colon in errors and logs (Pavel Janík)3800135
Fix typo (Pavel Janík)91a9fe0
Fix typo - sentence starts with capital letter (Pavel Janík)bfc29dc
Improve gitian build guide (Michael Ford)d6bed15
remove sig_canonical.json and sig_noncanonical.json (Manuel Araoz)8673160
Remove bootstrap.md (Michael Ford)
Wladimir J. van der Laan
10 years ago
41 changed files with 244 additions and 333 deletions
@ -1,56 +0,0 @@ |
|||||||
### Bootstrap the Blockchain Synchronization |
|
||||||
|
|
||||||
Normally the Bitcoin client will download the transaction and network information, called the blockchain, from the network by syncing with the other clients. This process can take quite some time as the [Bitcoin blockchain](https://blockchain.info/charts/blocks-size) is growing bigger and bigger for each day. Luckily there is a safe and fast way to speed up this process. We'll show you how to bootstrap your blockchain to bring your client up to speed in just a few simple steps. |
|
||||||
|
|
||||||
### Requirements |
|
||||||
|
|
||||||
- A fresh install of the Bitcoin client software. |
|
||||||
|
|
||||||
### Download the blockchain via BitTorrent |
|
||||||
|
|
||||||
Jeff Garzik, Bitcoin Core developer, offers an [torrent file](https://bitcointalk.org/index.php?topic=145386.0) for bootstrapping purposes that is updated often. BitTorrent is a protocol that speeds up the downloading of large files by using the other clients in the network. Examples of free and safe open source clients are [Deluge](http://deluge-torrent.org/) or [qBittorrent](http://www.qbittorrent.org/). A guide to installing and configuring the torrent clients can be found [here](http://dev.deluge-torrent.org/wiki/UserGuide) for Deluge and [here](http://qbforums.shiki.hu/) for qBittorrent. A further in-depth tutorial on BitTorrent can be found [here](http://www.howtogeek.com/howto/31846/bittorrent-for-beginners-how-get-started-downloading-torrents/). |
|
||||||
|
|
||||||
With the client installed we'll proceed to download the blockchain torrent file. Use the following magnet link: |
|
||||||
|
|
||||||
magnet:?xt=urn:btih:2d4e6c1f96c5d5fb260dff92aea4e600227f1aea&dn=bootstrap.dat&tr=udp://tracker.openbittorrent.com:80&tr=udp://tracker.publicbt.com:80&tr=udp://tracker.ccc.de:80&tr=udp://tracker.istole.it:80 |
|
||||||
|
|
||||||
or go to [Jeff Garzik's topic](https://bitcointalk.org/index.php?topic=145386.0) for a signed magnet link. Alternatively you can use the [.torrent file](http://sourceforge.net/projects/bitcoin/files/Bitcoin/blockchain/bootstrap.dat.torrent/download) found on SourceForge. |
|
||||||
|
|
||||||
![Fig1](img/bootstrap1.png) |
|
||||||
|
|
||||||
The download page should look like this, with a countdown to the download. If it does not work click the direct download link. |
|
||||||
|
|
||||||
The torrent client installed will recognize the download of the torrent file. Save the bootstrap.dat file to the folder you use for downloads. The image below shows the torrent download in qBittorrent, with current speed and ETA highlighted. |
|
||||||
|
|
||||||
![Fig2](img/bootstrap2.png) |
|
||||||
|
|
||||||
### Importing the blockchain |
|
||||||
Exit the Bitcoin client software if you have it running. Be sure not to have an actively used wallet in use. We are going to copy the download of the blockchain to the Bitcoin client data directory. You should run the client software at least once so it can generate the data directory. Copy the downloaded bootstrap.dat file into the Bitcoin data folder. |
|
||||||
|
|
||||||
**For Windows users:** |
|
||||||
Open explorer, and type into the address bar: |
|
||||||
|
|
||||||
%APPDATA%\Bitcoin |
|
||||||
|
|
||||||
This will open up the data folder. It should look like the image below. Copy over the bootstrap.dat from your download folder to this directory. |
|
||||||
![Fig4](img/bootstrap4.png) |
|
||||||
|
|
||||||
**For OSX users:** |
|
||||||
Open Finder by pressing Press [shift] + [cmd] + [g] and enter: |
|
||||||
|
|
||||||
~/Library/Application Support/Bitcoin/ |
|
||||||
|
|
||||||
**For Linux users:** |
|
||||||
The directory is hidden in your User folder. Go to: |
|
||||||
|
|
||||||
~/.bitcoin/ |
|
||||||
|
|
||||||
### Importing the blockchain |
|
||||||
Now start the Bitcoin client software. It should show "Importing blocks from disk" like the image below. |
|
||||||
![Fig5](img/bootstrap5.png) |
|
||||||
|
|
||||||
Wait until the import finishes. The client will download the last days not covered by the import. Congratulations you have successfully imported the blockchain! |
|
||||||
|
|
||||||
### Is this safe? |
|
||||||
|
|
||||||
Yes, the above method is safe. The download contains only raw blockchain data and the client verifies this on import. Do not download the blockchain from unofficial sources, especially if they provide `*.rev` and `*.sst` files. These files are not verified and can contain malicious edits. |
|
@ -1,7 +0,0 @@ |
|||||||
[ |
|
||||||
"300602010002010001", |
|
||||||
"3008020200ff020200ff01", |
|
||||||
"304402203932c892e2e550f3af8ee4ce9c215a87f9bb831dcac87b2838e2c2eaa891df0c022030b61dd36543125d56b9f9f3a1f9353189e5af33cdda8d77a5209aec03978fa001", |
|
||||||
"30450220076045be6f9eca28ff1ec606b833d0b87e70b2a630f5e3a496b110967a40f90a0221008fffd599910eefe00bc803c688c2eca1d2ba7f6b180620eaa03488e6585db6ba01", |
|
||||||
"3046022100876045be6f9eca28ff1ec606b833d0b87e70b2a630f5e3a496b110967a40f90a0221008fffd599910eefe00bc803c688c2eca1d2ba7f6b180620eaa03488e6585db6ba01" |
|
||||||
] |
|
@ -1,22 +0,0 @@ |
|||||||
[ |
|
||||||
"non-hex strings are ignored", |
|
||||||
|
|
||||||
"too short:", "30050201FF020001", |
|
||||||
"too long:", "30470221005990e0584b2b238e1dfaad8d6ed69ecc1a4a13ac85fc0b31d0df395eb1ba6105022200002d5876262c288beb511d061691bf26777344b702b00f8fe28621fe4e566695ed01", |
|
||||||
"hashtype:", "304402205990e0584b2b238e1dfaad8d6ed69ecc1a4a13ac85fc0b31d0df395eb1ba610502202d5876262c288beb511d061691bf26777344b702b00f8fe28621fe4e566695ed11", |
|
||||||
"type:", "314402205990e0584b2b238e1dfaad8d6ed69ecc1a4a13ac85fc0b31d0df395eb1ba610502202d5876262c288beb511d061691bf26777344b702b00f8fe28621fe4e566695ed01", |
|
||||||
"total length:", "304502205990e0584b2b238e1dfaad8d6ed69ecc1a4a13ac85fc0b31d0df395eb1ba610502202d5876262c288beb511d061691bf26777344b702b00f8fe28621fe4e566695ed01", |
|
||||||
"S len oob:", "301F01205990e0584b2b238e1dfaad8d6ed69ecc1a4a13ac85fc0b31d0df395eb101", |
|
||||||
"R+S:", "304502205990e0584b2b238e1dfaad8d6ed69ecc1a4a13ac85fc0b31d0df395eb1ba610502202d5876262c288beb511d061691bf26777344b702b00f8fe28621fe4e566695ed0001", |
|
||||||
|
|
||||||
"R type:", "304401205990e0584b2b238e1dfaad8d6ed69ecc1a4a13ac85fc0b31d0df395eb1ba610502202d5876262c288beb511d061691bf26777344b702b00f8fe28621fe4e566695ed01", |
|
||||||
"R len = 0:", "3024020002202d5876262c288beb511d061691bf26777344b702b00f8fe28621fe4e566695ed01", |
|
||||||
"R<0:", "304402208990e0584b2b238e1dfaad8d6ed69ecc1a4a13ac85fc0b31d0df395eb1ba610502202d5876262c288beb511d061691bf26777344b702b00f8fe28621fe4e566695ed01", |
|
||||||
"R padded:", "30450221005990e0584b2b238e1dfaad8d6ed69ecc1a4a13ac85fc0b31d0df395eb1ba610502202d5876262c288beb511d061691bf26777344b702b00f8fe28621fe4e566695ed01", |
|
||||||
|
|
||||||
|
|
||||||
"S type:", "304402205990e0584b2b238e1dfaad8d6ed69ecc1a4a13ac85fc0b31d0df395eb1ba610501202d5876262c288beb511d061691bf26777344b702b00f8fe28621fe4e566695ed01", |
|
||||||
"S len = 0:", "302402205990e0584b2b238e1dfaad8d6ed69ecc1a4a13ac85fc0b31d0df395eb1ba6105020001", |
|
||||||
"S<0:", "304402205990e0584b2b238e1dfaad8d6ed69ecc1a4a13ac85fc0b31d0df395eb1ba61050220fd5876262c288beb511d061691bf26777344b702b00f8fe28621fe4e566695ed01", |
|
||||||
"S padded:", "304502205990e0584b2b238e1dfaad8d6ed69ecc1a4a13ac85fc0b31d0df395eb1ba61050221002d5876262c288beb511d061691bf26777344b702b00f8fe28621fe4e566695ed01" |
|
||||||
] |
|
Loading…
Reference in new issue