btcd/btcutil
xiaoxiangxianzi 95330bc1bb
chore: fix some comments (#2146)
Signed-off-by: xiaoxiangxianzi <zhaoyizheng@outlook.com>
2024-03-27 09:45:48 -04:00
..
base58 multi: Run gofmt on the entire repository 2023-06-21 22:31:09 +09:00
bech32 fix typos (#2100) 2024-03-25 09:44:25 -04:00
bloom fix typos (#2100) 2024-03-25 09:44:25 -04:00
coinset fix typos (#2100) 2024-03-25 09:44:25 -04:00
gcs chore: fix some comments (#2146) 2024-03-27 09:45:48 -04:00
hdkeychain btcutil: fix typo 2024-01-09 17:12:23 +08:00
psbt chore: fix some comments (#2146) 2024-03-27 09:45:48 -04: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.