Releases: btcsuite/btcd
btcd v0.23.3
Verifying the Release
In order to verify the release, you'll need to have gpg
or gpg2
installed on your system. Once you've obtained a copy (and hopefully verified that as well), you'll first need to import the keys that have signed this release if you haven't done so already:
curl https://raw.githubusercontent.com/lightningnetwork/lnd/master/scripts/keys/guggero.asc | gpg --import
Once you have the required PGP keys, you can verify the release (assuming manifest-guggero-v0.23.3.sig
and manifest-v0.23.3.txt
are in the current directory) with:
gpg --verify manifest-guggero-v0.23.3.sig manifest-v0.23.3.txt
You should see the following if the verification was successful:
gpg: Signature made Di 01 Nov 2022 14:00:20 CET
gpg: using RSA key F4FC70F07310028424EFC20A8E4256593F177720
gpg: Good signature from "Oliver Gugger <gugger@gmail.com>" [ultimate]
That will verify the signature of the manifest file, which ensures integrity and authenticity of the archive you've downloaded locally containing the binaries. Next, depending on your operating system, you should then re-compute the sha256
hash of the archive with shasum -a 256 <filename>
, compare it with the corresponding one in the manifest file, and ensure they match exactly.
What's Changed
- Fixed ban bug that doesn't print numTxns by @l0k18 in #1900
- btcec/schnorr/musig2: update to musig 1.0.0 by @Roasbeef in #1894
- wire: increase max witness items per input by @ellemouton in #1907
- build: bump version to v0.23.3 by @guggero in #1908
New Contributors
Full Changelog: v0.23.2...v0.23.3
btcd v0.23.2
What's Changed
- MuSig2: Catch up to 0.4.0 by @sputn1ck in #1865
- Bump btcd version in btcutil package by @darioush in #1866
- doc: fix Tor hidden service setup link by @shyba in #1883
- build: bump golang base image version to 1.17 by @tochicool in #1882
- wire: remove erroneous witness size check in wire parsing by @Roasbeef in #1896
- build: bump version to v0.23.2 by @Roasbeef in #1898
New Contributors
- @sputn1ck made their first contribution in #1865
- @darioush made their first contribution in #1866
- @shyba made their first contribution in #1883
- @tochicool made their first contribution in #1882
Full Changelog: v0.23.1...v0.23.2
btcd v0.22.2
What's Changed
- [release-v0.22.1] multi: Switch to chaincfg/chainhash module. by @davecgh in #1851
- release: create release branch for v0.22.2 to backport block parsing issue by @Roasbeef in #1901
Full Changelog: v0.22.1...v0.22.2
btcd v0.23.1-beta
What's Changed
- btcjson: Update WalletCreateFundedPsbtOpts.FeeRate type by @gnasr in #1729
- rpcserverhelp: Remove extra period for gettxout--synopsis by @kcalvinalvin in #1733
- mempool: export isDust for use in other projects by @Crypt-iQ in #1739
- Switch irc to libera.chat by @jcvernaleo in #1725
- rpcclient: Export symbols needed for custom commands by @JeremyRand in #1457
- btcec: check if recovered pk is at point of infinity by @MariusVanDerWijden in #1750
- mempool: introduce GetDustThreshold to export dust limit calculation by @Crypt-iQ in #1742
- build: bump min Go version to 1.16.8 add Go 1.17.1 by @Roasbeef in #1753
- Upgraded the docker version to 1.16 by @naveensrinivasan in #1755
- peer+server: add new config option to optionally disable stall detection by @Roasbeef in #1752
- addrmgr: make KnownAddress methods thread-safe by @chappjc in #1763
- comment improvement by @pyh4 in #1762
- Included permissions for GitHub action by @naveensrinivasan in #1756
- connmgr: Fix stale comment in TestRemovePendingConnection by @sloorush in #1749
- rpcclient: Add retry with backoffs to HTTP POST requests by @3nprob in #1743
- txscript: backport tokenizer from dcrd by @Roasbeef in #1769
- go.mod, go.sum: Update goleveldb by @kcalvinalvin in #1770
- reduce redundant memory allocation - resolves #1699 by @ziollek in #1759
- rpcclient+rpcserver+integration: GetNetworkHashPS3 must be float64 by @mattbajorek in #1778
- multi: move the btcutil repo into btcd as a sub-module by @Roasbeef in #1785
- btcutil: update modules to replace to top-level btcd repo by @Roasbeef in #1788
- chaincfg+blockchain: abstract/refactor BIP 9 version bits implementation to work w/ BIP 8 block heights by @Roasbeef in #1700
- btcec: create new btcec/v2 module that type aliases into the dcrec module by @Roasbeef in #1773
- btcec/v2: create new schnorr package for BIP-340, move existing ecdsa implementation into new ecdsa package by @Roasbeef in #1777
- build: update to btcec v2.1.0 by @Roasbeef in #1801
- build: retract bogus tags from btcd fork by @Roasbeef in #1805
- mempool/estimatefee: Fix negative index bug by @kcalvinalvin in #1813
- Replace github.com/btcsuite/goleveldb imports with github.com/syndtr/goleveldb by @anupcshan in #1780
- Remove circular dependency issue between
btcec/v2
and main package by @guggero in #1823 - Fixes coveralls coverage report by @vpereira01 in #1814
- Update LICENSE by @MarnixCroes in #1809
- build: update to btcec/v2.1.1 and chaincfg/chainhash/v1.00 by @Roasbeef in #1824
- multi: implement BIP 341 and 342 a.k.a complete taproot and tapscript consensus verification logic by @Roasbeef in #1787
- build: update to btcec/v2.1.3 and chaincfg/chainhash v1.0.1 by @Roasbeef in #1831
- blockchain: demote BIP 9 log statements by @Roasbeef in #1832
- psbt: allow empty bip32 derivation path by @guggero in #1834
- Revert "reduce redundant memory allocatio - resolves #1699" by @Crypt-iQ in #1804
- Default to JSONRPC 1.0 if the rpcVersion empty by @jsfour in #1837
- btcjson: Update fields in GetNetworkInfoResult by @dekokun in #1800
- harden daemon on OpenBSD by @timkuijsten in #1815
- rpctest: ensure rpclisten is set to an available port by @arshbot in #1806
- btcjson: add addresstype arg to getnewaddress by @chappjc in #1776
- chaincfg: use lower custom activation threshold for regtest+simnet by @Roasbeef in #1838
- rpcclient: add getzmqnotifications RPC by @torkelrogstad in #1810
- btcd: don't override explicitly set GOGC by @anupcshan in #1782
- Adds GH workflow to build docker images on version tags by @vpereira01 in #1830
- multi: implement BIP-155 addrv2 support by @Crypt-iQ in #1812
- psbt: always use non witness serialization format by @guggero in #1842
- btcec/schnorr/musig2: add new musig2 implementation based on musig2 draft BIP by @Roasbeef in #1820
- fuzz: add ParsePubKey fuzzer by @odeke-em in #1854
- psbt: add support for new Taproot fields by @guggero in #1847
- rpcclient: fix crash in http retry handler by @bhandras in #1856
- mempool: export checkStandardness func by @ellemouton in #1840
- build: bump version to v0.23 by @Roasbeef in #1860
- rpcclient: add getnewaddresstype and revert breaking change by @chappjc in #1844
- rpcclient: fix missing return by @bhandras in #1862
- build: bump version to v0.23.1 by @Roasbeef in #1863
New Contributors
- @gnasr made their first contribution in #1729
- @MariusVanDerWijden made their first contribution in #1750
- @naveensrinivasan made their first contribution in #1755
- @chappjc made their first contribution in #1763
- @pyh4 made their first contribution in #1762
- @sloorush made their first contribution in #1749
- @3nprob made their first contribution in #1743
- @ziollek made their first contribution in #1759
- @mattbajorek made their first contribution in #1778
- @anupcshan made their first contribution in #1780
- @vpereira01 made their first contribution in #1814
- @MarnixCroes made their first contribution in #1809
- @jsfour made their first contribution in #1837
- @dekokun made their first contribution in #1800
- @timkuijsten made their first contribution in #1815
- @arshbot made their first contribution in #1806
- @odeke-em made their first contribution in #1854
- @bhandras made their first contribution in #1856
- @ellemouton made their first contribution in #1840
Full Changelog: v0.22.0-beta...v0.23.1
btcd v0.22.0-beta
This release of btcd
is primarily to act as a catchup for the various changes that have accumulated.
Verifying the Release
In order to verify the release, you'll need to have gpg
or gpg2
installed on your system. Once you've obtained a copy (and hopefully verified that as well), you'll first need to import the keys that have signed this release if you haven't done so already:
Once you have the required PGP keys, you can verify the release (assuming manifest-v0.22.0-beta.txt
and manifest-v0.22.0-beta.txt.sig
are in the current directory) with:
gpg --verify manifest-v0.22.0-beta.txt.sig
You should see the following if the verification was successful:
gpg: assuming signed data in 'manifest-v0.22.0-beta.txt'
gpg: Signature made Tue 08 Jun 2021 10:07:53 AM EDT
gpg: using DSA key 0DB39EAF526568682088EEDFB15210D35378BD54
gpg: Good signature from "John C. Vernaleo <john@netpurgatory.com>" [ultimate]
That will verify the signature of the manifest file, which ensures integrity and authenticity of the archive you've downloaded locally containing the binaries. Next, depending on your operating system, you should then re-compute the sha256
hash of the archive with shasum -a 256 <filename>
, compare it with the corresponding one in the manifest file, and ensure they match exactly.
Verifying the Release Binaries
As of this release, our release binaries are fully reproducible thanks to go1.13
! Third parties are now able to verify that the release binaries were produced properly without having to trust the release manager(s). See our reproducible builds guide for how this can be achieved. The release binaries are compiled with go1.16.5
, which is required by verifiers to arrive at the same ones.
Finally, you can also verify the tag itself with the following command:
git verify-tag v0.22.0-beta
You should see something along the lines of this in the case of a valid tag:
gpg: Signature made Tue 08 Jun 2021 09:42:52 AM EDT
gpg: using DSA key 0DB39EAF526568682088EEDFB15210D35378BD54
gpg: Good signature from "John C. Vernaleo <john@netpurgatory.com>" [ultimate]
Building the Contained Release
Users are able to rebuild the target release themselves without having to fetch any of the dependencies. In order to do so, assuming that vendor.tar.gz
and btcd-source-v0.22.0-beta.tar.gz
are in the current directory, follow these steps:
tar -xvzf vendor.tar.gz
tar -xvzf btcd-source-v0.22.0.tar.gz
GO111MODULE=on go install -v -mod=vendor
GO111MODULE=on go install -v -mod=vendor ./cmd/btcctl
The -mod=vendor
flag tells the go build
command that it doesn't need to fetch the dependencies, and instead, they're all enclosed in the local vendor directory.
Additionally, it's also possible to use the enclosed release.sh
script to bundle a release for a specific system like so:
BTCBUILDSYS="linux-arm64 darwin-amd64" ./build/release/release.sh
Release Notes
Protocol and network-related changes:
-
Added support for witness tx and block in
notfound
msg. (#1625) -
Added support for receiving
sendaddrv2
messages from a peer. (#1670) -
Fixed bug in
peer
package causing last block height to go backwards. (#1606) -
Added chain parameters for connecting to the public Signet network. (#1692, #1718)
Also added
--signet
command line flag tobtcctl
andbtcd
utilities.
Crypto changes:
- Fixed bug causing panic due to bad R and S signature components in
btcec.RecoverCompact
. (#1691) - Set the name (
secp256k1
) in the CurveParams of the S256 curve. (#1565)
Notable developer-related package changes:
-
Improve gc for
txscript.IsUnspendable
method. (#1615)Significantly reduced allocations, which should bring a performance gain during sync.
-
Used
RLock
/RUnlock
when possible in theaddrmgr
package. (#1697) -
Removed unknown block version warning in the
blockchain
package, due to false positives triggered by AsicBoost. (#1463) -
Added proper types for flag field and improve docs, for
msgtx
in thewire
package. (#1632) -
Added
chaincfg.RegisterHDKeyID
function to populate HD key ID pairs. (#1617) -
Fixed flaky hash cache test due to resetting RNG. (#1689)
-
Added new method
mining.AddWitnessCommitment
to add the witness commitment as anOP_RETURN
output within the coinbase transaction. (#1716)
RPC changes:
-
Implemented Batch JSON-RPC in
rpcclient
and server. (#1583)Please refer to
rpcclient/examples/bitcoincorehttpbulk/README.md
for examples. -
Implemented
rpcclient
method to invokegetdescriptorinfo
JSON-RPC command. (#1578) -
Updated the
rpcserver
handler forvalidateaddress
JSON-RPC command to have parity with the bitcoind 0.20.0 interface. (#1613) -
Implemented
rpcclient
method to invokegetblockfilter
JSON-RPC command. (#1579) -
Implemented
signmessagewithprivkey
JSON-RPC command in rpcserver. (#1585) -
Implemented
rpcclient
method to invokeimportmulti
JSON-RPC command. (#1579) -
Implemented
watchOnly
argument inrpcclient
method to invokelisttransactions
JSON-RPC command. (#1628) -
Updated
btcjson.ListTransactionsResult
for compatibility with Bitcoin Core 0.20.0. (#1626)Two new fields
BlockHeight
andLabel
were added as optional, to keep backwards compatibility. -
Implemented nullable optional JSON-RPC parameters. (#1594)
Fixed command marshalling dropping params that follow params with
nil
value. -
Implemented
rpcclient
and server method to invokegetnodeaddresses
JSON-RPC command. (#1590) -
Implemented
rpcclient
methods to invoke PSBT JSON-RPC commands. (#1596)The
walletcreatefundedpsbt
andwalletprocesspsbt
commands were implemented. -
Implemented
rpcclient
method to invokelistsinceblock
with theinclude_watchonly
parameter enabled. (#1451) -
Implemented
rpcclient
method to invokederiveaddresses
JSON-RPC command. (#1631) -
Implemented
rpcclient
method to invokegetblocktemplate
JSON-RPC command. (#1629)The corresponding
btcjson
structs were also updated to reflect changes in Bitcoin Core. -
Implemented
rpcclient
method to invokegetaddressinfo
JSON-RPC command. (#1633) -
Implemented
rpcclient
method to invokegetwalletinfo
JSON-RPC command. (#1638) -
Fixed error message in rpcserver when an unknown RPC command is encountered. (#1695)
-
Fixed error message returned by
estimatefee
when the number of blocks exceeds the max depth. (#1678) -
Updated
btcjson.GetBlockChainInfoResult
to include new fields in Bitcoin Core. (#1676)Two new fields
InitialBlockDownload
andSizeOnDisk
were added. -
Added
ExtraHeaders
inrpcclient.ConnConfig
struct. (#1669)It's useful when the RPC provider needs customized headers, for example, the
X-Auth-Token
header. -
Fixed bitcoind compatibility issue with the
sendrawtransaction
JSON-RPC command. (#1659) -
Added new JSON-RPC errors to
btcjson
package, and documented them. (#1648) -
Implemented
rpcclient
method to invokecreatewallet
JSON-RPC command. (#1650)This is also the first
rpcclient
method that uses the functional options pattern, which will be used more and more in future. -
Implemented
rpcclient
methods to invokebackupwallet
,dumpwallet
,loadwallet
andunloadwallet
JSON-RPC commands. (#1645) -
Fixed unmarshalling error in
getmininginfo
JSON-RPC command, for valid integers in scientific notation. (#1644) -
Implemented
rpcclient
method to invokegettxoutsetinfo
JSON-RPC command. (#1641) -
Implemented
rpcclient
method to invokesignrawtransactionwithwallet
JSON-RPC command. (#1642) -
Added
txid
togetblocktemplate
response of rpcserver. (#1639) -
Fixed monetary unit used in
createrawtransaction
JSON-RPC command in rpcserver. (#1614) -
Added
rawtx
field tobtcjson.GetBlockVerboseTxResult
to provide backwards compatibility with older versions of Bitcoin Core. (#1677)
Misc changes:
- Updated
btcutil
dependency. (#1704) - Updated documentation links to use https://pkg.go.dev instead of http://godoc.org. (#1693)
- Added Dockerfile to build and run btcd on Docker. (#1465)
- Reworked documentation and published on https://btcd.readthedocs.io. (#1468)
- Added support for Go 1.15. (#1619)
- Added Go 1.14 as the minimum supported version of Golang. (#1621)
- Removed unnecessary
GOMAXPROCS
function calls. (#1627) - Enabled Go Race detector and code coverage on GitHub Actions. (#1601)
Changelog
The full list of changes since v0.21.0-beta
can be found here:
Contributors (Alphabetical Order)
10gic
Andrew Tugarinov
Anirudha Bose
Appelberg-s
Armando Ochoa
Aurèle Oulès
Calvin Kim
Christian Lehmann
Conner Fromknecht
Dan Cline
David Mazary
Elliott Minns
Federico Bond
Friedger Müffke
Gustavo Chain
Hanjun Kim
Henry Fisher
Iskander Sharipov
Jake Sylvestre
Johan T. Halseth
John C. Vernaleo
Liran Sharir
Mikael Lindlof
Olaoluwa Osuntokun
Oliver Gugger
Rjected
Steven Kreuzer
Torkel Rogstad
Tristyn
Victor Lavaud
Vinayak Borkar
Wilmer Paulino
Yaacov Akiba Slama
ebiiim
ipriver
wakiyamap
yyforyongyu
btcd v0.21.0-beta
This release of btcd
is primarily to act as a catchup for the various changes that have accumulated and to help move back to a more regular schedule.
Verifying the Release
In order to verify the release, you'll need to have gpg
or gpg2
installed on your system. Once you've obtained a copy (and hopefully verified that as well), you'll first need to import the keys that have signed this release if you haven't done so already:
Once you have the required PGP keys, you can verify the release (assuming manifest-v0.21.0-beta.txt
and manifest-v0.21.0-beta.txt.sig
are in the current directory) with:
gpg --verify manifest-v0.21.0-beta.txt.sig
You should see the following if the verification was successful:
gpg: assuming signed data in 'manifest-v0.21.0-beta.txt'
gpg: Signature made Fri 28 Aug 2020 12:40:24 PM EDT
gpg: using DSA key 0DB39EAF526568682088EEDFB15210D35378BD54
gpg: Good signature from "John C. Vernaleo <john@netpurgatory.com>" [ultimate]
That will verify the signature of the manifest file, which ensures integrity and authenticity of the archive you've downloaded locally containing the binaries. Next, depending on your operating system, you should then re-compute the sha256
hash of the archive with shasum -a 256 <filename>
, compare it with the corresponding one in the manifest file, and ensure they match exactly.
Verifying the Release Binaries
As of this release, our release binaries are fully reproducible thanks to go1.13
! Third parties are now able to verify that the release binaries were produced properly without having to trust the release manager(s). See our reproducible builds guide for how this can be achieved. The release binaries are compiled with go1.14
, which is required by verifiers to arrive at the same ones.
Finally, you can also verify the tag itself with the following command:
git verify-tag v0.21.0-beta
You should see something along the lines of this in the case of a valid tag:
gpg: Signature made Fri 28 Aug 2020 09:58:10 AM EDT
gpg: using DSA key 0DB39EAF526568682088EEDFB15210D35378BD54
gpg: Good signature from "John C. Vernaleo <john@netpurgatory.com>" [ultimate]
Building the Contained Release
Users are able to rebuild the target release themselves without having to fetch any of the dependencies. In order to do so, assuming that vendor.tar.gz
and btcd-source-v0.21.0-beta.tar.gz
are in the current directory, follow these steps:
tar -xvzf vendor.tar.gz
tar -xvzf btcd-source-v0.21.0.tar.gz
GO111MODULE=on go install -v -mod=vendor
GO111MODULE=on go install -v -mod=vendor ./cmd/btcctl
The -mod=vendor
flag tells the go build
command that it doesn't need to fetch the dependencies, and instead, they're all enclosed in the local vendor directory.
Additionally, it's also possible to use the enclosed release.sh
script to bundle a release for a specific system like so:
BTCBUILDSYS="linux-arm64 darwin-amd64" ./build/release/release.sh
Release Notes
Network-related changes:
RPC changes:
-
The
Verbose
andVerboseTx
boolean fields inbtcjson.GetBlockCmd
have been replaced with a single integer field calledVerbosity
, to reflect the newgetblock
RPC call parameters introduced in Bitcoin Core 0.15.0. (#1529)The
getblock
RPC server command in btcd has also been updated with this change.
Backwards compatibility has been maintained inrpcclient
. (#1577) -
Added an optional
Params
field torpcclient.ConnConfig
, to represent the network that the server is running. (#1467) -
Added a new error code
ErrRPCInWarmup
inbtcjson
. (#1541) -
Updated
btcjson.GetMempoolEntryResult
to reflect the newgetmempoolentry
response in Bitcoin Core 0.19.0. (#1524) -
Implemented
rpcclient
methods to invokeestimatesmartfee
andgeneratetoaddress
JSON-RPC commands. (#1500) -
Implemented
rpcclient
method to invokegetblockstats
JSON-RPC command. (#1500) -
Parse serialized transaction from
createrawtransaction
JSON-RPC command using both segwit, and legacy format. (#1502) -
Support cookie-based authentication using a new
CookiePath
field inrpcclient.ConnConfig
. (#1460) -
Implemented
rpcclient
method to invokegetchaintxstats
JSON-RPC command. (#1571) -
Implemented
rpcclient
method to invokefundrawtransaction
JSON-RPC command. (#1553) -
Implemented
rpcclient
method to invokegetbalances
JSON-RPC command. (#1595) -
Added a new method
rpcclient.GetTransactionWatchOnly
to support passing theinclude_watchonly
argument togettransaction
JSON-RPC command. (#1592)
Crypto changes:
- Fixed panic in
fieldVal.SetByteSlice
when called with a value larger than 32 bytes. The improved version is approximately 35% faster. (#1602)
btcctl changes:
- Added
-regtest
mode to btcctl. (#1556)
Misc changes:
- Fixed a bug due to a deadlock in
connmgr
's dynamic ban scoring. (#1509) - Replaced TravisCI with GitHub Actions. (#1575)
- Improved chain state init efficiency. (#1580)
- Added
blockchain.NewUtxoEntry()
to directly create entries forUtxoViewpoint
. (#1588) - Switch to a generic LRU implementation in the
peer
package, from decred/dcrd. (#1599)
Changelog
The full list of changes since v0.21.0-beta
can be found here:
Contributors (Alphabetical Order)
Anirudha Bose
Antonin Hildebrand
Dan Cline
Daniel McNally
David Hill
Federico Bond
George Tankersley
Henry
Henry Harder
Iskander Sharipov
Ivan Kuznetsov
Jake Sylvestre
Javed Khan
JeremyRand
Jin
John C. Vernaleo
Kulpreet Singh
Mikael Lindlof
Murray Nesbitt
Nisen
Olaoluwa Osuntokun
Oliver Gugger
Steven Roose
Torkel Rogstad
Tyler Chambers
Wilmer Paulino
Yash Bhutwala
adiabat
jalavosus
mohanson
qqjettkgjzhxmwj
qshuai
shuai.qi
tpkeeper
btcd v0.20.1-beta
This is a minor release of btcd
that fixes some bugs in the p2p sub-system, and also updates relevant parts of btcjson
to be compatible with bitciond 0.19
.
Verifying the Release
In order to verify the release, you'll need to have gpg
or gpg2
installed on your system. Once you've obtained a copy (and hopefully verified that as well), you'll first need to import the keys that have signed this release if you haven't done so already:
curl https://keybase.io/roasbeef/pgp_keys.asc | gpg --import
Once you have the required PGP keys, you can verify the release (assuming manifest-v0.20.1-beta.txt
and manifest-v0.20.1-beta.txt.sig
are in the current directory) with:
gpg --verify manifest-v0.20.1-beta.txt.sig
You should see the following if the verification was successful:
gpg: assuming signed data in 'manifest-v0.20.1-beta.txt'
gpg: Signature made Tue Nov 12 19:08:07 2019 PST
gpg: using RSA key 4AB7F8DA6FAEBB3B70B1F903BC13F65E2DC84465
gpg: Good signature from "Olaoluwa Osuntokun <laolu32@gmail.com>" [ultimate]
That will verify the signature of the manifest file, which ensures integrity and authenticity of the archive you've downloaded locally containing the binaries. Next, depending on your operating system, you should then re-compute the sha256
hash of the archive with shasum -a 256 <filename>
, compare it with the corresponding one in the manifest file, and ensure they match exactly.
Verifying the Release Binaries
As of this release, our release binaries are fully reproducible thanks to go1.13
! Third parties are now able to verify that the release binaries were produced properly without having to trust the release manager(s). See our reproducible builds guide for how this can be achieved. The release binaries are compiled with go1.13.1
, which is required by verifiers to arrive at the same ones.
Finally, you can also verify the tag itself with the following command:
git verify-tag v0.20.1-beta
You should see something along the lines of this in the case of a valid tag:
gpg: Signature made Tue Nov 12 18:29:03 2019 PST
gpg: using RSA key 4AB7F8DA6FAEBB3B70B1F903BC13F65E2DC84465
gpg: Good signature from "Olaoluwa Osuntokun <laolu32@gmail.com>" [ultimate]
Building the Contained Release
Users are able to rebuild the target release themselves without having to fetch any of the dependencies. In order to do so, assuming that vendor.tar.gz
and btcd-source-v0.20.1-beta.tar.gz
are in the current directory, follow these steps:
tar -xvzf vendor.tar.gz
tar -xvzf btcd-source-v0.20.1.tar.gz
GO111MODULE=on go install -v -mod=vendor
GO111MODULE=on go install -v -mod=vendor ./cmd/btcctl
The -mod=vendor
flag tells the go build
command that it doesn't need to fetch the dependencies, and instead, they're all enclosed in the local vendor directory.
Additionally, it's also possible to use the enclosed release.sh
script to bundle a release for a specific system like so:
BTCBUILDSYS="linux-arm64 darwin-amd64" ./build/release/release.sh
Release Notes
The btcjson
package as been updated to be compatible with bitcoind v0.19.0
as required by the lnd
project.
A race condition in the server related to the set of known addresses for a peer has been eliminated.
Changelog
The full list of changes since v0.20.0-beta
can be found here:
Contributors (Alphabetical Order)
Olaoluwa Osuntokun
Wilmer Paulino
Eugene Zeigel
btcd v0.20.0-beta
This marks btcd's first release in nearly 5 years! Long live btcd
✊!!! One major change with this release, and all releases going forward for the foreseeable future is that Olaoluwa Osuntokun (roasbeef) is now the primary maintainer of btcd
. As a result, rather than the existing conformal keys, roasbeef's key will be used in place for signing all git tags and releases. Going forward, our goal is to adopt a regular 3-month (or so) release cycle as needed.
Verifying the Release
In order to verify the release, you'll need to have gpg
or gpg2
installed on your system. Once you've obtained a copy (and hopefully verified that as well), you'll first need to import the keys that have signed this release if you haven't done so already:
curl https://keybase.io/roasbeef/pgp_keys.asc | gpg --import
Once you have the required PGP keys, you can verify the release (assuming manifest-v0.20.0-beta.txt
and manifest-v0.20.0-beta.txt.sig
are in the current directory) with:
gpg --verify manifest-v0.20.0-beta.txt.sig
You should see the following if the verification was successful:
gpg: assuming signed data in 'manifest-v0.20.0-beta.txt'
gpg: Signature made Tue Oct 22 15:51:12 2019 PDT
gpg: using RSA key 4AB7F8DA6FAEBB3B70B1F903BC13F65E2DC84465
gpg: Good signature from "Olaoluwa Osuntokun <laolu32@gmail.com>" [ultimate]
That will verify the signature of the manifest file, which ensures integrity and authenticity of the archive you've downloaded locally containing the binaries. Next, depending on your operating system, you should then re-compute the sha256
hash of the archive with shasum -a 256 <filename>
, compare it with the corresponding one in the manifest file, and ensure they match exactly.
Verifying the Release Binaries
As of this release, our release binaries are fully reproducible thanks to go1.13
! Third parties are now able to verify that the release binaries were produced properly without having to trust the release manager(s). See our reproducible builds guide for how this can be achieved. The release binaries are compiled with go1.13.1
, which is required by verifiers to arrive at the same ones.
Finally, you can also verify the tag itself with the following command:
git verify-tag v0.20.0-beta
You should see something along the lines of this in the case of a valid tag:
gpg: Signature made Tue 15 Oct 2019 08:13:46 AM UTC using RSA key ID 2DC84465
gpg: Good signature from "Olaoluwa Osuntokun <laolu32@gmail.com>"
Primary key fingerprint: 9769 140D 255C 759B 1EB7 7B46 A963 87A5 7CAA E94D
Subkey fingerprint: 4AB7 F8DA 6FAE BB3B 70B1 F903 BC13 F65E 2DC8 4465
Building the Contained Release
Users are able to rebuild the target release themselves without having to fetch any of the dependencies. In order to do so, assuming that vendor.tar.gz
and btcd-source-v0.20.0-beta.tar.gz
are in the current directory, follow these steps:
tar -xvzf vendor.tar.gz
tar -xvzf btcd-source-v0.20.0.tar.gz
GO111MODULE=on go install -v -mod=vendor
GO111MODULE=on go install -v -mod=vendor ./cmd/btcctl
The -mod=vendor
flag tells the go build
command that it doesn't need to fetch the dependencies, and instead, they're all enclosed in the local vendor directory.
Additionally, it's also possible to use the enclosed release.sh
script to bundle a release for a specific system like so:
BTCBUILDSYS="linux-arm64 darwin-amd64" ./build/release/release.sh
Release Notes
Rather than summarize 5 years of development in the release notes below, we've opted to mention only the most major features. Future releases will return to our prior method of enumerating each change in relevant areas of the codebase/system.
Changelog
The full list of changes since v0.12.0-beta
can be found here:
Contributors (Alphabetical Order)
Albert Puigsech Galicia
Alex Akselrod
Alex Bosworth
Alex Manuskin
Alok Menghrajani
Anatoli Babenia
Andy Weidenbaum
Calvin McAnarney
Chris Martin
Chris Pacia
Chris Shepherd
Conner Fromknecht
Craig Sturdy
Cédric Félizard
Daniel Krawisz
Daniel Martí
Daniel McNally
Dario Nieuwenhuis
Dave Collins
David Hill
David de Kloet
GeertJohan
Grace Noah
Gregory Trubetskoy
Hector Jusforgues
Iskander (Alex) Sharipov
Janus Troelsen
Jasper
Javed Khan
Jeremiah Goyette
Jim Posen
Jimmy Song
Johan T. Halseth
John C. Vernaleo
Jonathan Gillham
Josh Rickmar
Jon Underwood
Jonathan Zeppettini
Jouke Hofman
Julian Meyer
Kai
Kamil Slowikowski
Kefkius
Leonardo Lazzaro
Marco Peereboom
Marko Bencun
Mawueli Kofi Adzoe
Michail Kargakis
Mitchell Paull
Nathan Bass
Nicola 'tekNico' Larosa
Olaoluwa Osuntokun
Pedro Martelletto
Ricardo Velhote
Roei Erez
Ruben de Vries
Rune T. Aune
Sad Pencil
Shuai Qi
Steven Roose
Tadge Dryja
Tibor Bősze
Tomás Senart
Tzu-Jung Lee
Vadym Popov
Waldir Pimenta
Wilmer Paulino
benma
danda
dskloet
esemplastic
jadeblaquiere
nakagawa
preminem
qshuai
btcd v0.12.0-beta
Protocol and network related changes:
- Add a new checkpoint at block height 382320 (#555)
- Implement BIP0065 which includes support for version 4 blocks, a new consensus opcode (
OP_CHECKLOCKTIMEVERIFY
) that enforces transaction lock times, and a double-threshold switchover mechanism (#535, #459, #455) - Implement BIP0111 which provides a new bloom filter service flag and hence provides support for protocol version 70011 (#499)
- Add a new parameter
--nopeerbloomfilters
to allow disabling bloom filter support (#499) - Reject non-canonically encoded variable length integers (#507)
- Add mainnet peer discovery DNS seed (
seed.bitcoin.jonasschnelli.ch
) (#496) - Correct reconnect handling for persistent peers (#463, #464)
- Ignore requests for block headers if not fully synced (#444)
- Add CLI support for specifying the zone id on IPv6 addresses (#538)
- Fix a couple of issue where the initial block sync could stall (#518, #229, #486)
- Fix an issue which prevented the
--onion
option from working as intended (#446)
Transaction relay (memory pool) changes:
- Require transactions to only include signatures encoded with the canonical 'low-s' encoding (#512)
- Add a new parameter
--minrelaytxfee
to allow the minimum transaction fee inBTC/kB
to be overridden (#520) - Retain memory pool transactions when they redeem another one that is removed when a block is accepted (#539)
- Do not send reject messages for a transaction if it is valid but causes an orphan transaction which depends on it to be determined as invalid (#546)
- Refrain from attempting to add orphans to the memory pool multiple times when the transaction they redeem is added (#551)
- Modify minimum transaction fee calculations to scale based on bytes instead of full kilobyte boundaries (#521, #537)
Implement signature cache:
- Provides a limited memory cache of validated signatures which is a huge optimization when verifying blocks for transactions that are already in the memory pool (#506)
- Add a new parameter
--sigcachemaxsize
which allows the size of the new cache to be manually changed if desired (#506)
Mining support changes:
- Notify
getblocktemplate
long polling clients when a block is pushed viasubmitblock
(#488) - Speed up
getblocktemplate
by making use of the new signature cache (#506)
RPC changes:
- Implement
getmempoolinfo
command (#453) - Implement
getblockheader
command (#461) - Modify
createrawtransaction
command to accept a new optional parameterlocktime
(#529) - Modify
listunspent
result to include thespendable
field (#440) - Modify
getinfo
command to includeerrors
field (#511) - Add timestamps to
blockconnected
andblockdisconnected
notifications (#450) - Several modifications to
searchrawtranscations
:- Accept a new optional parameter
vinextra
which causes the results to include information about the outputs referenced by a transaction inputs (#485, #487) - Skip entries in the mempool too (#495)
- Accept a new optional parameter
reverse
to return the results in reverse order (most recent to oldest) (#497) - Accept a new optional parameter
filteraddrs
which causes the results to only include inputs and outputs which involve the provided addresses (#516)
- Accept a new optional parameter
- Change the notification order to notify clients about mined transactions (
recvtx
,redeemingtx
) before theblockconnected
notification (#449) - Update
verifymessage
RPC to use the standard algorithm so it is compatible with other implementations (#515) - Improve
ping
statistics by pinging on an interval (#517)
Websocket changes:
btcctl utility changes:
- Add
getmempoolinfo
command (#453) - Add
getblockheader
command (#461) - Add
getwalletinfo
command (#471)
Notable developer-related package changes:
- Introduce a new
peer
package which acts a common base for creating and concurrently managing bitcoin network peers (#445) - Blocks heights now consistently use
int32
everywhere (#481) - The
BlockHeader
type in thewire
package now provides theBtcDecode
andBtcEncode
methods (#467) - Update
wire
package to recognize BIP0064 (getutxo
) service bit (#489) - Export
LockTimeThreshold
constant fromtxscript
package (#454) - Export
MaxDataCarrierSize
constant fromtxscript
package (#466) - Provide new
IsUnspendable
function from thetxscript
package (#478) - Export variable length string functions from the
wire
package (#514) - Export DNS Seeds for each network from the chaincfg package (#544)
- Preliminary work towards separating the memory pool into a separate package (#525, #548)
Misc changes:
- Various documentation updates (#442, #462, #465, #460, #470, #473, #505, #530, #545)
- Add installation instructions for gentoo (#542)
- Ensure an error is shown if OS limits can't be set at startup (#498)
- Tighten the standardness checks for multisig scripts (#526)
- Test coverage improvement (#468, #494, #527, #543, #550)
- Several optimizations (#457, #474, #475, #476, #508, #509)
- Minor code cleanup and refactoring (#472, #479, #482, #519, #540)
Contributors (alphabetical order):
- Ben Echols
- Bruno Clermont
- danda
- Daniel Krawisz
- Dario Nieuwenhuis
- Dave Collins
- David Hill
- Javed Khan
- Jonathan Gillham
- Joseph Becher
- Josh Rickmar
- Justus Ranvier
- Mawuli Adzoe
- Olaoluwa Osuntokun
- Rune T. Aune
MSI Checksums:
SHA256(btcd_standalone_0.12.0-beta_x64.msi)= 024274804600e0a37ba5e7ac5abc9fdfe91b071e92c9251f38f01bec6785fb77
SHA256(btcd_standalone_0.12.0-beta_x86.msi)= b122bb7cd29e0e5e32ada279a12eeef3d44d58f3bb377ea7ce8b1f42ca0bdba3
SHA512(btcd_standalone_0.12.0-beta_x64.msi)= 725266286cb5ba62d435b992353b83aef4a3586e5ee9aeecfcc90b8026225f12c081471d56fb0f02d92ca5d92965eb99429209125b108c47599c8b1b619fb852
SHA512(btcd_standalone_0.12.0-beta_x86.msi)= d2849eef7cce9ec88a9538940c3ebfb08c2ecbf4be88f4029552bac5db2cdc203e31e8a401cf54dab694d4f49dd640bc8bb962cb5d70227bde91d785364823cb
btcd v0.11.1-beta
Protocol and network related changes:
- Use correct sub-command in reject message for rejected transactions (#436, #437)
- Add a new parameter
--torisolation
which forces new circuits for each connection when using tor (#430)
Transaction relay (memory pool) changes:
- Reduce the default number max number of allowed orphan transactions to 1000 (#419)
- Add a new parameter
--maxorphantx
which allows the maximum number of orphan transactions stored in the mempool to be specified (#419)
RPC changes:
- Modify
listtransactions
result to include theinvolveswatchonly
andvout
fields (#427) - Update
getrawtransaction
result to omit theconfirmations
field when it is 0 (#420, #422) - Update
signrawtransaction
result to include errors (#423)
btcctl utility changes:
Notable developer-related package changes:
- The
btcec
package now provides the ability to perform ECDH encryption and decryption (#375) - The block and header validation in the
blockchain
package has been split to help pave the way toward concurrent downloads (#386)
Misc changes:
- Minor peer optimization (#433)
Contributors (alphabetical order):
- Dave Collins
- David Hill
- Federico Bond
- Ishbir Singh
- Josh Rickmar
MSI Checksums:
SHA256(btcd_standalone_0.11.1-beta_x64.msi)= 14d5a2aaa3cbbcd37a706c9cd8918093d93f9cc826f0eed3af213c673089f126
SHA256(btcd_standalone_0.11.1-beta_x86.msi)= eb6e558a81e406d4497de1ad5ca94b12d57be62745fdcc1669b254716f5aa1c0
SHA512(btcd_standalone_0.11.1-beta_x64.msi)= 2519b2c8e2990e9cdc4ae36f236ed7544848890fd4f8b0ff4e1a7596099806feb39aa47c4e10c231c51f115daf12e4484a6a85958877589e792bb95dd2519781
SHA512(btcd_standalone_0.11.1-beta_x86.msi)= 74d52f60feef618055556a779b38f0773df8e997e1c691db6559dea28f5e0784f8f362cf3f37dc7cd91f22cc7ae9e17940955da8b81d903910e06d3f9ae8523c