decred / dcrlnd

Decred Lightning Network Daemon ⚡️
MIT License
36 stars 24 forks source link

Update all CLI flags to remove the namespacing #14

Closed matheusd closed 4 years ago

matheusd commented 5 years ago

Originally at https://github.com/davecgh/dcrlnd/issues/1

fguisso commented 4 years ago

At this point we have just decreds namespacing, this issue still required?

List of actual namespacing:

flag type
--decred *chianConfig
--dcrd *dcrdConfig
--dcrwallet *dcrwalletConfig
--autopilot *autoPilotConfig
--tor *torConfig
--hold *hold.Config
--routing *routing.Config
--workers *lncfg.Workers
--caches *lncfg.Caches
--prometheus lncfg.Prometeus
--wtclient *lncfg.WtClient
--watchtower *lncfg.WatchTower
--legacyprotocol *lncfg.LegacyProtocol

and all SubRPCServerConfigs: --signrpc, --walletrpc, --autopilotrpc, --chainrpc, --invoicesrpc, --routerrpc, --watchtowerrpc, --wtclientrpc

matheusd commented 4 years ago

This was mainly aimed at removing the decred.* namespace config switches (given we're always on just the decred network). The other ones are relevant (dcrd/dcrwallet are legitimately used for different things).