Installer bitcoin core
apt install curl
https://bitnodes.io/install-full-node.sh | sh
To stop Bitcoin Core:
cd /root/bitcoin-core/bin && ./stop.sh
To start Bitcoin Core again:
cd /root/bitcoin-core/bin && ./start.sh
To use bitcoin-cli program:
cd /root/bitcoin-core/bin && ./bitcoin-cli
-conf=/root/bitcoin-core/.bitcoin/bitcoin.conf getnetworkinfo
To view Bitcoin Core log file:
tail -f /root/bitcoin-core/.bitcoin/debug.log
To uninstall Bitcoin Core:
./install-full-node.sh -u
déplacer la blockchain de Bitcoin core installé par snap dans le home admin. Aller dans
cd /root/bitcoin-core/.bitcoin/blocks
et déplacer le contenu du dossier blocks (snap/admin) dans root/bitcoin-core…
mv /home/admin/snap/bitcoin-core/common/.bitcoin/blocks/* .