Created
August 3, 2025 08:10
-
-
Save GregTonoski/5f9f201ac8efbabb2bf0b735a65f37ee to your computer and use it in GitHub Desktop.
How to upgrade to Bitcoin Knots from Core
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I was able to accomplish the upgrade from Core v26.0 to Bitcoin Knots 28.1 with the one-line command on Debian GNU/Linux x86-64: | |
$ sudo rsync --ignore-times rsync://peer.dedyn.io:1873/knots/* /usr/local/bin | |
All data (blocks, chainstate) were preserved and directly processed by Bitcoin Knots without re-downloading them. | |
In case of Ubuntu, Bitcoin Knots is easily installed by the PPA: | |
1. $ sudo add-apt-repository ppa:luke-jr/bitcoinknots | |
2. $ sudo apt update | |
3. $ sudo apt install bitcoind | |
(optionally) 4. $ sudo apt install bitcoin-qt | |
There are installers for MacOS and Windows on the website: "https://bitcoinknots.org/#download". | |
There are guides for other platforms, e.g. Umbrel, Start9 at: "https://wtfhappenedinfeb2023.com/what-you-can-do-about-it/as-a-noderunner#install-run-knots" and "https://docs.mempool.guide/". | |
Additionally, I would recommend amending the configuration file bitcoin.conf with the setting "datacarrier=0" in order to reject spam, e.g. | |
$ cd ~/.bitcoin | |
$ mv bitcoin.conf bitcoin.conf.bak | |
$ echo "datacarrier=0" > bitcoin.conf | |
$ sed 's/datacarrier=.*/datacarrier=0/g' bitcoin.conf.bak >> bitcoin.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment