forked from bitcoin/bitcoin
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
refactor: drop dependency on net_processing for multiple consensus related objects #6934
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
knst
wants to merge
58
commits into
dashpay:develop
Choose a base branch
from
knst:fix-peermanager-handlers
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 57 commits
Commits
Show all changes
58 commits
Select commit
Hold shift + click to select a range
6e51477
feat: new abstract handler for net messages
knst ef09f46
refactor: use NetHandler for InstantSend
knst d500b50
refactor: stop extra net handlers before Active Signer stopped
knst f285d0a
part I refactor to net-instantsend
knst e68b53f
part II refactoring
knst e8f660c
net-processing - added start/stop/interrupt
knst 8b720db
part III
knst 229eb14
lint - update list of circular dependencies
knst 51ec5ae
fixup crash during RemoveHandlers
knst 6b0fab6
refactor: drop Qman from CInstantSendManager
knst 6199e31
fixup RemoveHandlers
knst 94c893a
add TODO for mempool in instantsend
knst 6c80da6
fix handlers!!!
knst af72e3b
refactor: use new NetHandler for llmq/signing module. Almost done!
knst d326c7a
continue implementation for llmq/signing
knst 589a8fb
lint - update circular after llmq/signing breakage
knst e38ffdc
refactor: move CCoinJoinQueue from coinjoin.h to common.h to drop dep…
knst ec8568e
Revert "refactor: move CCoinJoinQueue from coinjoin.h to common.h to …
knst 3b94f80
refactor: break governance dependency over net_processing using NetGo…
knst dcca789
fix: removed duplicated checks if blockchain is synced
knst c6daa49
Revert "fix: removed duplicated checks if blockchain is synced"
knst cfa5a40
scheduler - fixups
knst 5363ca2
perf: drop shared_ptr from GetCurrentVotes
knst bbac29f
refactor: drop unused includes from net.h and test/util/net.h to spee…
knst 08630bb
refactor: rename masternode/sync to node/sync. It does nothing to mas…
knst b82ee2a
refactor: rename enum MASTERNODE_SYNC_* to NODE_SYNC_*
knst 39127fe
refactor: use NetHandler part II in node/sync
knst b515a17
more fixes to make it compileable
knst 985bd2a
more fixes + refactor: move DEFAULT_SYNC_MEMPOOL out
knst d7b5310
refactor: drop useless helper RequestGovernanceObjectVotes (2nd)
knst a046b8e
fixup for validation.h drop
knst d4e0247
drop helper FindGovernanceObjectInternal as useless
knst 864adc2
final part net-governance; updated linter exception list
knst f927bd1
fixup for net_signing - missing cs_main
knst 7ba94f9
refactor: move listener NotifyRecoveredSig from llmq/signing_share to…
knst 7d90325
refactor: move working thread of signing shares to NetSigning
knst f850345
fix - disable active components while initializing chain for regtest …
knst a334a7b
refactor: simplify CEHFSignalsHandler::HandleNewRecoveredSig a bit
knst 7e5fe82
refactor: drop dependency of net_processing on llmq/signing_shares by…
knst 06d6dbe
continue refactoring net-processing & signing_shares
knst 716ef84
refactor: move CSigSharesManager::RemoveBannedNodeStates inside NetSi…
knst 7ef08a1
refactor: partially move CSigSharesManager::SignPendingSigShares to N…
knst a6f342b
refactor: move CSigSharesManager::ProcessPendingSigShares to NetSigning
knst a542fa0
refactor: removed duplicated code to handle a new recovered sig
knst dd9c366
refactor: dissolve CSigSharesManager::ProcessPendingSigShares
knst d3155bc
refactor: final drop of PeerManager from signing_shares + update linters
knst 4af4e76
refactoring: minor cleanup of signing_shares.cpp
knst 9fdcc8d
fixup for net-signing
knst b4d4e33
refactor: unify CollectPendingSigSharesToVerify and CollectPendingRec…
knst cf7d9c1
refactor: clean up a bit of duplicated code from signing_shares from …
knst a3270cf
still unify extra fix
knst 3b101b9
refactor: drop duplicated argument with CSigManager from AsyncSyncIfM…
knst 48e2979
fixup for remove-signing cleanup()
knst 168e183
refactor: drop useless helper that used only once
knst 6949034
refactor: remove duplicated code between ProcessMessageSigSharesInv a…
knst 354c2df
refactor: removed duplicated code for request message for QSIGSHARESI…
knst d88afaa
one more todo
knst f1b5240
fixup typo in Makefile.am
knst File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Incorrect header path - should be node/sync.h.
The header path
sync/sync.his inconsistent with the corresponding source filenode/sync.cppadded at Line 577 and the include paths used in other files (#include <node/sync.h>).Apply this diff:
📝 Committable suggestion
🤖 Prompt for AI Agents