Releases: btcsuite/btcd
Release list
v0.26.2
What's Changed
- multi: reject trailing characters when parsing inputs by @starius in #2558
- psbt: reject trailing final witness data by @starius in #2567
- netsync: avoid clock tick race in sync state test by @starius in #2564
- psbt: compact witness utxo scripts after parsing by @starius in #2563
- btcec/schnorr: reject s >= group order in ParseSignature by @Lrifton92 in #2561
- blockchain/indexers: fix dropped error by @alrs in #2486
- psbt: reject nil taproot leaf scripts by @0xjc65eth in #2539
- btcutil: reject out-of-range private keys in DecodeWIF by @Lrifton92 in #2545
- multi: tighten inbound connection admission by @starius in #2576
- address: reject v2-v16 segwit addresses encoded with bech32 (BIP-350) by @Lrifton92 in #2544
- multi: relax trailing byte handling for DB blocks and PSBT readers by @Roasbeef in #2575
- rpcclient: make HTTP Basic Auth optional via DisableAuth by @ThomsenDrake in #2514
/pull/2580
New Contributors
- @Lrifton92 made their first contribution in #2561
- @alrs made their first contribution in #2486
- @0xjc65eth made their first contribution in #2539
- @ThomsenDrake made their first contribution in #2514
Full Changelog: v0.26.0...v0.26.2
v0.26.0
What's Changed
- rpcclient: ensure http dial respects timeout by @wydengyre in #2450
- fix spelling error by @jlopp in #2468
- build: bump version of Go container for release builds by @Roasbeef in #2471
- Fix addrv2 address validation by @erickcestari in #2479
- txscript: switch template engine from html/template to text/template by @erickcestari in #2493
- blockchain, netsync: implement a complete headers-first download during ibd by @kcalvinalvin in #2428
- addrmgr: mark IPv6 zero addresses as non-routable by @EricGrill in #2474
- btcec/schnorr: fix incorrect comment about nonce generation by @erickcestari in #2477
- netsync: allow sync with non localhost peers by @Abdulkbk in #2487
- treap, ffldb: add treapNodePool by @kcalvinalvin in #2425
- main: add regtest port for btcwallet by @Abdulkbk in #2488
- wire: don't wrap ipv4 in ipv6 addresses by @kcalvinalvin in #2515
- wire: separate protocol message limit from serialization bound by @erickcestari in #2504
- wire: use maxprotocol message len on msg reject by @kcalvinalvin in #2518
- txscript: reject OP_CODESEPARATOR in unexecuted branches for non-segwit by @Roasbeef in #2485
- Sync BIP30/BIP34 Handling With Bitcoin Core by @starius in #2467
- rpcclient: add GetTxOutProof{,Async} methods, speed up string parsing by @guggero in #2489
- chaincfg/chainhash: add strict parsing by @starius in #2520
- rpcclient: fix several synchronization bugs by @starius in #2500
- btcjson: fix StringOrArray JSON marshaling and add warnings to GetBlockChainInfoResult by @EricGrill in #2476
- multi: recognize new standard P2A output type by @Roasbeef in #2433
- wire: reject messages with unconsumed trailing payload bytes by @Roasbeef in #2491
- server: fix peer add/done race between peerHandler and syncManager by @Aharonee in #2480
- rpcclient: compute httpURL once at construction time by @JLSchuler99 in #2526
- btcutil, main: fix android builds by @kcalvinalvin in #2461
- Add VerifyLowS helper function to ECDSA signature by @MPins in #2524
- multi: bump in-tree go.mod files to new submodule tags by @Roasbeef in #2531
- mod: remove
btcutilcircular dependency with main module by @guggero in #1825 - multi: pin new v2 submodule tags and bump to v0.26.0-beta.rc1 by @Roasbeef in #2532
- .github: actually run the integration tests in the CI by @kcalvinalvin in #2536
- rpcclient: add typed SubmitPackage method by @ellemouton in #2551
- netsync: require block-serving services on regtest/simnet sync peers by @guggero in #2548
- version: bump to v0.26.0-beta for final release by @Roasbeef in #2552
New Contributors
- @jlopp made their first contribution in #2468
- @erickcestari made their first contribution in #2479
- @EricGrill made their first contribution in #2474
- @Abdulkbk made their first contribution in #2487
- @JLSchuler99 made their first contribution in #2526
- @MPins made their first contribution in #2524
Full Changelog: v0.25.0...v0.26.0
v0.26.0-beta.rc1
What's Changed
- rpcclient: ensure http dial respects timeout by @wydengyre in #2450
- fix spelling error by @jlopp in #2468
- build: bump version of Go container for release builds by @Roasbeef in #2471
- Fix addrv2 address validation by @erickcestari in #2479
- txscript: switch template engine from html/template to text/template by @erickcestari in #2493
- blockchain, netsync: implement a complete headers-first download during ibd by @kcalvinalvin in #2428
- addrmgr: mark IPv6 zero addresses as non-routable by @EricGrill in #2474
- btcec/schnorr: fix incorrect comment about nonce generation by @erickcestari in #2477
- netsync: allow sync with non localhost peers by @Abdulkbk in #2487
- treap, ffldb: add treapNodePool by @kcalvinalvin in #2425
- main: add regtest port for btcwallet by @Abdulkbk in #2488
- wire: don't wrap ipv4 in ipv6 addresses by @kcalvinalvin in #2515
- wire: separate protocol message limit from serialization bound by @erickcestari in #2504
- wire: use maxprotocol message len on msg reject by @kcalvinalvin in #2518
- txscript: reject OP_CODESEPARATOR in unexecuted branches for non-segwit by @Roasbeef in #2485
- Sync BIP30/BIP34 Handling With Bitcoin Core by @starius in #2467
- rpcclient: add GetTxOutProof{,Async} methods, speed up string parsing by @guggero in #2489
- chaincfg/chainhash: add strict parsing by @starius in #2520
- rpcclient: fix several synchronization bugs by @starius in #2500
- btcjson: fix StringOrArray JSON marshaling and add warnings to GetBlockChainInfoResult by @EricGrill in #2476
- multi: recognize new standard P2A output type by @Roasbeef in #2433
- wire: reject messages with unconsumed trailing payload bytes by @Roasbeef in #2491
- server: fix peer add/done race between peerHandler and syncManager by @Aharonee in #2480
- rpcclient: compute httpURL once at construction time by @JLSchuler99 in #2526
- btcutil, main: fix android builds by @kcalvinalvin in #2461
- Add VerifyLowS helper function to ECDSA signature by @MPins in #2524
- multi: bump in-tree go.mod files to new submodule tags by @Roasbeef in #2531
- mod: remove
btcutilcircular dependency with main module by @guggero in #1825 - multi: pin new v2 submodule tags and bump to v0.26.0-beta.rc1 by @Roasbeef in #2532
New Contributors
- @jlopp made their first contribution in #2468
- @erickcestari made their first contribution in #2479
- @EricGrill made their first contribution in #2474
- @Abdulkbk made their first contribution in #2487
- @JLSchuler99 made their first contribution in #2526
- @MPins made their first contribution in #2524
Full Changelog: v0.25.0...v0.26.0-beta.rc1
v0.25.0
What's Changed
- psbt: decode keytype as compact size by @guggero in #2206
- Enable the RpcClient to send requests to Bitcoin Core over a Unix socket. by @robertmin1 in #2168
- Fix the btcctl uptime command by @cec489 in #2203
- remove
errorreturn value forSignCompactby @zhiqiangxu in #2211 - ffldb: close block files by @kcalvinalvin in #2208
- chore: fix some comments for struct field by @linghuying in #2214
- mod+rpcserver: bump to latest version of btcec by @guggero in #2218
- blockchain: copy utxo status bytes to avoid UB by @Crypt-iQ in #2225
- Updated btcd dependency of btcutil to address CVE-2024-34478 by @AlexsandroRyan in #2235
- wire: check TXID length before creating outpoint by @jharveyb in #2233
- bugfix: check if both begin and end are numbers in
UnmarshalJSONby @brunoerg in #2242 - rpcclient: signet support by @wydengyre in #2230
- btcjson: turn warnings into StringOrArray type by @guggero in #2245
- Formatting code with gofmt by @huochexizhan in #2255
- chore: fix some comments by @lencap in #2228
- Fix typos by @omahs in #2220
- fix: correct the typos [skip ci] by @threewebcode in #2093
- Correct link to redirect to btcutil docs by @sanrinconr in #1873
- delete minor unreachable code caused by t.Fatal by @Abirdcfly in #1875
- rpcclient: add timeout to http request. by @ziggie1984 in #2256
- Add support for wtxidrelay message. by @marcopeereboom in #2272
- main: add flag to write execution traces by @kcalvinalvin in #2223
- wire, peer: fix broken ibd by @kcalvinalvin in #2281
- Fix non-root hosts failing on resolving DNS by @same-id in #2269
- rpctest: make sure to
WaitForShutdownby @yyforyongyu in #2277 - rpcclient: safe read and write to batch by @ynewmann in #2273
- main: add prune documentation to sample-btcd.conf by @kcalvinalvin in #2299
- typo-Update register_test.go by @romashka-btc in #2291
- wire: add bitcoin network magic for default SigNet by @starius in #2276
- psbt: add support for PSBT_GLOBAL_XPUB type by @guggero in #2296
- deps: bump go version by @gosunuts in #2316
- refactor: using slices.Contains to simplify the code by @finaltrip in #2317
- chore: update license by @davidcardenasus in #2303
- github: upgrade the CI by @yyforyongyu in #2331
- multi:use t.TempDir replace os.MkdirTemp to simplify test temp dir manager by @petersssong in #2334
- multi: remove deprecated io/ioutil by @argentpapa in #2336
- docs: update guidelines and links by @yyforyongyu in #2333
- multi: implement testnet4 and add support for soft forks that are always active by @Roasbeef in #2339
- netsync: don't ask for blocks from peers on the same block height by @kcalvinalvin in #2304
- multi: deprecation goacc by @petersssong in #2340
- docs: update contribution link by @quantix9 in #2348
- refactor: use map.Copy for cleaner map handling by @xinhangzhou in #2343
- psbt: check path minimum length by @guggero in #2352
- database: shut the program down immediately if we run out of disk space by @kcalvinalvin in #2358
- multi: introduce v2transport and implement BIP324 by @Crypt-iQ in #2260
- psbt: overflow checks when computing Taproot BIP32 derivation min size by @ffranr in #2374
- v2transport: update to btcec v2.3.5, reduce module deps by @Roasbeef in #2381
- v2transport: fix module path by @Roasbeef in #2383
- build: remove replace directives left over after BIP 324 PRs by @Roasbeef in #2384
- txscript: add more detail to invalid tapscript merkle proof error by @Roasbeef in #2284
- Minor refactor to improve code health by @yyforyongyu in #2389
- rpcclient: clarify GetBlockCount description by @starius in #2322
- Print a readable error before os.Exit(1) in btcctl by @bshramin in #2393
- CI: add gemini assist for code reviews by @mohamedawnallah in #2395
- p2p: remove alert msg by @brunoerg in #2396
- txscript: add new ScriptTemplate DSL for writing Scripts by @Roasbeef in #2216
- psbt: upgrade dependencies and fix unit test by @Aharonee in #2375
- wire: optimize parsing for CFCheckpkt message, reduce allocs by 96% by @Roasbeef in #2398
- .gemini: add
styleguide.mdby @mohamedawnallah in #2399 - Align hash function count with bloom filter capacity by @gijswijs in #2397
- btcjson: add stubs for SubmitPackage by @bhandras in #2366
- rpcclient: add bitcoind version dependent error matching by @guggero in #2405
- feat: fix ci / makefile by @gosunuts in #2320
- Dockerfile: update go base image by @gosunuts in #2409
- Makefile+workflows: fallback to
GOPATH/binon non-existentGOBINby @mohamedawnallah in #2410 - build: bump version to v0.25.0-beta.rc1 by @Roasbeef in #2430
- musig2: add WithExternalCombinedNonce option to Sign by @sputn1ck in #2443
- build: bump version to v0.25 by @Roasbeef in #2447
New Contributors
- @robertmin1 made their first contribution in #2168
- @cec489 made their first contribution in #2203
- @linghuying made their first contribution in #2214
- @AlexsandroRyan made their first contribution in #2235
- @jharveyb made their first contribution in #2233
- @brunoerg made their first contribution in #2242
- @huochexizhan made their first contribution in #2255
- @lencap made their first contribution in #2228
- @omahs made their first contribution in #2220
- @sanrinconr made their first contribution in #1873
- @Abirdcfly made their first contribution in #1875
- @same-id made their first contribution in #2269
- @ynewmann made their first contribution in #2273
- @romashka-btc made their first contribution in #2291
- @starius made their first contribution in #2276
- @gosunuts made their first contribution in #2316
- @finaltrip made their first contribution in #2317
- @petersssong made their first contribution in #2334
- @argentpapa made their first contribution in #2336
- @quantix9 made their first contribution in #2348
- @xinhangzhou made their first contribution in #2343
- @bshramin made their first contribution in #2393
- @mohamedawnallah made their first contribution in #2395
- @Aharonee made their first contribution in #2375
- @gijswijs made their first contribution in #2397
Full Changelog: v0.24.2...v0.25.0
v0.25.0-beta.rc1
What's Changed
- psbt: decode keytype as compact size by @guggero in #2206
- Enable the RpcClient to send requests to Bitcoin Core over a Unix socket. by @robertmin1 in #2168
- Fix the btcctl uptime command by @cec489 in #2203
- remove
errorreturn value forSignCompactby @zhiqiangxu in #2211 - ffldb: close block files by @kcalvinalvin in #2208
- chore: fix some comments for struct field by @linghuying in #2214
- mod+rpcserver: bump to latest version of btcec by @guggero in #2218
- blockchain: copy utxo status bytes to avoid UB by @Crypt-iQ in #2225
- Updated btcd dependency of btcutil to address CVE-2024-34478 by @AlexsandroRyan in #2235
- wire: check TXID length before creating outpoint by @jharveyb in #2233
- bugfix: check if both begin and end are numbers in
UnmarshalJSONby @brunoerg in #2242 - rpcclient: signet support by @wydengyre in #2230
- btcjson: turn warnings into StringOrArray type by @guggero in #2245
- Formatting code with gofmt by @huochexizhan in #2255
- chore: fix some comments by @lencap in #2228
- Fix typos by @omahs in #2220
- fix: correct the typos [skip ci] by @threewebcode in #2093
- Correct link to redirect to btcutil docs by @sanrinconr in #1873
- delete minor unreachable code caused by t.Fatal by @Abirdcfly in #1875
- rpcclient: add timeout to http request. by @ziggie1984 in #2256
- Add support for wtxidrelay message. by @marcopeereboom in #2272
- main: add flag to write execution traces by @kcalvinalvin in #2223
- wire, peer: fix broken ibd by @kcalvinalvin in #2281
- Fix non-root hosts failing on resolving DNS by @same-id in #2269
- rpctest: make sure to
WaitForShutdownby @yyforyongyu in #2277 - rpcclient: safe read and write to batch by @ynewmann in #2273
- main: add prune documentation to sample-btcd.conf by @kcalvinalvin in #2299
- typo-Update register_test.go by @romashka-btc in #2291
- wire: add bitcoin network magic for default SigNet by @starius in #2276
- psbt: add support for PSBT_GLOBAL_XPUB type by @guggero in #2296
- deps: bump go version by @gosunuts in #2316
- refactor: using slices.Contains to simplify the code by @finaltrip in #2317
- chore: update license by @davidcardenasus in #2303
- github: upgrade the CI by @yyforyongyu in #2331
- multi:use t.TempDir replace os.MkdirTemp to simplify test temp dir manager by @petersssong in #2334
- multi: remove deprecated io/ioutil by @argentpapa in #2336
- docs: update guidelines and links by @yyforyongyu in #2333
- multi: implement testnet4 and add support for soft forks that are always active by @Roasbeef in #2339
- netsync: don't ask for blocks from peers on the same block height by @kcalvinalvin in #2304
- multi: deprecation goacc by @petersssong in #2340
- docs: update contribution link by @quantix9 in #2348
- refactor: use map.Copy for cleaner map handling by @xinhangzhou in #2343
- psbt: check path minimum length by @guggero in #2352
- database: shut the program down immediately if we run out of disk space by @kcalvinalvin in #2358
- multi: introduce v2transport and implement BIP324 by @Crypt-iQ in #2260
- psbt: overflow checks when computing Taproot BIP32 derivation min size by @ffranr in #2374
- v2transport: update to btcec v2.3.5, reduce module deps by @Roasbeef in #2381
- v2transport: fix module path by @Roasbeef in #2383
- build: remove replace directives left over after BIP 324 PRs by @Roasbeef in #2384
- txscript: add more detail to invalid tapscript merkle proof error by @Roasbeef in #2284
- Minor refactor to improve code health by @yyforyongyu in #2389
- rpcclient: clarify GetBlockCount description by @starius in #2322
- Print a readable error before os.Exit(1) in btcctl by @bshramin in #2393
- CI: add gemini assist for code reviews by @mohamedawnallah in #2395
- p2p: remove alert msg by @brunoerg in #2396
- txscript: add new ScriptTemplate DSL for writing Scripts by @Roasbeef in #2216
- psbt: upgrade dependencies and fix unit test by @Aharonee in #2375
- wire: optimize parsing for CFCheckpkt message, reduce allocs by 96% by @Roasbeef in #2398
- .gemini: add
styleguide.mdby @mohamedawnallah in #2399 - Align hash function count with bloom filter capacity by @gijswijs in #2397
- btcjson: add stubs for SubmitPackage by @bhandras in #2366
- rpcclient: add bitcoind version dependent error matching by @guggero in #2405
- feat: fix ci / makefile by @gosunuts in #2320
- Dockerfile: update go base image by @gosunuts in #2409
- Makefile+workflows: fallback to
GOPATH/binon non-existentGOBINby @mohamedawnallah in #2410
New Contributors
- @robertmin1 made their first contribution in #2168
- @cec489 made their first contribution in #2203
- @linghuying made their first contribution in #2214
- @AlexsandroRyan made their first contribution in #2235
- @jharveyb made their first contribution in #2233
- @brunoerg made their first contribution in #2242
- @huochexizhan made their first contribution in #2255
- @lencap made their first contribution in #2228
- @omahs made their first contribution in #2220
- @sanrinconr made their first contribution in #1873
- @Abirdcfly made their first contribution in #1875
- @same-id made their first contribution in #2269
- @ynewmann made their first contribution in #2273
- @romashka-btc made their first contribution in #2291
- @starius made their first contribution in #2276
- @gosunuts made their first contribution in #2316
- @finaltrip made their first contribution in #2317
- @petersssong made their first contribution in #2334
- @argentpapa made their first contribution in #2336
- @quantix9 made their first contribution in #2348
- @xinhangzhou made their first contribution in #2343
- @bshramin made their first contribution in #2393
- @mohamedawnallah made their first contribution in #2395
- @Aharonee made their first contribution in #2375
- @gijswijs made their first contribution in #2397
Full Changelog: v0.24.2...v0.25.0-beta.rc1
v0.24.2
This release includes important bug fixes related to subtle interactions related to re-orgs and the UTXO set cache. These fixed are considered security critical.
This release also includes implementations of invalidateblock and reconsiderblock which can be useful in helping nodes that were afflicted by the aforementioned bugs to recover without needing to resync the entire chain.
WIth this release, btcd now also implements the testmempoolaccept RPC which can be useful to check a transaction candidate for validity from a policy and conflict perspective before broadcasting. Along the way, we've added some additional policy checks that exist in other Bitcoin full node implementations.
This release also contains fixes to some parsing issues discovered via fuzz testing.
Finally, as mentioned above release includes important security fixes, with full details to be disclosed in 90 days.
What's Changed
- Fix some typos by @Thabokani in #2085
- Fix some typos by @vuittont60 in #2098
- support
testmempoolacceptfor bothbitcoindandbtcdby @yyforyongyu in #2053 - rpcclient: make sure batch requests are GCed by @yyforyongyu in #2105
- refactor: add
make helpto display the usage for project Makefile by @Halimao in #2107 - blockchain: set the lastflushtime when setting the lastflushhash by @kcalvinalvin in #2089
- Added 'include_unsafe' option to FundRawTransaction by @nikicat in #2119
- netsync: don't update mempool/fee estimator unless we're synced up by @kcalvinalvin in #2108
- feat: Expose newFutureError for developer friendliness by @devlzcode in #2112
- Add
gettxspendingprevoutforbtcdand fix version check by @yyforyongyu in #2125 - addrmgr: fix intermittent addrmanager_internal_test bug by @kcalvinalvin in #2131
- blockchain: don't rely on BlockHeightByHash for prune height calculations by @kcalvinalvin in #2122
- fix ioutil deprecated function by @theedtron in #2133
- blockchain: fix inconsistent utxocache and database on reorg by @kcalvinalvin in #2123
- blockchain: fix a bug where a duplicate entry is possible in the mapslice by @kcalvinalvin in #2134
- blockchain: always relock chainLock for subscription callbacks by @kcalvinalvin in #2128
- rpcclient: add detailed error types by @yyforyongyu in #2138
- Add check for maximum signature length in ecdsa.ParseDERSignature by @SulaimanAminuBarkindo in #2135
- build: bump version to v0.24.2-beta.rc1 by @Roasbeef in #2136
- wire: add method TxID to MsgTx by @ffranr in #2055
- fix typos by @mattn in #2100
- chore: remove trailing continue by @zhiqiangxu in #2091
- Convert
witnessToHexinto a methodToHexStringsonTxWitnessby @ffranr in #1991 - chore: fix some comments by @xiaoxiangxianzi in #2146
- btcclient+btcjson: defaultMaxFeeRate to BTC/kvB by @YusukeShimizu in #2142
- chore: fix typos by @xiaoxianBoy in #2150
- Add new serialized pubkey type by @ffranr in #2156
- blockchain: Add IsAncestor method to blockNode by @kcalvinalvin in #2153
- fix some comment by @zhiqiangxu in #2080
- chore: fix function names in comment by @goodfirm in #2163
- Update developer_resources.md by @youngxhui in #2158
- docs: fix config documentation for
AgentWhitelistby @youngjoon-lee in #2140 - release: add darwin-arm64 to target binaries by @kcalvinalvin in #2173
- chaincfg: update dnsseeds by @kcalvinalvin in #2174
- chore: fix some typos in comments by @oftenoccur in #2164
- chore: fix some function names by @MarkDaveny in #2180
- Update standardness rules congruent to Bitcoin Core by @ProofOfKeags in #2178
- blockchain, main: add and fix logs by @kcalvinalvin in #2182
- blockchain, fullblocktests, workmath, testhelper: add InvalidateBlock() method to BlockChain by @kcalvinalvin in #2155
- Added DecodeNoLimitGeneric to bech32.go by @MarcoEzekiel in #2186
- refactor: set strconv.ParseFloat bitsize to 64 by @lilasxie in #2062
- rpcclient/zmq: typo by @yosuzzy in #2184
- chore: fix some comments by @VitalikButerinEth in #2191
- Fix struct names by @coderwander in #2169
- blockchain: Add ReconsiderBlock() by @Crypt-iQ in #2196
- main, rpcclient, integration: add rpccalls for invalidate and reconsiderblock by @Crypt-iQ in #2197
- build: bump version to v0.24.2-beta by @Roasbeef in #2201
- rpcclient: update error str to match both versions by @yyforyongyu in #2205
New Contributors
- @Thabokani made their first contribution in #2085
- @vuittont60 made their first contribution in #2098
- @Halimao made their first contribution in #2107
- @nikicat made their first contribution in #2119
- @devlzcode made their first contribution in #2112
- @theedtron made their first contribution in #2133
- @SulaimanAminuBarkindo made their first contribution in #2135
- @mattn made their first contribution in #2100
- @zhiqiangxu made their first contribution in #2091
- @xiaoxiangxianzi made their first contribution in #2146
- @YusukeShimizu made their first contribution in #2142
- @xiaoxianBoy made their first contribution in #2150
- @goodfirm made their first contribution in #2163
- @youngxhui made their first contribution in #2158
- @youngjoon-lee made their first contribution in #2140
- @oftenoccur made their first contribution in #2164
- @MarkDaveny made their first contribution in #2180
- @ProofOfKeags made their first contribution in #2178
- @MarcoEzekiel made their first contribution in #2186
- @lilasxie made their first contribution in #2062
- @yosuzzy made their first contribution in #2184
- @VitalikButerinEth made their first contribution in #2191
- @coderwander made their first contribution in #2169
Full Changelog: v0.24.0...v0.24.2
v0.24.2-beta.rc1
What's Changed
- Fix some typos by @Thabokani in #2085
- Fix some typos by @vuittont60 in #2098
- support
testmempoolacceptfor bothbitcoindandbtcdby @yyforyongyu in #2053 - rpcclient: make sure batch requests are GCed by @yyforyongyu in #2105
- refactor: add
make helpto display the usage for project Makefile by @Halimao in #2107 - blockchain: set the lastflushtime when setting the lastflushhash by @kcalvinalvin in #2089
- Added 'include_unsafe' option to FundRawTransaction by @nikicat in #2119
- netsync: don't update mempool/fee estimator unless we're synced up by @kcalvinalvin in #2108
- feat: Expose newFutureError for developer friendliness by @devlzcode in #2112
- Add
gettxspendingprevoutforbtcdand fix version check by @yyforyongyu in #2125 - addrmgr: fix intermittent addrmanager_internal_test bug by @kcalvinalvin in #2131
- blockchain: don't rely on BlockHeightByHash for prune height calculations by @kcalvinalvin in #2122
- fix ioutil deprecated function by @theedtron in #2133
- blockchain: fix inconsistent utxocache and database on reorg by @kcalvinalvin in #2123
- blockchain: fix a bug where a duplicate entry is possible in the mapslice by @kcalvinalvin in #2134
- blockchain: always relock chainLock for subscription callbacks by @kcalvinalvin in #2128
- rpcclient: add detailed error types by @yyforyongyu in #2138
- Add check for maximum signature length in ecdsa.ParseDERSignature by @SulaimanAminuBarkindo in #2135
- build: bump version to v0.24.2-beta.rc1 by @Roasbeef in #2136
New Contributors
- @Thabokani made their first contribution in #2085
- @vuittont60 made their first contribution in #2098
- @Halimao made their first contribution in #2107
- @nikicat made their first contribution in #2119
- @devlzcode made their first contribution in #2112
- @theedtron made their first contribution in #2133
- @SulaimanAminuBarkindo made their first contribution in #2135
Full Changelog: v0.24.0...v0.24.2-beta.rc1
btcd v0.24.0
This release is a major release that includes several general bug fixes, security bug fixes (please update!), and also a series of performance improvements that dramatically reduce the time for initial block download from ~45 hours+ to around 6 hours! With this release,btcd now also supports BIP 155 and has gained support for pruning (--prune=MiB).
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/roasbeef.asc | gpg --import
Once you have the required PGP keys, you can verify the release (assuming manifest-roasbeef-v0.24.0.sig and manifest-v0.24.0.txt are in the current directory) with:
gpg --verify manifest-roasbeef-v0.24.0.sig manifest-v0.24.0.txt
You should see the following if the verification was successful:
gpg: Signature made Sat Dec 30 17:11:22 2023 PST
gpg: using RSA key 60A1FA7DA5BFF08BDCBBE7903BBD59E99B280306
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.
What's Changed
- Musig2: Update to 1.0.0.rc2 by @sputn1ck in #1913
- btcec/schnorr/musig2: fix BenchmarkPartialVerify by @Roasbeef in #1920
- base58: fix decoding issue by @guggero in #1923
- Update Docker documentation towards building your own image by @guiand888 in #1925
- chainhash: JSON marshal hash as string by @ffranr in #1932
- Update Dockerfile to Alpine 3.16 by @guiand888 in #1924
- Fix memory leak in connmanager by @hxw in #1576
- Update mining.md by @jagottsicher in #1938
- Sighash taproot keyspend bug fix by @Roasbeef in #1941
- btcutil/psbt: export helper functions, fix/add encoding of unknown fields by @guggero in #1942
- docs: Update Go version as per the Readme. by @hristog in #1944
- txscript: Fix typo in IsUnspendable() comment by @kcalvinalvin in #1945
- txscript: allow script builder capacity to be specified by @guggero in #1954
- Export MakeScritpNum, AsSmallInt, and IsSmallInt by @martonp in #1956
- chainhash: JSON Unmarshal hash from appropriate string. by @LindenWang01 in #1952
- psbt: add verification method for utxo data by @ziggie1984 in #1964
- txscript: fix typos by @hieblmi in #1957
- chaincfg: Update checkpoints by @kcalvinalvin in #1968
- btcd: Add memory profiling flag by @kcalvinalvin in #1953
- blockchain: Use slices when fetching utxos by @kcalvinalvin in #1972
- main: Update README.md's minimum go version by @kcalvinalvin in #1977
- Add wire.Outpoint parser from string by @GeorgeTsagk in #1879
- multi: Run gofmt on the entire repository by @kcalvinalvin in #1981
- blockchain+chaincfg: disable retargeting for regtest by @guggero in #1985
- multi: remove repetitive the by @cuishuang in #1998
- blockchain: refactor and export header validation checks by @Crypt-iQ in #1931
- btcutil: format BTC amounts with trailing zeroes by @C-Otto in #1996
- musig2: fix early nonce gen option by @sputn1ck in #2003
- fix: missing sighashtype when finalizing taproot keyspend signature by @0xEclair in #2006
- Add address field (rpc client & server) by @lindlof in #1969
- schnorr: correct rfc reference in docs by @wydengyre in #2016
- blockchain, integration, mining, main: Rolling merkle root calculation by @kcalvinalvin in #1979
- schnorr: bip-340 compliant verification by @wydengyre in #2018
- txscript/engine: add execution StepCallback by @halseth in #1980
- schnorr: bip-340 compliant signing by @wydengyre in #2022
- main, wire, blockchain, indexers, ffldb: Add pruning by @kcalvinalvin in #1971
- chainhash: add support to legacy-marshaled hashes by @Beerosagos in #2025
- rpcclient: catch shutdown signal when sending RPC requests by @yyforyongyu in #2028
- integration: add test to check prune status by @kcalvinalvin in #2043
- fix: typos in sighash.go by @kevinheavey in #2047
- Update LICENSE by @davidcardenasus in #2045
- blockchain: export CheckSerializedHeight by @Crypt-iQ in #2051
- fix: default forward port by @0xEclair in #2038
- Added tests for FutureGetBestBlockHashResult.Receive by @ClaytonNorthey92 in #2048
- Added test for client.GetChainTxStatsAsync() in rpcclient. by @ClaytonNorthey92 in #2049
- added tests for GetBestBlockHashAsync by @ClaytonNorthey92 in #2057
- blockchain, btcjson: Implement getchaintips rpc call by @kcalvinalvin in #1918
- Fix typos by @xiaolou86 in #2064
- Fix typos on signature.go by @EvanTedesco in #2065
- schnorr: simplify some signing math by @wydengyre in #2042
- Correct comments in singature.go by @jcvernaleo in #2067
- blockchain: Add ancestor optimization to finding Ancestor by @kcalvinalvin in #1688
- Update petertodd seed DNS to .net by @petertodd in #2069
- wire, netsync: change isSyncCandidate behavior by @kcalvinalvin in #2035
- make: add install and release-install goals by @guggero in #1890
- chainhash, wire, btcutil, main: Memory efficient txhash by @kcalvinalvin in #1978
- blockchain, cmd, netsync, main: Add utxocache by @kcalvinalvin in #1955
- btcutil: update to chaincfg/chainhash/v1.1.0 by @Roasbeef in #2072
- fix: enhance code comments by @threewebcode in #2074
- multi: update main package and btcutil to chainhash/v1.1.0, use optimized dsha256 by @Roasbeef in #2075
- doc: correct comments by @bodhi-crypo in #2076
- rpctest: integration test harness fixes by @guggero in #2071
- btcutil: reuse serialized tx during TxHash by @Roasbeef in #2081
- wire: only borrow/return binaryFreeList buffers at the message level by @Roasbeef in #2073
- build: create btcd v0.24 release branch by @Roasbeef in #2082
New Contributors
- @guiand888 made their first contribution in #1925
- @hxw made their first contribution in #1576
- @jagottsicher made their first contribution in #1938
- @hristog made their first contribution in #1944
- @martonp made their first contribution in #1956
- @LindenWang01 made their first contribution in #1952
- @ziggie1984 made their first contribution in #1964
- @hieblmi made their first contribution in #1957
- @GeorgeTsagk made their first contribution in #1879
- @cuishuang made their first contribution in #1998
- @C-Otto made their first contribution in #1996
- @0xEclair made their first contribution in #2006
- @wydengyre made their first contribution in #2016
- @Beerosagos made their first contribution in #2025
- @kevinheavey made their first contribution in #2047
- ...
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