btcd/btcutil
Olaoluwa Osuntokun 6fc4199ee4
txscript: add new RawTxInTapscriptSignature to generate tapsript sigs
In this commit, we add a new function `RawTxInTapscriptSignature` that
will be used to generate signatures in the _tapscript_ context. Note
that this differs from top-level taproot as a distinct sighash is used,
and we _always_ accept a root hash to perform the proper tweak.
2022-03-15 18:23:08 -07:00
..
base58 btcutil: move btcutil into new sub-module 2022-01-10 18:44:56 -08:00
bech32 btcutil: move btcutil into new sub-module 2022-01-10 18:44:56 -08:00
bloom btcutil: move btcutil into new sub-module 2022-01-10 18:44:56 -08:00
coinset btcutil: move btcutil into new sub-module 2022-01-10 18:44:56 -08:00
gcs btcutil: move btcutil into new sub-module 2022-01-10 18:44:56 -08:00
hdkeychain multi: switch project over to using btcec/v2 2022-01-26 16:10:17 -08:00
psbt txscript: add new RawTxInTapscriptSignature to generate tapsript sigs 2022-03-15 18:23:08 -07:00
txsort btcutil: move btcutil into new sub-module 2022-01-10 18:44:56 -08:00
address.go multi: switch project over to using btcec/v2 2022-01-26 16:10:17 -08:00
address_test.go multi: switch project over to using btcec/v2 2022-01-26 16:10:17 -08:00
amount.go btcutil: move btcutil into new sub-module 2022-01-10 18:44:56 -08:00
amount_test.go btcutil: move btcutil into new sub-module 2022-01-10 18:44:56 -08:00
appdata.go btcutil: move btcutil into new sub-module 2022-01-10 18:44:56 -08:00
appdata_test.go btcutil: move btcutil into new sub-module 2022-01-10 18:44:56 -08:00
block.go btcutil: move btcutil into new sub-module 2022-01-10 18:44:56 -08:00
block_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
certgen_test.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 btcutil: move btcutil into new sub-module 2022-01-10 18:44:56 -08:00
example_test.go btcutil: move btcutil into new sub-module 2022-01-10 18:44:56 -08:00
go.mod build: update to btcec/v2.1.1 and chaincfg/chainhash/v1.00 2022-03-09 18:54:03 -08:00
go.sum txscript: add new RawTxInTapscriptSignature to generate tapsript sigs 2022-03-15 18:23:08 -07: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.go btcutil: move btcutil into new sub-module 2022-01-10 18:44:56 -08:00
net_noop.go btcutil: move btcutil into new sub-module 2022-01-10 18:44:56 -08:00
README.md btcutil: move btcutil into new sub-module 2022-01-10 18:44:56 -08:00
tx.go btcutil: move btcutil into new sub-module 2022-01-10 18:44:56 -08:00
tx_test.go btcutil: move btcutil into new sub-module 2022-01-10 18:44:56 -08:00
wif.go multi: switch project over to using btcec/v2 2022-01-26 16:10:17 -08:00
wif_test.go multi: switch project over to using btcec/v2 2022-01-26 16:10:17 -08: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.