Skip to content

Commit

Permalink
Remove all but one circular dep: coinselection <-> wallet
Browse files Browse the repository at this point in the history
  • Loading branch information
instagibbs committed Mar 20, 2019
1 parent 5c3481a commit f56de12
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 9 deletions.
4 changes: 0 additions & 4 deletions src/asset.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@

#include <asset.h>
#include <assetsdir.h>
#include <core_io.h>
#include <policy/policy.h>


CAmountMap& operator+=(CAmountMap& a, const CAmountMap& b)
{
Expand Down
2 changes: 0 additions & 2 deletions src/asset.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
#ifndef BITCOIN_ASSET_H
#define BITCOIN_ASSET_H

#include <stdint.h>
#include <uint256.h>
#include <stdlib.h>

#include <amount.h>
#include <serialize.h>
Expand Down
3 changes: 0 additions & 3 deletions src/rpc/rawtransaction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@
#include <blind.h>
#include <issuance.h>
#include <rpc/util.h>
#ifdef ENABLE_WALLET
#include <wallet/rpcwallet.h>
#endif

#include <future>
#include <stdint.h>
Expand Down
1 change: 1 addition & 0 deletions test/lint/lint-circular-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ EXPECTED_CIRCULAR_DEPENDENCIES=(
"qt/addressbookpage -> qt/bitcoingui -> qt/walletview -> qt/signverifymessagedialog -> qt/addressbookpage"
"qt/guiutil -> qt/walletmodel -> qt/optionsmodel -> qt/intro -> qt/guiutil"
"qt/addressbookpage -> qt/bitcoingui -> qt/walletview -> qt/sendcoinsdialog -> qt/sendcoinsentry -> qt/addressbookpage"
"wallet/coinselection -> wallet/wallet -> wallet/coinselection"
)

EXIT_CODE=0
Expand Down

0 comments on commit f56de12

Please sign in to comment.