Skip to content

Conversation

luke-jr
Copy link
Member

@luke-jr luke-jr commented Feb 6, 2020

Backport of #17843

Required porting to pre-WalletBatch

If a destination is reused we mark the cache of the other transactions going to that destination dirty so they are not accidentally reported as trusted when the cache is hit.

Github-Pull: bitcoin#17843
Rebased-From: 6fc554f
@kallewoof
Copy link
Contributor

Code review ACK f11872c

Compared code to #17843 and verified it is the same code. The only notable difference is the WalletBatch in the new code vs uint256 in the old one, which is an unrelated change stemming from #17354.

Copy link
Contributor

@meshcollider meshcollider left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK f11872c

@maflcko
Copy link
Member

maflcko commented Feb 9, 2020

cc @fjahr

@laanwj
Copy link
Member

laanwj commented Feb 10, 2020

code review ACK f11872c

laanwj added a commit that referenced this pull request Feb 10, 2020
f11872c wallet: Reset reused transactions cache (Fabian Jahr)

Pull request description:

  Backport of #17843

  Required porting to pre-`WalletBatch`

ACKs for top commit:
  kallewoof:
    Code review ACK f11872c
  laanwj:
    code review ACK f11872c
  meshcollider:
    utACK f11872c

Tree-SHA512: 5cf5f136d1eafb0783c2e6799e3675ebc50997ebb56b379d8a198ac35eb3b32f6b98656760a8b1c821eeac665eb80efb1723dd4e9eb58d2b4d45c4674499bedf
@laanwj laanwj merged commit f11872c into bitcoin:0.19 Feb 10, 2020
MarkLTZ added a commit to litecoinz-core/litecoinz that referenced this pull request Feb 13, 2020
- [0.19] wallet: Reset reused transactions cache bitcoin#18083
- 0.19: Backports bitcoin#17792
- psbt: handle unspendable psbts bitcoin#17524
- qt: Fix comparison function signature bitcoin#17634
- psbt: check that various indexes and amounts are within bounds bitcoin#17156
- [0.19] psbt: check that various indexes and amounts are within bounds bitcoin#18079
- [0.19] Final backports for 0.19.1 bitcoin#17988
- Bug: IsUsedDestination shouldn't use key id as script id for ScriptHash bitcoin#17924
- qt: Fix deprecated QCharRef usage bitcoin#18101
- gui: Throttle GUI update pace when -reindex bitcoin#18121
- gui: Fix race in WalletModel::pollBalanceChanged bitcoin#18123
- gui: Fix unintialized WalletView::progressDialog bitcoin#18062
- Bugfix: GUI: Hide the HD/encrypt icons earlier so they get re-shown if another wallet is open bitcoin#18007
- bug-fix macos: give free bytes to F_PREALLOCATE bitcoin#17887
- test: add missing #include to fix compiler errors bitcoin#17980
- zmq: Fix due to invalid argument and multiple notifiers bitcoin#17445
Munkybooty pushed a commit to Munkybooty/dash that referenced this pull request Dec 9, 2021
f11872c wallet: Reset reused transactions cache (Fabian Jahr)

Pull request description:

  Backport of bitcoin#17843

  Required porting to pre-`WalletBatch`

ACKs for top commit:
  kallewoof:
    Code review ACK f11872c
  laanwj:
    code review ACK f11872c
  meshcollider:
    utACK f11872c

Tree-SHA512: 5cf5f136d1eafb0783c2e6799e3675ebc50997ebb56b379d8a198ac35eb3b32f6b98656760a8b1c821eeac665eb80efb1723dd4e9eb58d2b4d45c4674499bedf
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Feb 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants