Package dcrutil provides decred-specific convenience functions and types.
A comprehensive suite of tests is provided to ensure proper functionality. See
test_coverage.txt
for the gocov coverage report. Alternatively, if you are
running a POSIX OS, you can run the cov_report.sh
script for a real-time
report.
This package was developed for dcrd, a full-node implementation of Decred which is under active development by Company 0. Although it was primarily written for dcrd, this package has intentionally been designed so it can be used as a standalone package for any projects needing the functionality provided.
$ go get -u github.com/decred/dcrutil
All tests and linters may be run in a docker container using the script run_tests.sh
. This script defaults to using the current supported version of go. You can run it with the major version of go you would like to use as the only arguement to test a previous on a previous version of go (generally decred supports the current version of go and the previous one).
./run_tests.sh 1.7
To run the tests locally without docker:
./run_tests.sh local
Package dcrutil is licensed under the copyfree ISC License.