Generates an ip_asn.map file for bitcoin-core, to support early testing of the bitcoin-asmap PR
You will need:
- a fast internet connection
- 7GB of disk space for the dumps
- 12GB of ram for the analysis
- patience
- First time run:
vagrant up
- Run again the VM is already up:
vagrant provision
- To force the asmap-rs dump re-download:
FORCE_DOWNLOAD=true vagrant provision
- To force the asmap-rs bottleneck re-analysis:
FORCE_ANALYSIS=true vagrant provision
All files are output in a asmap subdirectory of the directory where vagrant ... commands are run.
asmap/dumps/*: gzipped asn dumpsbottlenecks/*: bottleneck analysis result filesip_asn.map: file to be passed to bitcoind's-asnmapcommand-line argument
- https://jonatack.github.io/articles/how-to-compile-bitcoin-core-and-run-the-tests
- https://jonatack.github.io/articles/how-to-review-pull-requests-in-bitcoin-core
- https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md
- https://github.com/bitcoin/bitcoin/blob/master/doc/productivity.md