This adds a utxocachemaxsize configuration option which represents the maximum size in MiB of the utxo cache. The default value is 150 MiB, the minimum value is 25 MiB, and the maximum value is 32768 MiB (32 GiB). |
||
|---|---|---|
| .. | ||
| doc.go | ||
| README.md | ||
| sampleconfig.go | ||
sampleconfig
Package sampleconfig provides a single function that returns 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
This package is part of the github.com/decred/dcrd module. Use the standard
go tooling for working with modules to incorporate it.
License
Package sampleconfig is licensed under the copyfree ISC License.