Closed tiero closed 4 years ago
it would be nice to have also a --log-level
flag. Other PR for this?
it would be nice to have also a
--log-level
flag. Other PR for this?
Yes, This PR does not add any new features. Any Winston related addition should be addressed in a separate PR
If I did not misunderstand, these flags are useful only at the very FIRST startup of the daemon, and not considered for subsequent ones. I would emphasize this in the README.
Before this commit was impossible to specify at startup time a different network, explorer, and default market fee. The only way was to craft and save in the data-dir the
config.json
file before running the program. Although being a JSON could be an automated process, especially in dockerized setup would have been a bit cumbersome, hence we add command-line arguments.Available Options
Bonus: The crawler now gets the Logger passed from the top and we improved the logging in case the bad response from the explorer.
Closes #36