Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix lints #1165

Merged
merged 8 commits into from
Mar 30, 2022
69 changes: 34 additions & 35 deletions test/lint/lint-circular-dependencies.sh
Original file line number Diff line number Diff line change
@@ -9,73 +9,72 @@
export LC_ALL=C

EXPECTED_CIRCULAR_DEPENDENCIES=(
"chainparamsbase -> util/system -> chainparamsbase"
"index/txindex -> validation -> index/txindex"
"policy/fees -> txmempool -> policy/fees"
"txmempool -> validation -> txmempool"
"wallet/coincontrol -> wallet/wallet -> wallet/coincontrol"
"wallet/fees -> wallet/wallet -> wallet/fees"
"wallet/wallet -> wallet/walletdb -> wallet/wallet"
"policy/fees -> txmempool -> validation -> policy/fees"
"txmempool -> validation -> validationinterface -> txmempool"
"wallet/ismine -> wallet/wallet -> wallet/ismine"
"chain -> chainparams -> masternodes/mn_checks -> index/txindex -> chain"
"chain -> chainparams -> masternodes/mn_checks -> validation -> chain"
"chain -> chainparams -> masternodes/mn_checks -> index/txindex -> txdb -> chain"
"chain -> chainparams -> masternodes/mn_checks -> masternodes/vaulthistory -> chain"
"chain -> chainparams -> masternodes/mn_checks -> validation -> chain"
"chain -> chainparams -> masternodes/mn_checks -> validation -> versionbits -> chain"
"chain -> chainparams -> masternodes/mn_checks -> validation -> wallet/wallet -> chain"
"chain -> chainparams -> masternodes/mn_checks -> masternodes/vaulthistory -> chain"
"chainparams -> key_io -> chainparams"
"chainparams -> masternodes/mn_checks -> validation -> chainparams"
"chainparams -> masternodes/mn_checks -> index/txindex -> index/base -> chainparams"
"chainparams -> masternodes/mn_checks -> validation -> spv/spv_wrapper -> chainparams"
"chainparams -> masternodes/mn_checks -> validation -> wallet/wallet -> chainparams"
"chainparams -> masternodes/mn_checks -> chainparams"
"chainparams -> masternodes/mn_checks -> index/txindex -> index/base -> chainparams"
"chainparams -> masternodes/mn_checks -> masternodes/anchors -> chainparams"
"chainparams -> masternodes/mn_checks -> masternodes/vaulthistory -> masternodes/vault -> chainparams"
"chainparams -> masternodes/mn_checks -> txmempool -> chainparams"
"chainparams -> masternodes/mn_checks -> validation -> chainparams"
"chainparams -> masternodes/mn_checks -> validation -> spv/spv_wrapper -> chainparams"
"chainparams -> masternodes/mn_checks -> validation -> wallet/wallet -> chainparams"
"chainparamsbase -> util/system -> chainparamsbase"
"consensus/tx_verify -> masternodes/masternodes -> validation -> consensus/tx_verify"
"consensus/tx_verify -> masternodes/mn_checks -> txmempool -> consensus/tx_verify"
"masternodes/govvariables/attributes -> masternodes/masternodes -> validation -> masternodes/govvariables/attributes"
"index/txindex -> validation -> index/txindex"
"masternodes/accountshistory -> masternodes/masternodes -> masternodes/mn_checks -> masternodes/accountshistory"
"masternodes/accountshistory -> masternodes/masternodes -> validation -> masternodes/accountshistory"
"masternodes/anchors -> masternodes/masternodes -> masternodes/anchors"
"masternodes/anchors -> masternodes/masternodes -> masternodes/mn_checks -> masternodes/anchors"
"masternodes/anchors -> masternodes/masternodes -> net_processing -> masternodes/anchors"
"masternodes/anchors -> spv/spv_wrapper -> masternodes/anchors"
"masternodes/anchors -> validation -> masternodes/anchors"
"masternodes/govvariables/attributes -> masternodes/gv -> masternodes/govvariables/attributes"
"masternodes/govvariables/attributes -> masternodes/masternodes -> validation -> masternodes/govvariables/attributes"
"masternodes/govvariables/attributes -> masternodes/mn_checks -> masternodes/govvariables/attributes"
"masternodes/govvariables/icx_takerfee_per_btc -> masternodes/gv -> masternodes/govvariables/icx_takerfee_per_btc"
"masternodes/govvariables/loan_daily_reward -> masternodes/gv -> masternodes/govvariables/loan_daily_reward"
"masternodes/govvariables/loan_daily_reward -> masternodes/masternodes -> validation -> masternodes/govvariables/loan_daily_reward"
"masternodes/govvariables/loan_liquidation_penalty -> masternodes/gv -> masternodes/govvariables/loan_liquidation_penalty"
"masternodes/govvariables/loan_splits -> masternodes/gv -> masternodes/govvariables/loan_splits"
"masternodes/govvariables/lp_daily_dfi_reward -> masternodes/gv -> masternodes/govvariables/lp_daily_dfi_reward"
"masternodes/govvariables/lp_daily_dfi_reward -> masternodes/masternodes -> validation -> masternodes/govvariables/lp_daily_dfi_reward"
"masternodes/govvariables/lp_splits -> masternodes/gv -> masternodes/govvariables/lp_splits"
"masternodes/govvariables/oracle_block_interval -> masternodes/gv -> masternodes/govvariables/oracle_block_interval"
"masternodes/govvariables/oracle_block_interval -> masternodes/masternodes -> masternodes/mn_checks -> masternodes/govvariables/oracle_block_interval"
"masternodes/govvariables/attributes -> masternodes/masternodes -> masternodes/mn_checks -> masternodes/govvariables/attributes"
"masternodes/govvariables/oracle_deviation -> masternodes/gv -> masternodes/govvariables/oracle_deviation"
"masternodes/govvariables/lp_splits -> masternodes/gv -> masternodes/govvariables/lp_splits"
"masternodes/govvariables/attributes -> masternodes/masternodes -> masternodes/mn_checks -> masternodes/govvariables/attributes"
"masternodes/masternodes -> masternodes/oracles -> masternodes/masternodes"
"masternodes/govvariables/loan_daily_reward -> masternodes/masternodes -> validation -> masternodes/govvariables/loan_daily_reward"
"masternodes/masternodes -> masternodes/mn_checks -> masternodes/masternodes"
"masternodes/masternodes -> validation -> masternodes/masternodes"
"masternodes/masternodes -> masternodes/mn_checks -> masternodes/vaulthistory -> masternodes/masternodes"
"masternodes/masternodes -> masternodes/oracles -> masternodes/masternodes"
"masternodes/masternodes -> net_processing -> masternodes/masternodes"
"masternodes/masternodes -> validation -> masternodes/masternodes"
"masternodes/masternodes -> wallet/wallet -> masternodes/masternodes"
"masternodes/mn_checks -> txmempool -> masternodes/mn_checks"
"masternodes/mn_checks -> validation -> masternodes/mn_checks"
"masternodes/mn_checks -> validation -> wallet/wallet -> masternodes/mn_checks"
"masternodes/masternodes -> masternodes/mn_checks -> masternodes/vaulthistory -> masternodes/masternodes"
"masternodes/anchors -> spv/spv_wrapper -> masternodes/anchors"
"masternodes/anchors -> validation -> masternodes/anchors"
"masternodes/anchors -> masternodes/masternodes -> masternodes/anchors"
"masternodes/anchors -> masternodes/masternodes -> masternodes/mn_checks -> masternodes/anchors"
"masternodes/anchors -> masternodes/masternodes -> net_processing -> masternodes/anchors"
"masternodes/accountshistory -> masternodes/masternodes -> masternodes/mn_checks -> masternodes/accountshistory"
"masternodes/accountshistory -> masternodes/masternodes -> validation -> masternodes/accountshistory"
"net_processing -> validation -> net_processing"
"validation -> wallet/wallet -> validation"
"policy/fees -> txmempool -> policy/fees"
"policy/fees -> txmempool -> validation -> policy/fees"
"policy/fees -> txmempool -> validation -> wallet/wallet -> policy/fees"
"policy/fees -> txmempool -> validation -> wallet/wallet -> util/fees -> policy/fees"
"chainparams -> masternodes/mn_checks -> txmempool -> chainparams"
"pos_kernel -> validation -> pos_kernel"
"pos -> pos_kernel -> pos"
"pos -> validation -> pos"
"pos -> validation -> txdb -> pos"
"pos_kernel -> validation -> pos_kernel"
"pos_kernel -> validation -> txdb -> pos_kernel"
"pos -> pos_kernel -> pos"
"txmempool -> validation -> txmempool"
"txmempool -> validation -> validationinterface -> txmempool"
"validation -> wallet/wallet -> validation"
"wallet/coincontrol -> wallet/wallet -> wallet/coincontrol"
"wallet/fees -> wallet/wallet -> wallet/fees"
"wallet/ismine -> wallet/wallet -> wallet/ismine"
"wallet/wallet -> wallet/walletdb -> wallet/wallet"
)

EXIT_CODE=0