forked from bitcoin/bitcoin
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge #6504: refactor: remove
llmq::chainLocksHandler
, `llmq::quoru…
…m{InstantSend,Snapshot}Manager`, move to `LLMQContext` bbb4687 refactor: trim some unused headers, group Dash-specific headers together (Kittywhiskers Van Gogh) b5a8240 refactor: remove `llmq::quorumSnapshotManager` global, move to `LLMQContext` (Kittywhiskers Van Gogh) 7125330 refactor: pass `llmq::CQuorumSnapshotManager` by argument (Kittywhiskers Van Gogh) dda0cc6 trivial: clean up arguments formatting in `src/llmq/utils.{cpp,h}` (Kittywhiskers Van Gogh) 9996cd6 trivial: ensure `LLMQContext::{Start,Stop,Interrupt}` are consistent (Kittywhiskers Van Gogh) 76a9885 refactor: remove `llmq::quorumInstantSendManager` global, move to `LLMQContext` (Kittywhiskers Van Gogh) 9c989a1 refactor: trim down `llmq::quorumInstantSendManager` use (Kittywhiskers Van Gogh) a167c0e refactor: add passthrough functions to `CInstantSendManager` (Kittywhiskers Van Gogh) 41c8c8f refactor: remove `llmq::chainLocksHandler` global, move to `LLMQContext` (Kittywhiskers Van Gogh) 772412a refactor: add passthrough functions to `CChainLocksHandler` (Kittywhiskers Van Gogh) 3161546 refactor: use `GetNodeContext` to access `LLMQContext` members in REST (Kittywhiskers Van Gogh) Pull request description: ## Additional Information * `llmq::CChainLocksHandler` and `llmq::CInstantSendManager` had their usage trimmed by moving functions used in validation logic to `CChainstateHelper`, meaning that `CChainstateHelper` now implements logic of its own alongside initializing `CMNPaymentsProcessor` and `CSpecialTxProcessor`. * Care has been taken to avoid returning or accepting as arguments, types related to a particular manager (like `CInstantSendLockPtr`) to avoid tying it down to implementation-specific details but are otherwise passthrough. ## Breaking Changes None expected. ## Checklist - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas - [x] I have added or updated relevant unit/integration/functional/e2e tests - [x] I have made corresponding changes to the documentation **(note: N/A)** - [x] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_ ACKs for top commit: UdjinM6: utACK bbb4687 PastaPastaPasta: utACK bbb4687 knst: utACK bbb4687 Tree-SHA512: 64e41631d447bfd63cd7277bb450d9a4a2ec1abd78ff03a82c82c16cf6048df2be7e1400363e46812fc6d93a03f4da7a195e9192651d8d0e18e17854f7f0c0f3
- Loading branch information
Showing
60 changed files
with
565 additions
and
441 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
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
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
Oops, something went wrong.