Skip to content

fix(key-wallet): out-of-order UTXO spend causes history divergence (#649)#851

Draft
lklimek wants to merge 30 commits into
devfrom
fix/key-wallet-out-of-order-utxo-spend-649
Draft

fix(key-wallet): out-of-order UTXO spend causes history divergence (#649)#851
lklimek wants to merge 30 commits into
devfrom
fix/key-wallet-out-of-order-utxo-spend-649

Merge branch 'dev' into fix/key-wallet-out-of-order-utxo-spend-649

73dcf3d
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jul 15, 2026 in 1s

74.61% (+0.06%) compared to 19690d3

View this Pull Request on Codecov

74.61% (+0.06%) compared to 19690d3

Details

Codecov Report

❌ Patch coverage is 88.40125% with 37 lines in your changes missing coverage. Please review.
✅ Project coverage is 74.61%. Comparing base (19690d3) to head (73dcf3d).

Files with missing lines Patch % Lines
key-wallet/src/wallet/managed_wallet_info/mod.rs 71.73% 26 Missing ⚠️
.../src/managed_account/managed_core_funds_account.rs 82.35% 6 Missing ⚠️
...src/wallet/managed_wallet_info/managed_accounts.rs 33.33% 4 Missing ⚠️
key-wallet/src/managed_account/address_pool.rs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #851      +/-   ##
==========================================
+ Coverage   74.54%   74.61%   +0.06%     
==========================================
  Files         327      327              
  Lines       75032    75332     +300     
==========================================
+ Hits        55936    56209     +273     
- Misses      19096    19123      +27     
Files with missing lines Coverage Δ
dash-spv/src/sync/filters/manager.rs 97.75% <100.00%> (+<0.01%) ⬆️
...-wallet/src/managed_account/managed_account_ref.rs 55.72% <100.00%> (+0.46%) ⬆️
...y-wallet/src/managed_account/transaction_record.rs 100.00% <100.00%> (ø)
...-wallet/src/transaction_checking/wallet_checker.rs 99.24% <100.00%> (+<0.01%) ⬆️
...allet/managed_wallet_info/wallet_info_interface.rs 77.48% <100.00%> (+0.17%) ⬆️
key-wallet/src/managed_account/address_pool.rs 66.66% <0.00%> (-0.09%) ⬇️
...src/wallet/managed_wallet_info/managed_accounts.rs 35.34% <33.33%> (+6.64%) ⬆️
.../src/managed_account/managed_core_funds_account.rs 77.88% <82.35%> (+0.02%) ⬆️
key-wallet/src/wallet/managed_wallet_info/mod.rs 68.72% <71.73%> (+2.33%) ⬆️

... and 4 files with indirect coverage changes