dcrd/dcrutil
Dave Collins cebab1ef64
multi: Use secp256k1/v2 module.
This updates the following modules to use the secp256k1/v2 module:

- blockchain
- chaincfg/v2
- dcrutil/v2
- hdkeychain/v2
- mempool/v3
- txscript/v2
- main

The hdkeychain/v3 and txscript/v2 modules both use types from secp256k1
in their public API.

Consequently, in order avoid forcing them to bump their major versions,
secp256k1/v1.0.3 was released with the types redefined in terms of the
secp256k1/v2 module so callers still using v1 of the module that are not
ready to upgrade to the v2 module yet can interoperate by updating to
the latest patch version.
2019-10-08 10:14:13 -05:00
..
txsort build: Replace TravisCI with CI via Github actions. 2019-09-20 19:59:04 -05:00
address_test.go multi: Use secp256k1/v2 module. 2019-10-08 10:14:13 -05:00
address.go multi: Use secp256k1/v2 module. 2019-10-08 10:14:13 -05:00
amount_test.go dcrutil: Consolidate tests into package. 2019-03-16 20:41:23 -05:00
amount.go multi: Correct typos. 2019-08-22 10:20:03 -05:00
appdata_test.go dcrutil: Consolidate tests into package. 2019-03-16 20:41:23 -05:00
appdata.go travis: add gosimple linter 2017-11-20 18:49:55 -06:00
bitflags.go Import dcrutil repo under dcrutil directory. 2017-10-11 21:29:08 -04:00
block_test.go dcrutil: Consolidate tests into package. 2019-03-16 20:41:23 -05:00
block.go dcrutil: Block does not cache the header bytes 2019-01-18 16:37:30 -06:00
const.go Import dcrutil repo under dcrutil directory. 2017-10-11 21:29:08 -04:00
doc.go dcrutil: Make docs example testable and correct it. 2019-06-19 12:09:10 -05:00
example_test.go multi: Correct typos. 2019-08-22 10:20:03 -05:00
go.mod multi: Use secp256k1/v2 module. 2019-10-08 10:14:13 -05:00
go.sum multi: Use secp256k1/v2 module. 2019-10-08 10:14:13 -05:00
hash160.go Import dcrutil repo under dcrutil directory. 2017-10-11 21:29:08 -04:00
README.md build: Replace TravisCI with CI via Github actions. 2019-09-20 19:59:04 -05:00
tx_test.go dcrutil: Fix NewTxDeepTxIns implementation. 2019-03-26 15:36:14 -05:00
tx.go dcrutil: Fix NewTxDeepTxIns implementation. 2019-03-26 15:36:14 -05:00
wif_test.go multi: Use secp256k1/v2 module. 2019-10-08 10:14:13 -05:00
wif.go multi: Use secp256k1/v2 module. 2019-10-08 10:14:13 -05:00

dcrutil

Build Status ISC License GoDoc

Package dcrutil provides decred-specific convenience functions and types. A comprehensive suite of tests is provided to ensure proper functionality.

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.

Installation and Updating

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

License

Package dcrutil is licensed under the copyfree ISC License.