- Trying to find fast way to download Monero CLI and sync/download the blockchain to multiple machines
- reference: https://www.monero.how/tutorial-how-to-speed-up-initial-blockchain-sync
Download & extract build:
mkdir monero
cd monero
## mac download
curl -J -L https://downloads.getmonero.org/cli/mac64 -o monero.tar.bz2
## for linux download, use https://downloads.getmonero.org/cli/linux64
tar -vxjf monero.tar.bz2
Sync from network, and export blockchain to thumbdrive
cd cli
./monerod # this will take hours...
./monero-blockchain-export # this will export the 25+GB file ~/.bitmonero/export/blockchain.raw
Then on other machines, import blockchain from a local file
./monero-blockchain-import --verify 0 --input-file ./blockchain.raw
- download the blockchain.raw file (~50GB) from a trusted source and import
wget https://downloads.getmonero.org/blockchain.raw
./monero-blockchain-import --verify 0 --input-file ./blockchain.raw
Confirm all is work and then delete the export:
rm blockchain.raw
- warning: do not mine on laptop for extended periods. You will fry it.
xcode-select --install
brew install cmake libuv
git clone https://github.com/xmrig/xmrig.git
cd xmrig
mkdir build
cd build
cmake .. -DWITH_AEON=OFF -DWITH_HTTPD=OFF
make
start script
./xmrig/build/./xmrig -o pool.minexmr.com:4444 -u WALLET_ADDR -k --donate-level=1%
to start process in background add -B
to the command