mirror of
https://github.com/dashpay/dash.git
synced 2024-12-24 19:42:46 +01:00
refactor: drop circular dependency
This commit is contained in:
parent
e54fe42ce8
commit
b330318db7
@ -9,7 +9,6 @@
|
||||
#include <primitives/transaction.h>
|
||||
#include <gsl/pointers.h>
|
||||
|
||||
#include <core_io.h>
|
||||
#include <serialize.h>
|
||||
#include <univalue.h>
|
||||
|
||||
@ -23,6 +22,10 @@ namespace llmq {
|
||||
class CQuorumManager;
|
||||
} // namespace llmq
|
||||
|
||||
// Forward declaration from core_io to get rid of circular dependency
|
||||
UniValue ValueFromAmount(const CAmount amount);
|
||||
void ScriptPubKeyToUniv(const CScript& scriptPubKey, UniValue& out, bool fIncludeHex, bool include_addresses);
|
||||
|
||||
class CAssetLockPayload
|
||||
{
|
||||
public:
|
||||
|
@ -102,7 +102,6 @@ EXPECTED_CIRCULAR_DEPENDENCIES=(
|
||||
"llmq/chainlocks -> net_processing -> llmq/context -> llmq/chainlocks"
|
||||
"coinjoin/client -> coinjoin/coinjoin -> llmq/chainlocks -> net_processing -> coinjoin/client"
|
||||
"rpc/blockchain -> rpc/server -> rpc/blockchain"
|
||||
"core_io -> evo/assetlocktx -> core_io"
|
||||
)
|
||||
|
||||
EXIT_CODE=0
|
||||
|
Loading…
Reference in New Issue
Block a user