mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 03:52:49 +01:00
refactor: drop circular dependency
This commit is contained in:
parent
e54fe42ce8
commit
b330318db7
@ -9,7 +9,6 @@
|
|||||||
#include <primitives/transaction.h>
|
#include <primitives/transaction.h>
|
||||||
#include <gsl/pointers.h>
|
#include <gsl/pointers.h>
|
||||||
|
|
||||||
#include <core_io.h>
|
|
||||||
#include <serialize.h>
|
#include <serialize.h>
|
||||||
#include <univalue.h>
|
#include <univalue.h>
|
||||||
|
|
||||||
@ -23,6 +22,10 @@ namespace llmq {
|
|||||||
class CQuorumManager;
|
class CQuorumManager;
|
||||||
} // namespace llmq
|
} // 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
|
class CAssetLockPayload
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -102,7 +102,6 @@ EXPECTED_CIRCULAR_DEPENDENCIES=(
|
|||||||
"llmq/chainlocks -> net_processing -> llmq/context -> llmq/chainlocks"
|
"llmq/chainlocks -> net_processing -> llmq/context -> llmq/chainlocks"
|
||||||
"coinjoin/client -> coinjoin/coinjoin -> llmq/chainlocks -> net_processing -> coinjoin/client"
|
"coinjoin/client -> coinjoin/coinjoin -> llmq/chainlocks -> net_processing -> coinjoin/client"
|
||||||
"rpc/blockchain -> rpc/server -> rpc/blockchain"
|
"rpc/blockchain -> rpc/server -> rpc/blockchain"
|
||||||
"core_io -> evo/assetlocktx -> core_io"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
EXIT_CODE=0
|
EXIT_CODE=0
|
||||||
|
Loading…
Reference in New Issue
Block a user