mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 13:03:17 +01:00
f93c763ac6
2e36832982
refactor: drop circular dependency governance/classes over governance/governance (Konstantin Akimov)39f18ab154
refactor: move CGoveranceManager code from classes.cpp to governace.cpp (Konstantin Akimov)350a5ca47c
refactor: drop CSuperblock::GetGovernanceObject to simplify thread safety analysis over FindGovernanceObject (Konstantin Akimov)5031f29441
refactor: add couple missing `const` for CGovernanceManager (Konstantin Akimov)b240d08e09
refactor: move GetBestSuperblock to CGovernanceManager (Konstantin Akimov)3641653174
refactor: move CSuperblockManager::IsValid to CGoveranceManager::IsValidSuperblock (Konstantin Akimov)de8969f463
refactor: move ExecuteBestSuperblock to CGovernanceManager (Konstantin Akimov)107d5b4941
refactor: move GetSuperblockPayments to CGovernanceManager (Konstantin Akimov)7a470c441e
refactor: move IsSuperblockTriggered to CGovernanceManager (Konstantin Akimov)9638fdce6d
refactor: pass mn_sync to CGovernanceManager ctor as a reference (UdjinM6)7eb1634686
refactor: drop alias that is used only once (Konstantin Akimov)1570a02c89
refactor: move ScopedLockBool from header to cpp file (Konstantin Akimov)7aafb5a393
fix: add one more file to list of non-backported (flat-database.h) (Konstantin Akimov)41f1a43236
fix: add missing const for member functions of CRateCheckBuffer (Konstantin Akimov)982fc9a069
fix: avoid lock annotation for govman.cs in voteraw (Konstantin Akimov) Pull request description: ## Issue being fixed or feature implemented This PR is preparation for bitcoin#19668, otherwise impossible to make lock annotations for CGovernanceManager properly. ## What was done? 1. object mn_sync and peerman is pass to many methods of CGovernanceManager instead passing it to constructor. 2. methods of class CSuperblockManager moved to CGovernanceManager where they belongs to. 3. removed `CSuperblock::GetGovernanceObject` which makes a lot of mess with annotations of `govman.cs` And minor relevant improvements: moved ScopedLockBool from header to implementation, added multiple `const` for methods, added one more file `flat-database.h` to non-backported list ## How Has This Been Tested? Run unit and functional tests. ## Breaking Changes N/A ## 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 - [x] I have assigned this pull request to a milestone ACKs for top commit: UdjinM6: utACK2e36832982
PastaPastaPasta: utACK2e36832982
Tree-SHA512: 59842c208f7ece46c9381fc3f9fc838d9ed1cf0fd2404eebf7fbd656c5df1fa5fd339410da83088089e2d954a017efb518cba290f6c5d45b5bcb91818041f931
51 lines
994 B
Plaintext
51 lines
994 B
Plaintext
src/batchedlogger.*
|
|
src/bench/bls*.cpp
|
|
src/bls/*.cpp
|
|
src/bls/*.h
|
|
src/cachemap.h
|
|
src/cachemultimap.h
|
|
src/coinjoin/*.cpp
|
|
src/coinjoin/*.h
|
|
src/ctpl_stl.h
|
|
src/cxxtimer.hpp
|
|
src/dsnotificationinterface.*
|
|
src/flat-database.h
|
|
src/evo/*.cpp
|
|
src/evo/*.h
|
|
src/governance/*.cpp
|
|
src/governance/*.h
|
|
src/llmq/*.cpp
|
|
src/llmq/*.h
|
|
src/masternode/*.cpp
|
|
src/masternode/*.h
|
|
src/messagesigner.*
|
|
src/netfulfilledman.*
|
|
src/qt/governancelist.*
|
|
src/qt/masternodelist.*
|
|
src/rpc/coinjoin.cpp
|
|
src/rpc/evo.cpp
|
|
src/rpc/governance.cpp
|
|
src/rpc/masternode.cpp
|
|
src/rpc/quorums.cpp
|
|
src/saltedhasher.*
|
|
src/spork.*
|
|
src/stacktraces.*
|
|
src/stats/*.cpp
|
|
src/stats/*.h
|
|
src/test/block_reward_reallocation_tests.cpp
|
|
src/test/bls_tests.cpp
|
|
src/test/dip0020opcodes_tests.cpp
|
|
src/test/dynamic_activation*.cpp
|
|
src/test/evo*.cpp
|
|
src/test/governance*.cpp
|
|
src/unordered_lru_cache.h
|
|
src/util/edge.*
|
|
src/util/enumerate.h
|
|
src/util/irange.h
|
|
src/util/ranges.h
|
|
src/util/ranges_set.*
|
|
src/util/wpipe.*
|
|
src/wallet/bip39*
|
|
src/wallet/hdchain.*
|
|
src/hash_x11.h
|