Repository navigation
·
68 commits
to master
since this release
Added
- Add
WalletEvent::TxRejectedandTxRejectedReasonto report unconfirmed transactions that were not applied because their wallet-owned inputs failed signature verification #660
Changed
- Raise the
miniscriptdependency to12.3.8, fixingKeyMapWrappersigning with account-level xprvs #620
Fixed
- Verify the signatures of wallet-owned inputs before accepting unconfirmed transactions in
Wallet::apply_updateandWallet::apply_unconfirmed_txs, dropping invalid ones, and refuse to bump or replace them inWallet::build_fee_bumpandWallet::replace_by_feewithBuildFeeBumpError::IrreplaceableTransactionorReplaceByFeeError::InvalidSignature. This protects against forged transactions from a malicious chain source. Taproot spends with foreign inputs require those prevouts to be verifiable unless signed withSIGHASH_ANYONECANPAY; Electrum users should sync withfetch_prev_txouts = true#660 - Fix
Wallet::mark_usedandWallet::unmark_useddoing nothing on single-descriptor wallets when passedKeychainKind::Internal#648 - Fix signing PSBTs that mix taproot and non-taproot inputs: taproot amounts are verified against the parent transaction stored in the wallet, and input amounts are verified when
SIGHASH_ANYONECANPAYis used #643 - Fix
Wallet::build_fee_bumppanicking when a legacy foreign input's parent transaction is unknown; it now returnsBuildFeeBumpError::TransactionNotFound#636 - Fix
TxBuilder::add_foreign_utxoto overwritewitness_utxowith the prevout fromnon_witness_utxo, and fail signing withSignerError::InvalidNonWitnessUtxowhen the two disagree #636 - Validate the hardenedness of wildcard derivation steps when signing with an xprv signer #629
- Reject a missing taproot
witness_utxobefore signing, instead of returning an error after earlier inputs were already signed #651