You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
payjoin-cli receive fails on Bitcoin Core 32: gettransaction no longer returns bip125-replaceable #2061
On Bitcoin Core 32.1, the v2 receiver fails when it parses gettransaction:
missing field bip125-replaceable.
Core 32 deprecated that key. It is only returned when bitcoind is started with -deprecatedrpc=bip125.
corepc_types::v28::GetTransaction (corepc-types 0.16.0, src/v28/wallet/mod.rs:261) has bip125_replaceable: Bip125Replaceable as a required field. bitcoind-async-client 0.16.1's v31 client uses it for gettransaction.
In payjoin-cli this is hit by is_my_outpoint (wallet.rs:218) and get_wallet_transaction (wallet.rs:252). payjoin-cli never reads the value, so it only fails while parsing.
On Core 32.1 this breaks 4 v2 e2e tests: send_receive_payjoin_v2, receiver_settles_fallback_before_proposal_v2, receiver_reports_input_contribution_recovery_v2, sender_cancel_v2.
Expected behavior
The v2 receiver works on Core 32 without needing a deprecated RPC flag.
Workaround I tested: with bitcoind started with -deprecatedrpc=bip125, gettransaction returns the key again. With that plus #2058, a full v2 payjoin works on Core 32.1 on regtest. It was sent, and then settled in block 203 (2 confirmations).
Possible directions:
Upstream: Core 32 support in corepc-types with bip125_replaceable as an Option, then in bitcoind-async-client, then a version bump here. This looks like the real fix, since Core will eventually remove the key.
Short term: document -deprecatedrpc=bip125 for Core 32 users of payjoin-cli.
CI: run the test node on Core 32, as asked about in Request v0 PSBTs from Bitcoin Core 32 #2058. init_bitcoind() in payjoin-test-utils could push -deprecatedrpc=bip125 into conf.args until option 1 lands. I haven't checked whether Core 29 accepts that flag.
I'd like to work on this. Which direction do you prefer?
AI disclosure: I used Claude to help investigate and draft this. I ran the reproduction and the workaround test myself.
I think the entire scope of this issue should be "support Core 32 in payjoin-cli". We'll want to run the test node on Core 32, perhaps side-by-side with a backwards compatibility test that runs on <32? psbt_version is not supported in prior versions so we need to confirm it still works on older versions. It seems fixes are needed upstream before we can properly support this without more hacks.
Status update on the upstream path (checked Nov 25):
corepc-types 0.17.0 (released Nov 12) doesn't include Core 32 gettransaction support yet. That's corepc #774, still open.
bitcoind-async-client: alpenlabs/bitcoind-async-client#184 adds Core 32 wallet transaction responses. It needs a corepc-types release that includes #774.
The bitcoind crate (0.44.0) can download Core only up to 31.1, so a Core 32 test node in CI also needs an upstream release.
With #184 applied locally through a temporary git pin, all 10 payjoin-cli e2e tests passed on Nov 23 against Core 31.1.0 and 32.1.0 (10/10 each). So the psbt_version path from #2058 still works below 32, and receive works on 32.1 without -deprecatedrpc=bip125.
Once those releases land, I'll open the PR: bump the deps, then add Core 32 to CI alongside the current older-version run, as you suggested. I'll keep this issue updated.
Activity
AdityaKaushal17 commentedon Nov 17, 2026
Workaround I tested: with bitcoind started with
-deprecatedrpc=bip125,gettransactionreturns the key again. With that plus #2058, a full v2 payjoin works on Core 32.1 on regtest. It was sent, and then settled in block 203 (2 confirmations).Possible directions:
bip125_replaceableas anOption, then in bitcoind-async-client, then a version bump here. This looks like the real fix, since Core will eventually remove the key.-deprecatedrpc=bip125for Core 32 users of payjoin-cli.init_bitcoind()in payjoin-test-utils could push-deprecatedrpc=bip125intoconf.argsuntil option 1 lands. I haven't checked whether Core 29 accepts that flag.I'd like to work on this. Which direction do you prefer?
AI disclosure: I used Claude to help investigate and draft this. I ran the reproduction and the workaround test myself.
spacebear21 commentedon Nov 18, 2026
I think the entire scope of this issue should be "support Core 32 in payjoin-cli". We'll want to run the test node on Core 32, perhaps side-by-side with a backwards compatibility test that runs on <32?
psbt_versionis not supported in prior versions so we need to confirm it still works on older versions. It seems fixes are needed upstream before we can properly support this without more hacks.AdityaKaushal17 commentedon Nov 25, 2026
Status update on the upstream path (checked Nov 25):
corepc-types 0.17.0 (released Nov 12) doesn't include Core 32 gettransaction support yet. That's corepc #774, still open.
bitcoind-async-client: alpenlabs/bitcoind-async-client#184 adds Core 32 wallet transaction responses. It needs a corepc-types release that includes #774.
The bitcoind crate (0.44.0) can download Core only up to 31.1, so a Core 32 test node in CI also needs an upstream release.
With #184 applied locally through a temporary git pin, all 10 payjoin-cli e2e tests passed on Nov 23 against Core 31.1.0 and 32.1.0 (10/10 each). So the psbt_version path from #2058 still works below 32, and receive works on 32.1 without -deprecatedrpc=bip125.
Once those releases land, I'll open the PR: bump the deps, then add Core 32 to CI alongside the current older-version run, as you suggested. I'll keep this issue updated.