blockmason / lndr

Lending on the Blockchain
https://lndr.io/
9 stars 6 forks source link

CLI debug functionality & fixes #173

Closed aupiff closed 6 years ago

aupiff commented 6 years ago

What a successful consistency check looks like now:

ubuntu@ip-172-30-0-186:~/lndr$ lndr consistencycheck
using default config...
( 368
, 368
, []
, []
) 

NOTE: CLI now expects a lndr-server.config in the home directory. I'd change lndr-backend to require the same instead of using the relative path lndr-backend/data/lndr-server.config but I don't want to mess with @canterberry's deployments.

canterberry commented 6 years ago

Allowing the location of the config file to be provided via CLI argument to the lndr cli tool and the lndr-backend server would be nice. Something like --config-file <path> and/or -f <path>. I'm totally up to update the deployment tooling to drop the config wherever.