dcrd/sampleconfig
Josh Rickmar c6f9474348 Expand ~ to correct home directory on all OSes.
This fixes the behavior of expanding ~ on Windows and macOS, as well
as adding support for ~otheruser to expand to the home directory of
otheruser.

Modify the default sample config to reflect the change in the meaning
of ~ on Windows, and the unintended meaning of ~ on macOS.  Include
defaults for all 3 of the major operating system classes since
uncommenting the default Unix option on macOS or Windows would change
the blockchain data directory to a non-default location.
2018-02-22 20:35:44 -06:00
..
doc.go sampleconfig: Add package README and doc.go. 2017-08-25 12:35:11 -05:00
README.md sampleconfig: Add package README and doc.go. 2017-08-25 12:35:11 -05:00
sampleconfig.go Expand ~ to correct home directory on all OSes. 2018-02-22 20:35:44 -06:00

sampleconfig

Build Status ISC License GoDoc

Package sampleconfig provides a single constant that contains the contents of the sample configuration file for dcrd. This is provided for tools that perform automatic configuration and would like to ensure the generated configuration file not only includes the specifically configured values, but also provides samples of other configuration options.

Installation and Updating

$ go get -u github.com/decred/dcrd/sampleconfig

License

Package sampleconfig is licensed under the copyfree ISC License.