Provides bitcoin-specific convenience functions and types
Find a file
2021-12-14 22:08:50 -08:00
.github/workflows ci: add Makefile, use golangci-lint 2021-09-28 10:30:21 +02:00
base58 multi: fix linter issues 2021-09-28 10:30:21 +02:00
bech32 multi: fix linter issues 2021-09-28 10:30:21 +02:00
bloom multi: fix linter issues 2021-09-28 10:30:21 +02:00
coinset multi: fix linter issues 2021-09-28 10:30:21 +02:00
gcs multi: fix linter issues 2021-09-28 10:30:21 +02:00
hdkeychain multi: fix linter issues 2021-09-28 10:30:21 +02:00
psbt mod: update go.sum for golang 1.16.x 2021-05-27 10:06:01 +02:00
txsort multi: Update markdown files for GFM changes. 2017-05-25 13:01:10 -05:00
.gitignore ci: add Makefile, use golangci-lint 2021-09-28 10:30:21 +02:00
.golangci.yml ci: add Makefile, use golangci-lint 2021-09-28 10:30:21 +02:00
address.go Merge pull request #206 from guggero/makefile 2021-11-29 10:29:20 -08:00
address_test.go Merge pull request #206 from guggero/makefile 2021-11-29 10:29:20 -08:00
amount.go Update docs for NewAmount 2015-08-12 07:01:50 +00:00
amount_test.go Fix tiny typo 2015-07-20 11:20:46 +00:00
appdata.go build: Add gosimple linter to goclean.sh 2017-01-11 15:38:44 -05:00
appdata_test.go Relicense to the btcsuite developers. 2015-05-01 12:41:58 -05:00
block.go Update block.go 2020-07-13 09:48:38 -04:00
block_test.go Fix OutOfRangeError checks in block_test.go 2020-07-13 09:48:38 -04:00
certgen.go multi: fix linter issues 2021-09-28 10:30:21 +02:00
certgen_test.go Add Common Name to certificate. 2015-06-15 16:14:08 -04:00
const.go lbry: enlarge MaxSatoshi from 2e6 to 2e9 2021-12-14 22:08:50 -08:00
cov_report.sh Initial implementation. 2013-05-28 18:21:26 -05:00
doc.go Relicense to the btcsuite developers. 2015-05-01 12:41:58 -05:00
example_test.go Add testable example for UnitConversions 2015-07-22 21:20:10 +00:00
go.mod go.mod: bump to go 1.14, latest supported version 2020-10-26 09:48:59 -04:00
go.sum mod: update go.sum for golang 1.16.x 2021-05-27 10:06:01 +02:00
hash160.go multi: fix linter issues 2021-09-28 10:30:21 +02:00
internal_test.go address: add AddressTaproot 2021-09-27 13:40:07 +02:00
LICENSE gcs: add package for building and using Golomb-coded set filters 2018-05-15 19:14:18 -07:00
Makefile ci: add Makefile, use golangci-lint 2021-09-28 10:30:21 +02:00
net.go Relicense to the btcsuite developers. 2015-05-01 12:41:58 -05:00
net_noop.go Relicense to the btcsuite developers. 2015-05-01 12:41:58 -05:00
README.md build: replace travis with github ci 2020-10-26 09:48:59 -04:00
tx.go Fix nil pointer dereference when WitnessHash is called before HasWitness 2020-05-05 09:28:57 +05:30
tx_test.go Fix nil pointer dereference when WitnessHash is called before HasWitness 2020-05-05 09:28:57 +05:30
wif.go Update for recent chainhash-related API changes. (#78) 2016-08-08 12:38:16 -05:00
wif_test.go multi: fix linter issues 2021-09-28 10:30:21 +02:00

btcutil

Build 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.