mirror of
https://github.com/JoinMarket-Org/joinmarket-clientserver.git
synced 2026-08-13 12:33:40 +02:00
Allow YG settings to be saved to joinmarket.cfg. Before this commit, yield generator settings were set inside the python script, which is not good. After this commit, the order of precedence for the settings for a yield generator is: * Command line arguments, or * Settings in [YIELDGENERATOR] in joinmarket.cfg, or * default config settings in jmclient.configure.py
11 lines
353 B
Python
Executable file
11 lines
353 B
Python
Executable file
#!/usr/bin/env python3
|
|
|
|
from jmbase import jmprint
|
|
from jmclient import YieldGeneratorBasic, ygmain
|
|
|
|
# YIELD GENERATOR SETTINGS ARE NOW IN YOUR joinmarket.cfg CONFIG FILE
|
|
# (You can also use command line flags; see --help for this script).
|
|
|
|
if __name__ == "__main__":
|
|
ygmain(YieldGeneratorBasic, nickserv_password='')
|
|
jmprint('done', "success")
|