Will it relay? Check a Bitcoin transaction against Core 28 to 32 and Knots at once, on your own machine, and see why each version accepts or rejects it.
- Problem
- Bitcoin nodes on different versions do not accept the same transactions. A wallet can build one that relays on one release and is rejected on another, and nobody can easily tell why.
- Solution
- sbx checks a transaction, a package or a fee bump against Core 28 to 32 and Knots at once, on your own machine, and explains in plain words which versions accept it, which reject it, and why.
- Prototype
- Public and installable. Open the repository.
- Outcome
- Released as v0.2.0 under the MIT licence, with a GitHub Action for CI. A Bitcoin Core contributor’s review changed the product: every verdict now shows the share of reachable nodes behind it. I have no usage numbers yet, so I am not claiming any.
The path, in dates
- Asked for research on what would make Bitcoin developers’ work easier. Two ideas came back, and I asked whether they could be one product.
- Then a technical outline, then a working spike, package checks, mempool context, a Go command line and a local web page. One day.
- A UI audit against about 60 reference screens. One redesign I rejected and reverted, then a restyle I kept.
- Decided what a transaction breakdown should and should not be. Made it installable and signature-checked.
- Public under the MIT licence, with a pitch kit for the first developers.
- Tagged a release with the licence. Built a watcher for new Core and Knots versions.
- Feedback from a Bitcoin Core contributor. Built the network-share line.
- Reviewed the watcher’s first pull request, added Core 32.1, released v0.2.0 and updated the Action.
Where it started
Once GhostWatch was live, I turned to developers and asked for a tool that would make a Bitcoin developer’s job easier. It could be a desktop app or a web app. I set no limits.
The research found a few recurring pains. Debugging Lightning payments and force-closes was the most severe. Public test networks were the most frequent, with testnet3 removed in Core 30 and testnet4 described by contributors as unreliable. And mempool policy had changed in every release from Core 28 to 31, so wallet and layer-2 developers relearn what relays every few months. The research was clear that there is no developer survey on any of this, so the ranking was a judgement from GitHub threads, mailing lists and release notes, not a measurement.
Two ideas stood out. One was a headless, CI-first sandbox that starts a whole stack of Bitcoin and Lightning nodes with one command. The other was a “will it relay?” checker. The checker was the cheapest and the one nothing else did.
One product, built in the right order
I asked the obvious question: can these two be the same product? The answer was yes, one engine with two doors. But two corrections came with it, and they set the design.
- “Runs entirely in the browser” was too optimistic. A browser version would have to rewrite Core’s relay rules in JavaScript. Copies like that drift from the real rules, which is exactly the bug this tool exists to catch. The trustworthy version runs real nodes.
- A real mainnet transaction cannot be checked on a private test network. The coins it spends do not exist there. So the product has a sandbox mode that is fully accurate, and a mainnet mode that would need a hosted service.
The risk I was told to watch was the too-big-to-finish trap. So I decided the checker would ship first and stand on its own, and the sandbox would be an expansion, not a requirement.
What the spike settled
The technical outline assumed a background daemon controlling Docker containers. Before building that, I asked for a one-week spike in a day: run five real node versions side by side on a private regtest network, with only the standard library and no Docker, and ask each whether it would accept a transaction.
The first results already contradicted what I would have written by hand:
| Case | Core 28.4 | Core 29.4 | Core 30.3 | Core 31.1 | Knots 29.4.2 |
|---|---|---|---|---|---|
| Plain payment, 2 sat/vB | Yes | Yes | Yes | Yes | Yes |
| 0.5 sat/vB | Yes | Yes | Yes | Yes | No: min relay fee |
| OP_RETURN, 100 bytes | No | No | Yes | Yes | No |
| Two OP_RETURN outputs | No | No | Yes | Yes | No |
| 100-satoshi dust output | No | No | No | No | No |
Results from the week-one spike on Oct 15. Verdicts come from the real release binaries, not from rules I wrote.
- Reject messages differ between implementations. Knots says dust-nonanchor where Core says dust, so explanations have to be per implementation.
- Version boundaries are not clean. Core 28.4 already accepts 0.1 sat/vB, which looks like the lower minimum was backported, while Knots still enforces about 1 sat/vB. That is why the tool asks the real binaries instead of encoding “v29.1 changed X” by hand.
- The obvious Core command cannot judge packages. It never evaluates a package fee rate, so a checker built on it would be wrong for every fee-bump and anchor case. That decided the design: one throwaway probe node per version, networking switched off, then submit and delete.
The same day I added package checks and mempool context. The most useful rows showed up there:
| Case | Core 28.4 | Core 29.4 | Core 30.3 | Core 31.1 | Knots 29.4.2 |
|---|---|---|---|---|---|
| Zero-fee v2 parent rescued by its child | No | No | No | Yes | No |
| 26th transaction in an unconfirmed chain | No | No | No | Yes | No |
| Fee bump of +0.5 sat/vB | Yes | Yes | Yes | Yes | No: needs more |
Only Core 31.1 accepts the 26th transaction. Core 31 replaced the old 25-transaction chain limit with a new mempool design.
By the end of that day there was a Go command line, a local web page and 21 working examples, with a golden test set recording every version’s answer so that a new release’s behaviour changes show up as failed tests.
Making the result readable
The first page worked and was hard to read. I asked for an audit against Mobbin references and for outline icons from MingCute, and it found six problems:
- You had to read five stacked rows to learn the outcome.
- The same reason repeated up to four times on a phone.
- The raw node message came before the plain explanation.
- Status relied on colour alone.
- The example picker sat apart from the input.
- There was no empty state and nothing explained how to get transaction hex.
The redesign led with a one-line verdict, a strip of five version cells, reasons grouped by cause with the plain sentence first and the code underneath, and an empty state that teaches. I said I was not satisfied. A second try turned it into a two-pane results-first workbench with big ticks and crosses. I looked at it and said: revert back to the old design. It was reverted that morning.
I took one thing from that: when a design direction is a matter of taste, mock two or three versions as images first, so I can pick before anything is rebuilt. Two small calls from the same day stayed. The odd-one-out marker should not repeat on every card, so the summary sentence says it once and the card border does the pointing. And orange was the wrong colour for it, so the cards that differ keep their verdict colour, green or red, and the summary names them.
The restyle I kept came the next day, after I shared a visual reference I liked. It is a framed two-column page with hairlines and square corners, the transaction on the left and the result on the right. Purple became the one accent, and orange stayed with the Bitcoin logo. Only the result scrolls. The rounded pills I had copied from the reference looked wrong beside everything else, so they became square. The browser’s own dropdown became a custom one with keyboard support.
What a breakdown should be
Someone suggested that sbx should also break a transaction down so you can see whether it is multisig or single-sig. I asked for an honest opinion and pasted in a long wish list from ChatGPT as well.
The honest answer was: the idea is good, but only in a narrow form. Decoding a transaction is already solved by tools that do it for free. If sbx became a decoder plus a checker, it would spend weeks rebuilding that and dilute the one thing nobody else has, version-by-version verdicts. And inspecting an unsigned transaction is a wallet’s job, not this tool’s, because sbx can only test fully signed ones.
So I chose the narrow version: show only the properties that relay rules care about, and link each to the verdicts. When a version rejects something, the matching row is flagged in the transaction itself. A 100-byte OP_RETURN is flagged with the exact versions that rejected it, and a 0.5 sat/vB fee turns red against Knots. Where a transaction does not reveal something, such as a Taproot key-path spend, the row says so instead of guessing.
Earning trust
A tool that tells you what the network will accept has to be right. So the node binaries are official releases only, and the tool refuses to use one unless its checksum file is signed by at least three known builders and the download matches. I also made it installable with one line and tested the public install the way a stranger would, with plain curl and no login.
On Oct 18 I made the repository public after checking what would become public. The history held no passwords, keys or tokens. I chose the MIT licence, tagged a release on Oct 23 that included it, and wrote a pitch kit for the first developers: a short message, a table of surprising findings, a two-minute demo script, and five questions whose answers would decide what to build next.
The part I think matters most for a solo project is the release watcher. A daily job looks for new final Core and Knots releases, verifies their signatures, re-runs every example, and opens a pull request with the results. That is how one person can keep a version matrix current, the thing that makes similar tools depend on a single maintainer.
The review that changed the product
On Nov 3 a Bitcoin Core contributor looked at the 26-transaction example. He agreed the cause could be cluster mempool, which meant the tool was catching a real difference and not a bug. Then he made the criticism that mattered. Alone, a list of which versions accept a transaction will not reliably tell you much. A developer wants to know what share of the network runs what software.
He was right. “Core 29 rejects it” matters a lot if most of the network runs Core 29 and hardly at all if almost nobody does. I decided to put a network-share line on every result: each verdict is weighed by how many reachable mainnet nodes run that release line, from the public Bitnodes snapshot.
I also decided to state the limits on the page, because the number can be over-read. Bitnodes only counts nodes that accept incoming connections, and a share of nodes is not the same as reaching a miner. For the 26th-transaction example the result reads about 55% accepted, 34% rejected, and 11% run versions sbx does not test.
Reviewing the bot’s pull request
The watcher’s first pull request added Core 32.1. Before merging I ran it on my own machine with the real, signature-checked binaries. The signatures and the results were right, but merging would have turned the main branch red. One unit test had old versions written into it, so every future watcher pull request would have failed it. Bot pull requests also do not trigger CI by default, so there was no evidence on the PR but its own table.
I asked for four fixes: make the test use a fixed version list, have the watcher run the tests and report failures in the PR body, record Core 32’s expected behaviour so later changes get caught, and update the README’s version list. Then I merged it, released v0.2.0, and moved the tag the GitHub Action uses so CI users get Core 32 and the share line.
Outcome
- Public on GitHub under the MIT licence. Latest release: v0.2.0.
- Checks one transaction against Core 28.4, 29.5, 30.4, 31.2, 32.1 and Knots 29.4.3 at once, on your own machine, with nothing broadcast.
- 24 built-in examples, each recorded in a golden test set, and a GitHub Action that fails a build when a transaction would be rejected somewhere.
- No usage or adoption numbers yet. I would rather say that than guess.
What I would do differently
- Say “sandbox only” earlier. The tool can only check transactions that spend sandbox coins. I explain that now, but it should have been the first thing a visitor saw.
- Ask the network question on day one. The best critique came from a stranger who works on Core. Showing it to someone like that after the spike, not after the third redesign, would have shortened the path.
- Mainnet checks and the wider sandbox are not built. Checking a real stuck transaction needs pruned mainnet nodes on a server, and the Lightning, Ark and ecash layers need more than release binaries. An MCP server and mining pool policies are also still on the list.
How I worked
I ran this with Claude as a research and engineering partner. I set the brief, made the calls above and rejected what did not work. It ran the research passes, wrote the code and tested it. Every claim on this page comes from the project’s own notes, tests and data.
Hiring for a Bitcoin or fintech product team? Email me or book a call.
