hush-cli abortrescan does not stop "Building Witnesses" #331

Open
opened 7 months ago by duke · 3 comments
duke commented 7 months ago
Owner

Originally this was part of #330 but it's been carved off to this.

The internals of hushd should consider "Building Witnesses" to be part of a rescan. This is the function BuildWitnessCache in src/wallet/wallet.cpp . The same function is called every time a tx in a block is detected to have one of our addresses or after the chain syncs initially to build witnesses for all time. When abortrescan code was merged from BTC it never touched this code because there is no concept of zaddr witnesses in BTC, so this function was not considered part of the rescan.

Originally this was part of #330 but it's been carved off to this. The internals of hushd should consider "Building Witnesses" to be part of a rescan. This is the function `BuildWitnessCache` in src/wallet/wallet.cpp . The same function is called every time a tx in a block is detected to have one of our addresses or after the chain syncs initially to build witnesses for all time. When `abortrescan` code was merged from BTC it never touched this code because there is no concept of zaddr witnesses in BTC, so this function was not considered part of the rescan.
duke added the
bug
label 7 months ago
Poster
Owner

Potentially fixed by 4642a35f06 on dev , needs testing

Potentially fixed by 4642a35f06ba6e8de0d238d96771a3263ab31a2a on dev , needs testing
duke added this to the 3.10.0 milestone 6 months ago
Poster
Owner

This needs testing before the 3.10.0 release

This needs testing before the 3.10.0 release
duke removed this from the 3.10.0 milestone 5 months ago
Poster
Owner

Removed this from the 3.10.0 milestone, it was not important enough to block the release any longer. It's not a feature that most people will use and SD does not use it.

Removed this from the 3.10.0 milestone, it was not important enough to block the release any longer. It's not a feature that most people will use and SD does not use it.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.