Provides bitcoin-specific convenience functions and types
Go Shell
Permalink
Failed to load latest commit information.
base58 build: Add gosimple linter to goclean.sh Jan 11, 2017
bloom build: Add unconvert linter to goclean.sh Dec 1, 2016
coinset build: Add gosimple linter to goclean.sh Jan 11, 2017
hdkeychain build: Add gosimple linter to goclean.sh Jan 11, 2017
txsort Update for recent chainhash-related API changes. (#78) Aug 8, 2016
.gitignore Initial commit. May 28, 2013
.travis.yml build: Add gosimple linter to goclean.sh Jan 11, 2017
LICENSE
README.md docs: Make various README.md files consistent. Oct 23, 2015
address.go
address_test.go build: Add gosimple linter to goclean.sh Jan 11, 2017
amount.go
amount_test.go Fix tiny typo Jul 20, 2015
appdata.go build: Add gosimple linter to goclean.sh Jan 11, 2017
appdata_test.go Relicense to the btcsuite developers. May 1, 2015
block.go
block_test.go Update for recent chainhash-related API changes. (#78) Aug 8, 2016
certgen.go Add Common Name to certificate. Jun 15, 2015
certgen_test.go
const.go Relicense to the btcsuite developers. May 1, 2015
cov_report.sh Initial implementation. May 28, 2013
doc.go Relicense to the btcsuite developers. May 1, 2015
example_test.go
goclean.sh build: Add gosimple linter to goclean.sh Jan 11, 2017
hash160.go Drop fastsha256 in favor of crypto/sha256 Jan 10, 2017
internal_test.go Relicense to the btcsuite developers. May 1, 2015
net.go Relicense to the btcsuite developers. May 1, 2015
net_noop.go Relicense to the btcsuite developers. May 1, 2015
test_coverage.txt Add PEM encode error checking Dec 13, 2014
tx.go Update for recent chainhash-related API changes. (#78) Aug 8, 2016
tx_test.go Update for recent chainhash-related API changes. (#78) Aug 8, 2016
wif.go Update for recent chainhash-related API changes. (#78) Aug 8, 2016
wif_test.go Relicense to the btcsuite developers. May 1, 2015

README.md

btcutil

Build Status Coverage Status ISC License GoDoc

Package btcutil provides bitcoin-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 btcd, an alternative full-node implementation of bitcoin which is under active development by Conformal. Although it was primarily written for btcd, 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/btcsuite/btcutil

GPG Verification Key

All official release tags are signed by Conformal so users can ensure the code has not been tampered with and is coming from the btcsuite developers. To verify the signature perform the following:

  • Download the public key from the Conformal website at https://opensource.conformal.com/GIT-GPG-KEY-conformal.txt

  • Import the public key into your GPG keyring:

    gpg --import GIT-GPG-KEY-conformal.txt
  • Verify the release tag with the following command where TAG_NAME is a placeholder for the specific tag:

    git tag -v TAG_NAME

License

Package btcutil is licensed under the copyfree ISC License.