lnd.xprv/htlcswitch/hodl
Conner Fromknecht a5e841c6b7
htlcswitch/hodl/config_production: hide cli hodl flags in prod
This commit replaces the debug Config struct with an empty
one, so that the command line flags are hidden in production
builds.

Production help before commit:

Tor:
      --tor.active
      --tor.socks=
      --tor.dns=
      --tor.streamisolation
      --tor.control=
      --tor.v2
      --tor.v2privatekeypath=
      --tor.v3

hodl:
      --hodl.exit-settle
      --hodl.add-incoming
      --hodl.settle-incoming
      --hodl.fail-incoming
      --hodl.add-outgoing
      --hodl.settle-outgoing
      --hodl.fail-outgoing
      --hodl.commit
      --hodl.bogus-settle

Help Options:
  -h, --help

Production help after commit:

Tor:
      --tor.active
      --tor.socks=
      --tor.dns=
      --tor.streamisolation
      --tor.control=
      --tor.v2
      --tor.v2privatekeypath=
      --tor.v3

Help Options:
  -h, --help
2018-07-25 03:33:36 -07:00
..
config_debug.go htlcswitch/hodl/config_debug: only expose hodl flags in debug 2018-07-25 03:30:12 -07:00
config_production.go htlcswitch/hodl/config_production: hide cli hodl flags in prod 2018-07-25 03:33:36 -07:00
flags.go htlcswitch/hodl: add flag BogusSettle 2018-05-25 06:58:23 +02:00
mask_debug.go htlcswitch/hodl/mask_debug: enable Mask w/ debug flag 2018-05-02 00:18:50 -07:00
mask_production.go htlcswitch/hodl/mask_production: disables Mask w/o debug flag 2018-05-02 00:18:50 -07:00
mask_test.go htlcswitch/hodl: add flag BogusSettle 2018-05-25 06:58:23 +02:00