gui: Use PSBT v0 #36539

Manually merged
davidgumberg merged 2 commits from 2026-10-15-psbt-gui into master 2026-11-04 19:23:11 +00:00 AGit
davidgumberg commented 2026-10-15 08:18:12 +00:00 (Migrated from github.com)

This fixes: https://github.com/bitcoin/bitcoin/issues/36518

There is no test added here for the bump fee PSBT's being v0, since there aren't any existing tests for watch only wallet feebumping in the GUI. If reviewers insist on this I can add it, but I wanted to keep the diff minimal. I have tested this manually.

AFAIU for the external signer stuff it shouldn't matter much whether it's v0 or v2, since users are very unlikely to be using HWI software that doesn't speak v0, but out of caution I've set the external signer PSBT to v0 for the GUI.

This PR originally took the approach of adding a checkbox, (davidgumberg/gui/2026-10-15-psbt-gui), but this was dropped to simplify backporting past string freeze.

LLM Disclosure: The previous approach was drafted using an LLM, but this branch was written by me. I used an LLM to explore adding a fee bump watchonly GUI test, and decided against it.

This fixes: https://github.com/bitcoin/bitcoin/issues/36518 There is no test added here for the bump fee PSBT's being v0, since there aren't any existing tests for watch only wallet feebumping in the GUI. If reviewers insist on this I can add it, but I wanted to keep the diff minimal. I have tested this manually. AFAIU for the external signer stuff it shouldn't matter much whether it's v0 or v2, since users are very unlikely to be using HWI software that doesn't speak v0, but out of caution I've set the external signer PSBT to v0 for the GUI. _This PR originally took the approach of adding a checkbox, ([davidgumberg/gui/2026-10-15-psbt-gui](https://github.com/davidgumberg/gui/tree/2026-10-15-psbt-gui)), but this was dropped to simplify backporting past string freeze._ _LLM Disclosure: The previous approach was drafted using an LLM, but this branch was written by me. I used an LLM to explore adding a fee bump watchonly GUI test, and decided against it._
DrahtBot commented 2026-10-15 08:18:23 +00:00 (Migrated from github.com)

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

External sites

Reviews

See the guideline and AI policy for information on the review process.

Type Reviewers
ACK Sjors, w0xlt
Concept ACK polespinasa

If your review is incorrectly listed, please copy-paste <!--meta-tag:bot-skip--> into the comment that the bot should ignore.

Conflicts

Reviewers, this pull request conflicts with the following ones:

  • #35511 (RFC: consensus: Make CAmount a class by hodlinator)

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

<!--e57a25ab6845829454e8d69fc972939a--> The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. <!--006a51241073e994b41acfe9ec718e94--> ### External sites * Code coverage & benchmarks: https://corecheck.dev/bitcoin/bitcoin/pulls/36539 * Ralph review <img src=https://review.fish.foo/assets/bitcoin/bitcoin/36539.png alt="Ralph review status"> https://git.fish.foo/bitcoin/bitcoin/pulls/36539#author-ralph <!--021abf342d371248e50ceaed478a90ca--> ### Reviews See [the guideline](https://github.com/bitcoin/bitcoin/blob/master/CONTRIBUTING.md#code-review) and [AI policy](https://github.com/bitcoin/bitcoin/blob/master/doc/AI_POLICY.md) for information on the review process. | Type | Reviewers | | ---- | --------- | | ACK | [Sjors](https://github.com/bitcoin/bitcoin/pull/36539#issuecomment-6441810241), [w0xlt](https://github.com/bitcoin/bitcoin/pull/36539#pullrequestreview-5673480077) | | Concept ACK | [polespinasa](https://github.com/bitcoin/bitcoin/pull/36539#issuecomment-6602539851) | If your review is incorrectly listed, please copy-paste <code>&lt;!--meta-tag:bot-skip--&gt;</code> into the comment that the bot should ignore. <!--174a7506f384e20aa4161008e828411d--> ### Conflicts Reviewers, this pull request conflicts with the following ones: * [#35511](https://github.com/bitcoin/bitcoin/pull/35511) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/35511.svg"></sub> (RFC: consensus: Make `CAmount` a class by hodlinator) If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. <!--5faf32d7da4f0f540f40219e4f7537a3-->
First-time contributor

🔵 Suggestion · Fee-bump Create Unsigned exports lack a PSBT-version regression test

The new GUI assertion checks only SendCoinsDialog, so reverting WalletModel's independent fee-bump export to PSBTv2 would escape the current assertions.

Location: src/qt/walletmodel.cpp:504 (head).

🔵 Suggestion · Persistent signer documentation conflicts with the new minimum requirement

The release note requires HWI 2.1.0, but the persistent guide still permits 2.0 and leaves the signer's PSBTv2 requirement unspecified.

Location: doc/release-notes-hwi-minver.md:9 (head).

🔵 Suggestion · PR description incorrectly says GUI external signing switches to v0

GUI Send still requests PSBTv2, and a successful incomplete signer reply retaining v2 is exported unchanged, contrary to the description's claim that GUI external signing was switched to v0.

Location: src/qt/sendcoinsdialog.cpp:507 (head).

🔵 Suggestion · Add a release note for the PSBT export default change

The GUI's Create Unsigned send and fee-bump exports now produce PSBTv0 instead of the base's v2. The added release note only covers the external-signer PSBTv2 requirement and doesn't mention this visible change.

Location: src/qt/sendcoinsdialog.cpp:487 (head).

🔵 Suggestion · Use a PR-specific release-note filename

The note is still named doc/release-notes-hwi-minver.md rather than the PR-numbered name developer-notes asks for. The author's 'Taken' reply isn't reflected in the source. The base already has a topic-named note (release-notes-remove-persistmempoolv1.md), so this is low priority.

Location: doc/release-notes-hwi-minver.md:1 (head).

Review coverage was incomplete.


Reviewed: 3fdc45d1fa2a · Full review report · Previous reports

permalink

<!-- forgejo-review-bot:bitcoin/bitcoin --> <!-- ralph-engine:current:8541d3fafd3ea45d3ad824914bf78a806527457ae4801671a2c4a580beddb288:1e657457416e20a18d8d2d136919c48e28e1bfed7a76c26939ab1ca10a232c6a --> <!-- ralph-base:ab7e668cc6af5d716ad40166d1f88235a2f6d25d --> <!-- ralph-head:3fdc45d1fa2a6f32f251aa6f639a52bbfd5245b0 --> <!-- ralph-case:811140d4d8b131c573ad4eaf6c014b68aba1498547bbaf694c383a5f64102bce --> **🔵 Suggestion · Fee-bump Create Unsigned exports lack a PSBT-version regression test** The new GUI assertion checks only SendCoinsDialog, so reverting WalletModel's independent fee-bump export to PSBTv2 would escape the current assertions. Location: [`src/qt/walletmodel.cpp:504`](<https://git.fish.foo/bitcoin/bitcoin/src/commit/3fdc45d1fa2a6f32f251aa6f639a52bbfd5245b0/src/qt/walletmodel.cpp#L504>) (head). **🔵 Suggestion · Persistent signer documentation conflicts with the new minimum requirement** The release note requires HWI 2.1.0, but the persistent guide still permits 2.0 and leaves the signer's PSBTv2 requirement unspecified. Location: [`doc/release-notes-hwi-minver.md:9`](<https://git.fish.foo/bitcoin/bitcoin/src/commit/3fdc45d1fa2a6f32f251aa6f639a52bbfd5245b0/doc/release-notes-hwi-minver.md#L9>) (head). **🔵 Suggestion · PR description incorrectly says GUI external signing switches to v0** GUI Send still requests PSBTv2, and a successful incomplete signer reply retaining v2 is exported unchanged, contrary to the description's claim that GUI external signing was switched to v0. Location: [`src/qt/sendcoinsdialog.cpp:507`](<https://git.fish.foo/bitcoin/bitcoin/src/commit/3fdc45d1fa2a6f32f251aa6f639a52bbfd5245b0/src/qt/sendcoinsdialog.cpp#L507>) (head). **🔵 Suggestion · Add a release note for the PSBT export default change** The GUI's Create Unsigned send and fee-bump exports now produce PSBTv0 instead of the base's v2. The added release note only covers the external-signer PSBTv2 requirement and doesn't mention this visible change. Location: [`src/qt/sendcoinsdialog.cpp:487`](<https://git.fish.foo/bitcoin/bitcoin/src/commit/3fdc45d1fa2a6f32f251aa6f639a52bbfd5245b0/src/qt/sendcoinsdialog.cpp#L487>) (head). **🔵 Suggestion · Use a PR-specific release-note filename** The note is still named doc/release-notes-hwi-minver.md rather than the PR-numbered name developer-notes asks for. The author's 'Taken' reply isn't reflected in the source. The base already has a topic-named note (release-notes-remove-persistmempoolv1.md), so this is low priority. Location: [`doc/release-notes-hwi-minver.md:1`](<https://git.fish.foo/bitcoin/bitcoin/src/commit/3fdc45d1fa2a6f32f251aa6f639a52bbfd5245b0/doc/release-notes-hwi-minver.md#L1>) (head). Review coverage was incomplete. <!-- Review tier: sensitive --> --- Reviewed: [`3fdc45d1fa2a`](<https://git.fish.foo/bitcoin/bitcoin/commit/3fdc45d1fa2a6f32f251aa6f639a52bbfd5245b0>) · [Full review report](<https://review.fish.foo/traces/36539-3fdc45d1fa2a6f32f251aa6f639a52bbfd5245b0-1871-8.html>) · [Previous reports](<https://review.fish.foo/traces/36539/>) [permalink](<https://review.fish.foo/traces/36539-3fdc45d1fa2a6f32f251aa6f639a52bbfd5245b0-1871-8.html>)
davidgumberg commented 2026-10-16 00:53:14 +00:00 (Migrated from github.com)

@achow101 @polespinasa

@achow101 @polespinasa
achow101 commented 2026-10-16 01:12:45 +00:00 (Migrated from github.com)

I don't think we should be adding any GUI elements for a PR targeting a backport, particularly as it adds strings for translation. We can do v0 only in the GUI I guess.

I don't think we should be adding any GUI elements for a PR targeting a backport, particularly as it adds strings for translation. We can do v0 only in the GUI I guess.
fanquake commented 2026-10-16 04:45:23 +00:00 (Migrated from github.com)

cc @hebasto

cc @hebasto
Sjors commented 2026-10-17 08:13:27 +00:00 (Migrated from github.com)

We can do v0 only in the GUI I guess.

That seems fine for now if it's easier. There could be a (release) note to use the RPC for v2 when needed.

> We can do v0 only in the GUI I guess. That seems fine for now if it's easier. There could be a (release) note to use the RPC for v2 when needed.
davidgumberg commented 2026-10-18 23:11:00 +00:00 (Migrated from github.com)

I've pushed so that the GUI just returns v0 PSBT's.

I've pushed so that the GUI just returns v0 PSBT's.
Sjors commented 2026-10-20 02:41:25 +00:00 (Migrated from github.com)

Code review f0777e6855.

AFAIU for the external signer stuff it shouldn't matter much whether it's v0 or v2, since users are very unlikely to be using HWI software that doesn't speak v0, but out of caution I've set the external signer PSBT to v0 for the GUI.

I think it's better to consistently use v2 for external signers, both from the GUI and RPC.

Code review f0777e68550cc100ab0341515c5c34bac45fc7a4. > AFAIU for the external signer stuff it shouldn't matter much whether it's v0 or v2, since users are very unlikely to be using HWI software that doesn't speak v0, but out of caution I've set the external signer PSBT to v0 for the GUI. I think it's better to consistently use v2 for external signers, both from the GUI and RPC.
Sjors (Migrated from github.com) reviewed 2026-10-20 02:42:59 +00:00
Sjors (Migrated from github.com) commented 2026-10-20 02:43:00 +00:00

You can use the same comment in the regular send path, if you take my suggestion above.

You can use the same comment in the regular send path, if you take my suggestion above.
w0xlt commented 2026-10-20 17:15:12 +00:00 (Migrated from github.com)

The GUI fee bump with an external signer still uses v2 (WalletModel::bumpFee -> signBumpTransaction -> feebumper::SignTransaction, pinned to v2 and shared with RPC bumpfee).

Suggestion: a psbt_version param can be added to feebumper::SignTransaction/signBumpTransaction, with the GUI passing 0 and RPC keeping 2.

diff
diff --git a/src/interfaces/wallet.h b/src/interfaces/wallet.h
index 8862f94fab..da140f721e 100644
--- a/src/interfaces/wallet.h
+++ b/src/interfaces/wallet.h
@@ -175,7 +175,7 @@ public:
         CMutableTransaction& mtx) = 0;
 
     //! Sign bump transaction.
-    virtual bool signBumpTransaction(CMutableTransaction& mtx) = 0;
+    virtual bool signBumpTransaction(CMutableTransaction& mtx, uint32_t psbt_version) = 0;
 
     //! Commit bump transaction.
     virtual bool commitBumpTransaction(const Txid& txid,
diff --git a/src/qt/walletmodel.cpp b/src/qt/walletmodel.cpp
index 2422b88579..95454e2265 100644
--- a/src/qt/walletmodel.cpp
+++ b/src/qt/walletmodel.cpp
@@ -524,7 +524,7 @@ bool WalletModel::bumpFee(Txid hash, Txid& new_hash)
     assert(!m_wallet->privateKeysDisabled() || wallet().hasExternalSigner());
 
     // sign bumped transaction
-    if (!m_wallet->signBumpTransaction(mtx)) {
+    if (!m_wallet->signBumpTransaction(mtx, /*psbt_version=*/0)) {
         QMessageBox::critical(nullptr, tr("Fee bump error"), tr("Can't sign transaction."));
         return false;
     }
diff --git a/src/wallet/feebumper.cpp b/src/wallet/feebumper.cpp
index ab64fd8cda..1c7288aedd 100644
--- a/src/wallet/feebumper.cpp
+++ b/src/wallet/feebumper.cpp
@@ -336,13 +336,12 @@ Result CreateRateBumpTransaction(CWallet& wallet, const Txid& txid, const CCoinC
     return Result::OK;
 }
 
-bool SignTransaction(CWallet& wallet, CMutableTransaction& mtx) {
+bool SignTransaction(CWallet& wallet, CMutableTransaction& mtx, uint32_t psbt_version) {
     LOCK(wallet.cs_wallet);
 
     if (wallet.IsWalletFlagSet(WALLET_FLAG_EXTERNAL_SIGNER)) {
-        // Make a blank PSBT, this means that users will need to have an
-        // external signer software that supports BIP-0370.
-        PartiallySignedTransaction psbtx(mtx, /*version=*/2);
+        // Make a blank psbt
+        PartiallySignedTransaction psbtx(mtx, psbt_version);
 
         // First fill transaction with our data without signing,
         // so external signers are not asked to sign more than once.
diff --git a/src/wallet/feebumper.h b/src/wallet/feebumper.h
index 4e0befe412..62faea52af 100644
--- a/src/wallet/feebumper.h
+++ b/src/wallet/feebumper.h
@@ -58,9 +58,10 @@ Result CreateRateBumpTransaction(CWallet& wallet,
     std::optional<uint32_t> original_change_index = std::nullopt);
 
 //! Sign the new transaction,
+//! @param psbt_version PSBT version passed to an external signer, if the wallet uses one
 //! @return false if the tx couldn't be found or if it was
 //! impossible to create the signature(s)
-bool SignTransaction(CWallet& wallet, CMutableTransaction& mtx);
+bool SignTransaction(CWallet& wallet, CMutableTransaction& mtx, uint32_t psbt_version);
 
 //! Commit the bumpfee transaction.
 //! @return success in case of CWallet::CommitTransaction was successful,
diff --git a/src/wallet/interfaces.cpp b/src/wallet/interfaces.cpp
index a7d24ca0b9..3a70e88c3a 100644
--- a/src/wallet/interfaces.cpp
+++ b/src/wallet/interfaces.cpp
@@ -300,7 +300,7 @@ public:
         std::vector<CTxOut> outputs; // just an empty list of new recipients for now
         return feebumper::CreateRateBumpTransaction(*m_wallet.get(), txid, coin_control, errors, old_fee, new_fee, mtx, /* require_mine= */ true, outputs) == feebumper::Result::OK;
     }
-    bool signBumpTransaction(CMutableTransaction& mtx) override { return feebumper::SignTransaction(*m_wallet.get(), mtx); }
+    bool signBumpTransaction(CMutableTransaction& mtx, uint32_t psbt_version) override { return feebumper::SignTransaction(*m_wallet.get(), mtx, psbt_version); }
     bool commitBumpTransaction(const Txid& txid,
         CMutableTransaction&& mtx,
         std::vector<bilingual_str>& errors,
diff --git a/src/wallet/rpc/spend.cpp b/src/wallet/rpc/spend.cpp
index e228298c0c..9de3464675 100644
--- a/src/wallet/rpc/spend.cpp
+++ b/src/wallet/rpc/spend.cpp
@@ -1138,7 +1138,8 @@ static RPCMethod bumpfee_helper(std::string method_name)
     // For bumpfee, return the new transaction id.
     // For psbtbumpfee, return the base64-encoded unsigned PSBT of the new transaction.
     if (!want_psbt) {
-        if (!feebumper::SignTransaction(*pwallet, mtx)) {
+        // External signers must support BIP-0370 (PSBT v2)
+        if (!feebumper::SignTransaction(*pwallet, mtx, /*psbt_version=*/2)) {
             if (pwallet->IsWalletFlagSet(WALLET_FLAG_EXTERNAL_SIGNER)) {
                 throw JSONRPCError(RPC_WALLET_ERROR, "Transaction incomplete. Try psbtbumpfee instead.");
             }
The GUI fee bump with an external signer still uses v2 (`WalletModel::bumpFee` -> `signBumpTransaction` -> `feebumper::SignTransaction`, pinned to v2 and shared with RPC `bumpfee`). Suggestion: a `psbt_version` param can be added to `feebumper::SignTransaction/signBumpTransaction`, with the GUI passing 0 and RPC keeping 2. <details> <summary>diff</summary> ```diff diff --git a/src/interfaces/wallet.h b/src/interfaces/wallet.h index 8862f94fab..da140f721e 100644 --- a/src/interfaces/wallet.h +++ b/src/interfaces/wallet.h @@ -175,7 +175,7 @@ public: CMutableTransaction& mtx) = 0; //! Sign bump transaction. - virtual bool signBumpTransaction(CMutableTransaction& mtx) = 0; + virtual bool signBumpTransaction(CMutableTransaction& mtx, uint32_t psbt_version) = 0; //! Commit bump transaction. virtual bool commitBumpTransaction(const Txid& txid, diff --git a/src/qt/walletmodel.cpp b/src/qt/walletmodel.cpp index 2422b88579..95454e2265 100644 --- a/src/qt/walletmodel.cpp +++ b/src/qt/walletmodel.cpp @@ -524,7 +524,7 @@ bool WalletModel::bumpFee(Txid hash, Txid& new_hash) assert(!m_wallet->privateKeysDisabled() || wallet().hasExternalSigner()); // sign bumped transaction - if (!m_wallet->signBumpTransaction(mtx)) { + if (!m_wallet->signBumpTransaction(mtx, /*psbt_version=*/0)) { QMessageBox::critical(nullptr, tr("Fee bump error"), tr("Can't sign transaction.")); return false; } diff --git a/src/wallet/feebumper.cpp b/src/wallet/feebumper.cpp index ab64fd8cda..1c7288aedd 100644 --- a/src/wallet/feebumper.cpp +++ b/src/wallet/feebumper.cpp @@ -336,13 +336,12 @@ Result CreateRateBumpTransaction(CWallet& wallet, const Txid& txid, const CCoinC return Result::OK; } -bool SignTransaction(CWallet& wallet, CMutableTransaction& mtx) { +bool SignTransaction(CWallet& wallet, CMutableTransaction& mtx, uint32_t psbt_version) { LOCK(wallet.cs_wallet); if (wallet.IsWalletFlagSet(WALLET_FLAG_EXTERNAL_SIGNER)) { - // Make a blank PSBT, this means that users will need to have an - // external signer software that supports BIP-0370. - PartiallySignedTransaction psbtx(mtx, /*version=*/2); + // Make a blank psbt + PartiallySignedTransaction psbtx(mtx, psbt_version); // First fill transaction with our data without signing, // so external signers are not asked to sign more than once. diff --git a/src/wallet/feebumper.h b/src/wallet/feebumper.h index 4e0befe412..62faea52af 100644 --- a/src/wallet/feebumper.h +++ b/src/wallet/feebumper.h @@ -58,9 +58,10 @@ Result CreateRateBumpTransaction(CWallet& wallet, std::optional<uint32_t> original_change_index = std::nullopt); //! Sign the new transaction, +//! @param psbt_version PSBT version passed to an external signer, if the wallet uses one //! @return false if the tx couldn't be found or if it was //! impossible to create the signature(s) -bool SignTransaction(CWallet& wallet, CMutableTransaction& mtx); +bool SignTransaction(CWallet& wallet, CMutableTransaction& mtx, uint32_t psbt_version); //! Commit the bumpfee transaction. //! @return success in case of CWallet::CommitTransaction was successful, diff --git a/src/wallet/interfaces.cpp b/src/wallet/interfaces.cpp index a7d24ca0b9..3a70e88c3a 100644 --- a/src/wallet/interfaces.cpp +++ b/src/wallet/interfaces.cpp @@ -300,7 +300,7 @@ public: std::vector<CTxOut> outputs; // just an empty list of new recipients for now return feebumper::CreateRateBumpTransaction(*m_wallet.get(), txid, coin_control, errors, old_fee, new_fee, mtx, /* require_mine= */ true, outputs) == feebumper::Result::OK; } - bool signBumpTransaction(CMutableTransaction& mtx) override { return feebumper::SignTransaction(*m_wallet.get(), mtx); } + bool signBumpTransaction(CMutableTransaction& mtx, uint32_t psbt_version) override { return feebumper::SignTransaction(*m_wallet.get(), mtx, psbt_version); } bool commitBumpTransaction(const Txid& txid, CMutableTransaction&& mtx, std::vector<bilingual_str>& errors, diff --git a/src/wallet/rpc/spend.cpp b/src/wallet/rpc/spend.cpp index e228298c0c..9de3464675 100644 --- a/src/wallet/rpc/spend.cpp +++ b/src/wallet/rpc/spend.cpp @@ -1138,7 +1138,8 @@ static RPCMethod bumpfee_helper(std::string method_name) // For bumpfee, return the new transaction id. // For psbtbumpfee, return the base64-encoded unsigned PSBT of the new transaction. if (!want_psbt) { - if (!feebumper::SignTransaction(*pwallet, mtx)) { + // External signers must support BIP-0370 (PSBT v2) + if (!feebumper::SignTransaction(*pwallet, mtx, /*psbt_version=*/2)) { if (pwallet->IsWalletFlagSet(WALLET_FLAG_EXTERNAL_SIGNER)) { throw JSONRPCError(RPC_WALLET_ERROR, "Transaction incomplete. Try psbtbumpfee instead."); } ``` </details>
fanquake commented 2026-10-21 11:07:00 +00:00 (Migrated from github.com)

Pushed this to the 32.1 milestone.

Pushed this to the `32.1` milestone.
davidgumberg commented 2026-10-26 16:26:56 +00:00 (Migrated from github.com)

I've modified this so that the external signer PSBT's are v2, this breaks support with external signer software that doesn't know about v2, which is quite reasonable I think, so I've added a release note about that.

I've modified this so that the external signer PSBT's are v2, this breaks support with external signer software that doesn't know about v2, which is quite reasonable I think, so I've added a release note about that.
davidgumberg (Migrated from github.com) reviewed 2026-10-26 16:27:19 +00:00
davidgumberg (Migrated from github.com) commented 2026-10-26 16:27:19 +00:00

Taken, thanks

Taken, thanks
Sjors commented 2026-10-27 12:24:44 +00:00 (Migrated from github.com)

ACK 3fdc45d1fa

Sadly we missed the 32.1 milestone, time flies.

ACK 3fdc45d1fa2a6f32f251aa6f639a52bbfd5245b0 Sadly we missed the 32.1 milestone, time flies.
hebasto commented 2026-10-27 13:57:44 +00:00 (Migrated from github.com)

I've re-run previously cancelled CI jobs.

I've re-run previously cancelled CI jobs.
w0xlt (Migrated from github.com) reviewed 2026-10-27 19:59:51 +00:00
w0xlt (Migrated from github.com) left a comment

crACK 3fdc45d1fa

crACK 3fdc45d1fa2a6f32f251aa6f639a52bbfd5245b0
polespinasa commented 2026-11-03 11:24:22 +00:00 (Migrated from github.com)

concept ACK

What happens in case of a multisig between a user using a new version of Core with an external signer and another user using a Core version without v2 support?

IIUC defaulting the external signer to v2 and not giving the option to set it to v0 makes those two users unable to sign the transaction if it was first created by the new version of Core.

concept ACK What happens in case of a multisig between a user using a new version of Core with an external signer and another user using a Core version without v2 support? IIUC defaulting the external signer to v2 and not giving the option to set it to v0 makes those two users unable to sign the transaction if it was first created by the new version of Core.
achow101 commented 2026-11-04 19:07:00 +00:00 (Migrated from github.com)
ACK 3fdc45d1fa2a6f32f251aa6f639a52bbfd5245b0
fanquake commented 2026-11-05 16:52:06 +00:00 (Migrated from github.com)

Backported to 32.x in #36727.

Backported to `32.x` in #36727.
Sjors commented 2026-11-06 07:31:47 +00:00 (Migrated from github.com)

What happens in case of a multisig between a user using a new version of Core with an external signer and another user using a Core version without v2 support?

We don't have documented support for multisig with external signers. After https://github.com/bitcoin/bitcoin/pull/33112, #36075, etc that will become more realistic. But by defintion people using that would need a new (future) version Bitcoin Core anyway.

> What happens in case of a multisig between a user using a new version of Core with an external signer and another user using a Core version without v2 support? We don't have documented support for multisig with external signers. After https://github.com/bitcoin/bitcoin/pull/33112, #36075, etc that will become more realistic. But by defintion people using that would need a new (future) version Bitcoin Core anyway.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
bitcoin/bitcoin!36539
No description provided.