CLI: add additional config support #8587
Closed
stefan-lange
started this conversation in
Ideas
Replies: 2 comments
-
no discussion :/ |
Beta Was this translation helpful? Give feedback.
0 replies
-
solution #8588 (comment) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using chia in a custom docker image and would like to split the tasks (1 node, 1 farmer (with failover), 1 wallet, multiple harvesters on multiple docker swarm servers in different locations). Therefore I need to configure the connections between -at least- farmer and node. The harvester can be configured, that is nice. To edit the config.yml via sed on task startup does not feel right. I would like to have more config options via CLI.
Example code (I am not a python dev): chia/cmds/configure.py
chia configure --set-fullnode-peer "1.2.3.4:8444"
chia configure --set-farmer-xch-target-address "xch12.......abcd"
chia configure --set-pool-xch-target-address "xch12.......abcd"
Those addresses should be validated. Maybe there already exists a validator, which we can use here.
Pool address vs official pool address can also be misleading here. The offical pool address is no configured via config.yml.
Maybe someone could implement it, hope that helps.
further ideas
Beta Was this translation helpful? Give feedback.
All reactions