decred / tinydecred

Python tools for Decred
ISC License
27 stars 14 forks source link

config: move config module to tinywallet and refactor #127

Closed buck54321 closed 4 years ago

buck54321 commented 4 years ago

Drops the configuration file in favor of a db-based solution. Fixes logging, and adds a screen to change the dcrdata endpoint. Can now set logging per-module at the command line.

poetry run tinywallet --testnet --loglevel debug
# or
poetry run tinywallet --testnet --loglevel ACCT:Debug,APP:WarNinG

Logger ID is case-sensitive, but log level string is not.

Notably, no more log file, so if you had the dcrdata testnet URL set to a local instance, you'll want to set it at the new asset settings screen before syncing the account. P.S. I'm looking at a couple of ideas for speeding up the sync for heavily used wallets when syncing from scratch. Hopefully soon.