btcd/btcutil
2023-11-02 16:16:11 -04: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 multi: Run gofmt on the entire repository 2023-06-21 22:31:09 +09:00
hdkeychain multi: Run gofmt on the entire repository 2023-06-21 22:31:09 +09:00
psbt psbt: finalizer add proper sighash flag 2023-07-17 18:35:13 +08:00
txsort multi: Run gofmt on the entire repository 2023-06-21 22:31:09 +09: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
block_test.go multi: Run gofmt on the entire repository 2023-06-21 22:31:09 +09:00
block.go btcutil: move btcutil into new sub-module 2022-01-10 18:44:56 -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 bump version to v0.23.0 2022-06-30 15:59:56 -07:00
go.sum Added test for client.GetChainTxStatsAsync() in rpcclient. This sets up a test websocket server to run the tests. Also, ensure these are run within a timeout, since they rely on concurrency 2023-11-02 16:16:11 -04: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: move btcutil into new sub-module 2022-01-10 18:44:56 -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.