Knots (SHA256), version knots31.1.knots-sha256.20261018 released

I have finally gotten my Core > Knots transmogrification process ironed out, robust against attack, and redundant. I’ve run version 31.1 through, and shipped my first release (knots31.1.knots-sha256.20261018). Please read through the release notes and let me know if you spot any problems or think that something should be tweaked. I tried to be as faithful as possible to the process that Luke was doing before the hard-fork, but it is likely that I’ve overlooked something. This will be the foundation for my Safe Nodes project, so I want it to be as solid as possible.

The Start9 apps are available on my custom registry, and Umbrel apps are available on my community app store.

On Umbrel, the simplest way to switch to my version is to uninstall the pre-rdts version of Knots (or Core if you switched to it) and then install my version. This will repeat the IBD, though, so if you want to avoid that, here is the process:

  1. Start Knots (SHA256)
  2. Wait a couple of minutes
  3. Stop Knots (SHA256)
  4. Stop Bitcoin Knots
  5. SSH into your umbrel:
ssh umbrel@umbrel.local
  1. Run the following commands:
OLD=/home/umbrel/umbrel/app-data/bitcoin-knots/data/bitcoin
NEW=/home/umbrel/umbrel/app-data/paulscode-bitcoin-knots-sha256/data/bitcoin
sudo rm -rf $NEW/blocks $NEW/chainstate $NEW/indexes
sudo mv $OLD/blocks $OLD/chainstate $OLD/indexes $NEW/
  1. Start Knots (SHA256)
  2. Point all dependent apps to Knots (SHA256)
  3. Uninstall Bitcoin Knots
2 Likes

Paul I loaded this and now I get a gateway timeout error when I try to log into the start9 server through a browser. Not sure if its related to this or not, but its the first time I attempted to log in after going to this version of knots from the preRDTS version, Thoughts? I have been going through chat to try to troubleshoot it. The server shows as active on the internet and the connections are lit.

thnks

The trouble with Start9 is they over-cache everything so it is difficult to know if the server is actually up or not. Try opening it from a new incognito window to see if the page loads at all. You’ll probably need to reach out to Start9 for assistance (this isn’t related to Knots).

Great work, Paul!

I have it running on Umbrel and everything seems to be working. ElectrumX, mempool and Datum connected without any issues. I have connected miner hardware to the node and it’s crunching away on Datum in local mode.

Thank you for all your hard work! :smiley:

Hi again Paul

I have noticed that some connected nodes show up as “unknown” on the “insight” tab.
They are incoming via tor and their address is the one of the tor proxy/gateway container.

Have you observed this as well or is it just me?

I hope if it is a bug it can be fixed as it gets my paranoia going when I don’t know why they connect and don’t tell me why or what they are.

On my wish list would be that their real tor address was shown, but I know it’s been, like it is now, for as long as I remember and is not related to the app you have published.

These are just Tor-only nodes (tor is intentionally private, thus the “unknown”). There is no bug here. They connect because that is how the bitcoin network works – a decentralized network of random node runners who do not know or trust one another connect to participate in concensus validation.

I apologise for unclear phrasing.

Running the software (bitcoind) on plain Linux lets me do a “bitcoin-cli getpeerinfo” and here all information on connected peers are available, also when connected via Tor or i2p (via locally running tor and i2pd)

I’m not very experienced in programming and the use of agents, and I don’t know if it is even possible to get the information across when using the docker setup with services running in each their own container. So my wish, if you have the time at some point, is to somehow take the information and display it the same way as with clear-net and i2p clients. I think It will improve the user experience.

I suspect this is not the case for peers which have onlynet=onion. Note that these are “peers” (i.e. connected over the p2p network). They are not connecting over the RPC network (like walelts, etc), so they do not have any ability to attack you other than by lying or witholding information about the blockchain or mempool transactions (which is why the goal is to connect to as many peers as possible, so that your node will see the truth even if some peers are lying).

1 Like

…and.. Latest Electrs update is broken again. My pipeline for Knots releases is a bit slow, so it will take a while to catch up again. I’m running Core 31.2 through the pipeline, then will start immediately on 32.1 (or 32.2 if it ships first). Hopefully if I get Bitcoin Knots (SHA256) into the Community Registry, we’ll be able to coordinate the dependencies in future releases better (otherwise I’ll probably always be playing catchup unfortunately .. that is the trade-off of being methodical and careful with each release).

1 Like

According to https://www.bitnod.es/ we are at 47 nodes already :smiley:

1 Like

Haha, we have more BLAKE2b lightning nodes than that :grin:

1 Like

Haha. Thank you, Paul, I needed that laugh :grinning_face_with_smiling_eyes:

And as a follow-up to my earlier messages regarding “blank” nodes connecting ; I see (as you hinted yourself) the exact same pattern on the client installed on a clean Debian with local Tor install. By reading the information about their block count I have come to the conclusion that they are probes counting nodes and implementation, likely from sites like the bitnodes project :grinning_face_with_smiling_eyes::see_no_evil_monkey:

Ah, good point. I even wrote a probe like that myself during the spam war (Corehort).

1 Like

That was you?! Small world :grinning_face_with_smiling_eyes: very cool! :smiley: