uw-miner-config #4

Merged
uwiger merged 10 commits from uw-miner-config into master 2025-05-28 01:56:38 +09:00
Showing only changes of commit 476bedfdac - Show all commits

View File

@ -49,7 +49,7 @@ appl_env(extra_pubkeys , Ks, C) -> C#{<<"extra_pubkeys">> => Ks};
appl_env(pool_admin_url, U , C) -> merge(C, #{<<"pool_admin">> => #{<<"url">> => U}});
appl_env(workers , Ws, C) -> C#{<<"workers">> => Ws}.
env_keys() -> [pubkey, extra_pubkeys, pool_admin_url, workers].
env_keys() -> [pubkey, extra_pubkeys, pool_admin_url, workers, network].
cpath([<<"pubkey">>]) -> [user_config ];
cpath([<<"extra_pubkeys">>]) -> [user_config, schema_default];