forked from decred/dcrd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mixpool: Remove unused exported methods
The MixPRs method has been modified to remove the query parameter, as it was only ever called with nil. The RPC server no longer needs access to directly call RemoveConfirmedMixes. This same operation is already (and incorrectly) done by MixPRs, and it will need the eventual fix. One exception: we are keeping RemoveConfirmedMixes which is still not used anywhere. This method behaves similarly to RemoveSpentPRs but removes mixes that completed with a confirmed coinjoin transaction matching any of the provided hashes. This may be used later by wallet to remove mixes that include transaction hashes in the merkle tree, while dcrd can just provide the mined transactions themselves and remove anything that double spends a PR UTXO.
- Loading branch information
Showing
4 changed files
with
14 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters