mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 04:22:55 +01:00
trivial: remove unneeded header, enumerate circular dependencies
As found in a review comment in #5908[1], validation.h is not needed for specialtxman.cpp and removing the header uncovers other circular dependencies that were obscured by the shortest circular path[2]. [1] - https://github.com/dashpay/dash/pull/5929#discussion_r1526663050 [2] - https://github.com/dashpay/dash/pull/5929#discussion_r1527594636
This commit is contained in:
parent
c23514dc49
commit
dfddfd09a4
@ -17,7 +17,6 @@
|
||||
#include <llmq/blockprocessor.h>
|
||||
#include <llmq/commitment.h>
|
||||
#include <primitives/block.h>
|
||||
#include <validation.h>
|
||||
|
||||
static bool CheckSpecialTxInner(const CTransaction& tx, const CBlockIndex* pindexPrev, const CCoinsViewCache& view, const std::optional<CRangesSet>& indexes, bool check_sigs, TxValidationState& state)
|
||||
{
|
||||
|
@ -76,7 +76,12 @@ EXPECTED_CIRCULAR_DEPENDENCIES=(
|
||||
"evo/deterministicmns -> llmq/utils -> llmq/snapshot -> evo/simplifiedmns -> evo/deterministicmns"
|
||||
"evo/deterministicmns -> llmq/utils -> net -> evo/deterministicmns"
|
||||
"policy/policy -> policy/settings -> policy/policy"
|
||||
"evo/specialtxman -> validation -> evo/specialtxman"
|
||||
"evo/assetlocktx -> validation -> evo/specialtxman -> evo/assetlocktx"
|
||||
"evo/cbtx -> validation -> evo/specialtxman -> evo/cbtx"
|
||||
"evo/creditpool -> validation -> evo/specialtxman -> evo/creditpool"
|
||||
"evo/deterministicmns -> validation -> evo/specialtxman -> evo/deterministicmns"
|
||||
"evo/mnhftx -> validation -> evo/specialtxman -> evo/mnhftx"
|
||||
"evo/specialtxman -> llmq/blockprocessor -> validation -> evo/specialtxman"
|
||||
"consensus/tx_verify -> evo/assetlocktx -> validation -> consensus/tx_verify"
|
||||
"consensus/tx_verify -> evo/assetlocktx -> llmq/signing -> net_processing -> txmempool -> consensus/tx_verify"
|
||||
"evo/assetlocktx -> llmq/signing -> net_processing -> txmempool -> evo/assetlocktx"
|
||||
|
Loading…
Reference in New Issue
Block a user