Files
chia-blockchain/tach.toml
T
e2c3f1dea9 Break daemon ↔ plotting cycle: move harvester config helpers to chia.util (#20544)
* Break daemon ↔ plotting cycle: move harvester config helpers to chia.util

- Add chia.util.harvester_config with add_plot_directory, get_plot_directories,
  remove_plot_directory (extracted from chia.plotting.util)
- Update daemon, harvester, plotters, cmds, simulator, and tests to import
  from chia.util.harvester_config
- Remove daemon's dependency on plotting in tach.toml (cycle broken)

Co-authored-by: Cursor <cursoragent@cursor.com>

* Fix mypy: add type parameters for dict in harvester_config

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-03-03 12:12:39 -06:00

285 lines
7.7 KiB
TOML

interfaces = []
exclude = ["**/*__pycache__", "**/*egg-info", "**/docs", "**/tests", "**/venv"]
source_roots = ["."]
[[modules]]
path = "chia.protocols"
depends_on = ["chia.types", "chia.util"]
[[modules]]
path = "chia.pools"
depends_on = [
"chia.types",
"chia.util",
{ path = "chia.wallet", deprecated = false },
{ path = "chia.server", deprecated = false },
{ path = "chia.protocols", deprecated = false },
{ path = "chia.consensus", deprecated = false },
]
[[modules]]
path = "chia.consensus"
depends_on = [
"chia.types",
"chia.util",
{ path = "chia.full_node", deprecated = false },
]
[[modules]]
path = "chia.server"
depends_on = [
"chia.protocols",
"chia.types",
"chia.util",
{ path = "chia.ssl", deprecated = false },
{ path = "chia.rpc", deprecated = false },
{ path = "chia.daemon", deprecated = false },
]
[[modules]]
path = "chia.simulator"
depends_on = [
"chia.types",
"chia.util",
{ path = "chia.server", deprecated = false },
{ path = "chia.plotting", deprecated = false },
{ path = "chia.full_node", deprecated = false },
{ path = "chia.introducer", deprecated = false },
{ path = "chia.wallet", deprecated = false },
{ path = "chia.farmer", deprecated = false },
{ path = "chia.seeder", deprecated = false },
{ path = "chia.consensus", deprecated = false },
{ path = "chia.apis", deprecated = false },
{ path = "chia.cmds", deprecated = false },
{ path = "chia.protocols", deprecated = false },
{ path = "chia.solver", deprecated = false },
{ path = "chia.timelord", deprecated = false },
{ path = "chia.harvester", deprecated = false },
{ path = "chia.daemon", deprecated = false },
{ path = "chia.ssl", deprecated = false },
{ path = "chia.rpc", deprecated = false },
]
[[modules]]
path = "chia.full_node"
depends_on = [
"chia.apis",
"chia.types",
"chia.util",
"chia.consensus",
"chia.protocols",
"chia.server",
{ path = "chia.rpc", deprecated = false },
]
[[modules]]
path = "chia.data_layer"
depends_on = [
"chia.apis",
"chia.ssl",
"chia.types",
"chia.util",
"chia.protocols",
{ path = "chia.rpc", deprecated = false },
{ path = "chia.wallet", deprecated = false },
{ path = "chia.server", deprecated = false },
{ path = "chia.protocols", deprecated = false },
]
[[modules]]
path = "chia.apis"
depends_on = [
{ path = "chia.protocols", deprecated = false },
{ path = "chia.server", deprecated = false },
]
[[modules]]
path = "chia.introducer"
depends_on = [
"chia.apis",
"chia.full_node",
"chia.types",
"chia.util",
{ path = "chia.rpc", deprecated = false },
{ path = "chia.protocols", deprecated = false },
{ path = "chia.server", deprecated = false },
]
[[modules]]
path = "chia.plot_sync"
depends_on = [
"chia.util",
{ path = "chia.protocols", deprecated = false },
{ path = "chia.server", deprecated = false },
{ path = "chia.plotting", deprecated = false },
{ path = "chia.consensus", deprecated = false },
]
[[modules]]
path = "chia.farmer"
depends_on = [
"chia.apis",
"chia.types",
"chia.util",
{ path = "chia.protocols", deprecated = false },
{ path = "chia.pools", deprecated = false },
{ path = "chia.plot_sync", deprecated = false },
{ path = "chia.daemon", deprecated = false },
{ path = "chia.consensus", deprecated = false },
{ path = "chia.rpc", deprecated = false },
{ path = "chia.wallet", deprecated = false },
{ path = "chia.server", deprecated = false },
{ path = "chia.ssl", deprecated = false },
{ path = "chia.harvester", deprecated = false },
]
[[modules]]
path = "chia.plotters"
depends_on = [
{ path = "chia.util", deprecated = false },
{ path = "chia.plotting", deprecated = false },
]
[[modules]]
path = "chia.ssl"
depends_on = ["chia.util"]
[[modules]]
path = "chia.timelord"
depends_on = [
"chia.apis",
"chia.types",
"chia.util",
{ path = "chia.server", deprecated = false },
{ path = "chia.protocols", deprecated = false },
{ path = "chia.consensus", deprecated = false },
{ path = "chia.rpc", deprecated = false },
]
[[modules]]
path = "chia.legacy"
depends_on = ["chia.util"]
[[modules]]
path = "chia.rpc"
# this module should probably be disbanded and contents moved to the modules
# for their respective services
depends_on = [
"chia.types",
"chia.util",
{ path = "chia.server", deprecated = false },
{ path = "chia.protocols", deprecated = false },
{ path = "chia.wallet", deprecated = false },
]
[[modules]]
path = "chia.harvester"
depends_on = [
"chia.apis",
"chia.types",
"chia.util",
{ path = "chia.protocols", deprecated = false },
{ path = "chia.consensus", deprecated = false },
{ path = "chia.plotting", deprecated = false },
{ path = "chia.wallet", deprecated = false },
{ path = "chia.rpc", deprecated = false },
{ path = "chia.server", deprecated = false },
{ path = "chia.plot_sync", deprecated = false },
]
[[modules]]
path = "chia.cmds"
depends_on = [
"chia.types",
"chia.util",
{ path = "chia.plotters", deprecated = false },
{ path = "chia.consensus", deprecated = false },
{ path = "chia.plotting", deprecated = false },
{ path = "chia.pools", deprecated = false },
{ path = "chia.daemon", deprecated = false },
{ path = "chia.ssl", deprecated = false },
{ path = "chia.farmer", deprecated = false },
{ path = "chia.full_node", deprecated = false },
{ path = "chia.harvester", deprecated = false },
{ path = "chia.wallet", deprecated = false },
{ path = "chia.rpc", deprecated = false },
{ path = "chia.server", deprecated = false },
{ path = "chia.simulator", deprecated = false },
{ path = "chia.solver", deprecated = false },
{ path = "chia.protocols", deprecated = false },
{ path = "chia.data_layer", deprecated = false },
]
[[modules]]
path = "chia.daemon"
depends_on = [
"chia.util",
{ path = "chia.server", deprecated = false },
{ path = "chia.cmds", deprecated = false },
{ path = "chia.wallet", deprecated = false },
{ path = "chia.plotters", deprecated = false },
]
[[modules]]
path = "chia.wallet"
depends_on = [
"chia.apis",
"chia.simulator",
"chia.types",
"chia.util",
{ path = "chia.server", deprecated = false },
{ path = "chia.daemon", deprecated = false },
{ path = "chia.rpc", deprecated = false },
{ path = "chia.data_layer", deprecated = false },
{ path = "chia.protocols", deprecated = false },
{ path = "chia.pools", deprecated = false },
{ path = "chia.full_node", deprecated = false },
{ path = "chia.consensus", deprecated = false },
]
[[modules]]
path = "chia.types"
depends_on = ["chia.util"]
[[modules]]
path = "chia.util"
[[modules]]
path = "chia.clvm"
depends_on = []
[[modules]]
path = "chia.plotting"
depends_on = [
"chia.types",
"chia.util",
"chia.consensus",
{ path = "chia.daemon", deprecated = false },
{ path = "chia.wallet", deprecated = false },
]
[[modules]]
path = "chia.solver"
depends_on = [
"chia.protocols",
"chia.types",
"chia.util",
{ path = "chia.apis", deprecated = false },
{ path = "chia.consensus", deprecated = false },
{ path = "chia.rpc", deprecated = false },
{ path = "chia.server", deprecated = false },
]
[[modules]]
path = "chia.seeder"
depends_on = [
"chia.types",
"chia.util",
{ path = "chia.protocols", deprecated = false },
{ path = "chia.rpc", deprecated = false },
{ path = "chia.full_node", deprecated = false },
{ path = "chia.server", deprecated = false },
{ path = "chia.apis", deprecated = false },
{ path = "chia.consensus", deprecated = false },
]