From 6a80530fffe6046164c444f4ec6d33cb6362c991 Mon Sep 17 00:00:00 2001 From: Yong Date: Mon, 16 Oct 2023 15:14:56 +0800 Subject: [PATCH] gomod: update btcwallet version (#8019) --- docs/release-notes/release-notes-0.17.1.md | 8 ++++++++ go.mod | 2 +- go.sum | 4 ++-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/docs/release-notes/release-notes-0.17.1.md b/docs/release-notes/release-notes-0.17.1.md index 78260acbf..a0e414f05 100644 --- a/docs/release-notes/release-notes-0.17.1.md +++ b/docs/release-notes/release-notes-0.17.1.md @@ -46,6 +46,14 @@ ## Breaking Changes ## Performance Improvements +- When facing a large mempool, users may experience deteriorated performance, + which includes slow startup and shutdown, clogging RPC response when calling + `getinfo`, and CPU spikes. This is now improved with [the upgrade to the + latest `btcwallet`](https://github.com/lightningnetwork/lnd/pull/8019). In + addition, it's strongly recommended to upgrade `bitcoind` to version `v24.0` + and above to take advantage of the new RPC method `gettxspendingprevout`, + which will further decrease CPU usage and memory consumption. + # Technical and Architectural Updates ## BOLT Spec Updates ## Testing diff --git a/go.mod b/go.mod index 5c7f172a3..c6763cfd2 100644 --- a/go.mod +++ b/go.mod @@ -9,7 +9,7 @@ require ( github.com/btcsuite/btcd/btcutil/psbt v1.1.8 github.com/btcsuite/btcd/chaincfg/chainhash v1.0.2 github.com/btcsuite/btclog v0.0.0-20170628155309-84c8d2346e9f - github.com/btcsuite/btcwallet v0.16.10-0.20230804184612-07be54bc22cf + github.com/btcsuite/btcwallet v0.16.10-0.20231012151923-afbabbe022c0 github.com/btcsuite/btcwallet/wallet/txauthor v1.3.2 github.com/btcsuite/btcwallet/wallet/txrules v1.2.0 github.com/btcsuite/btcwallet/walletdb v1.4.0 diff --git a/go.sum b/go.sum index 156dac4c6..51b5c75f2 100644 --- a/go.sum +++ b/go.sum @@ -95,8 +95,8 @@ github.com/btcsuite/btcd/chaincfg/chainhash v1.0.2/go.mod h1:7SFka0XMvUgj3hfZtyd github.com/btcsuite/btclog v0.0.0-20170628155309-84c8d2346e9f h1:bAs4lUbRJpnnkd9VhRV3jjAVU7DJVjMaK+IsvSeZvFo= github.com/btcsuite/btclog v0.0.0-20170628155309-84c8d2346e9f/go.mod h1:TdznJufoqS23FtqVCzL0ZqgP5MqXbb4fg/WgDys70nA= github.com/btcsuite/btcutil v0.0.0-20190425235716-9e5f4b9a998d/go.mod h1:+5NJ2+qvTyV9exUAL/rxXi3DcLg2Ts+ymUAY5y4NvMg= -github.com/btcsuite/btcwallet v0.16.10-0.20230804184612-07be54bc22cf h1:iZrvu/dynDPUcLJFkKiN9wnS4EdjwZSJS1H33Rx/a1Y= -github.com/btcsuite/btcwallet v0.16.10-0.20230804184612-07be54bc22cf/go.mod h1:qUPTONX2GVX7ERHvgh352/WySsfYlrkL4729qX9o9cA= +github.com/btcsuite/btcwallet v0.16.10-0.20231012151923-afbabbe022c0 h1:Q2/xET0KHlKCm2fr+wY6c1ldERmQ0mTCqQMSrERNWs8= +github.com/btcsuite/btcwallet v0.16.10-0.20231012151923-afbabbe022c0/go.mod h1:WSKhOJWUmUOHKCKEzdt+jWAHFAE/t4RqVbCwL2pEdiU= github.com/btcsuite/btcwallet/wallet/txauthor v1.3.2 h1:etuLgGEojecsDOYTII8rYiGHjGyV5xTqsXi+ZQ715UU= github.com/btcsuite/btcwallet/wallet/txauthor v1.3.2/go.mod h1:Zpk/LOb2sKqwP2lmHjaZT9AdaKsHPSbNLm2Uql5IQ/0= github.com/btcsuite/btcwallet/wallet/txrules v1.2.0 h1:BtEN5Empw62/RVnZ0VcJaVtVlBijnLlJY+dwjAye2Bg=