btcd/btcutil
theedtron b66f5b8379
multi: fix ioutil deprecated function
update i/o functions to use os / io package functions instead
2024-03-08 17:41:41 -08:00
..
base58 multi: Run gofmt on the entire repository 2023-06-21 22:31:09 +09:00
bech32 btcutil: move btcutil into new sub-module 2022-01-10 18:44:56 -08:00
bloom Merge pull request #1979 from kcalvinalvin/merkle-calc-fast 2023-08-10 15:05:40 -07:00
coinset multi: Run gofmt on the entire repository 2023-06-21 22:31:09 +09:00
gcs btcutl/gcs: update filter logic to use new DoubleHashRaw 2023-12-15 14:42:35 -08:00
hdkeychain btcutil: fix typo 2024-01-09 17:12:23 +08:00
psbt btcutil/psbt: update to btcutil btcutil/v1.1.4 2023-12-19 15:01:52 -08:00
txsort multi: fix ioutil deprecated function 2024-03-08 17:41:41 -08:00
address_test.go multi: switch project over to using btcec/v2 2022-01-26 16:10:17 -08:00
address.go multi: switch project over to using btcec/v2 2022-01-26 16:10:17 -08:00
amount_test.go btcutil: format BTC amounts with trailing zeroes 2023-07-04 18:19:07 +02:00
amount.go btcutil: format BTC amounts with trailing zeroes 2023-07-04 18:19:07 +02:00
appdata_test.go btcutil: move btcutil into new sub-module 2022-01-10 18:44:56 -08:00
appdata.go multi: Run gofmt on the entire repository 2023-06-21 22:31:09 +09:00
bench_test.go btcutil: add benchmarks for Hash + WitnessHash 2023-12-28 18:07:03 -08:00
block_test.go multi: Run gofmt on the entire repository 2023-06-21 22:31:09 +09:00
block.go btcutil: align new serialization caching logic w/ codebase style 2023-12-28 17:47:11 -08:00
certgen_test.go btcutil: move btcutil into new sub-module 2022-01-10 18:44:56 -08:00
certgen.go btcutil: move btcutil into new sub-module 2022-01-10 18:44:56 -08:00
const.go btcutil: move btcutil into new sub-module 2022-01-10 18:44:56 -08:00
cov_report.sh btcutil: move btcutil into new sub-module 2022-01-10 18:44:56 -08:00
doc.go multi: Run gofmt on the entire repository 2023-06-21 22:31:09 +09:00
example_test.go btcutil: format BTC amounts with trailing zeroes 2023-07-04 18:19:07 +02:00
go.mod btcutil: update to chaincfg/chainhash/v1.1.0 2023-12-15 14:42:29 -08:00
go.sum gomod: run go mod tidy for all modules 2024-01-15 17:22:42 +08:00
hash160.go btcutil: move btcutil into new sub-module 2022-01-10 18:44:56 -08:00
internal_test.go multi: switch project over to using btcec/v2 2022-01-26 16:10:17 -08:00
LICENSE btcutil: move btcutil into new sub-module 2022-01-10 18:44:56 -08:00
net_noop.go multi: Run gofmt on the entire repository 2023-06-21 22:31:09 +09:00
net.go multi: Run gofmt on the entire repository 2023-06-21 22:31:09 +09:00
README.md btcutil: move btcutil into new sub-module 2022-01-10 18:44:56 -08:00
tx_test.go multi: Run gofmt on the entire repository 2023-06-21 22:31:09 +09:00
tx.go btcutil: align new serialization caching logic w/ codebase style 2023-12-28 17:47:11 -08:00
wif_test.go multi: switch project over to using btcec/v2 2022-01-26 16:10:17 -08:00
wif.go multi: Run gofmt on the entire repository 2023-06-21 22:31:09 +09: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/btcd/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.