mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-25 15:09:44 +01:00
In this commit, we add a check during normal node construction to see if the backend node supports Taproot. If it doesn't, then we want to shutdown and force the user to take note. To check if the node supports Taproot, we'll first try the normal getblockchaininfo call. If this works, cool, then we can rely on the value. If it doesn't, then we'll fall back to the getdeploymentinfo call which was added in a recent version of bitcoind [1]. Newer versions of bitcoind might also have this call, and the getblockchaininfo call, but not actually populate the softforks field [2]. In this case, we'll fall back, and we also account for the case when the getblockchaininfo RPC is removed all together. [1]: https://github.com/bitcoin/bitcoin/pull/23508 [2]: https://github.com/bitcoin/bitcoin/pull/25114 Fixes #6773 |
||
---|---|---|
.. | ||
release-notes-0.13.1.md | ||
release-notes-0.13.2.md | ||
release-notes-0.13.3.md | ||
release-notes-0.14.0.md | ||
release-notes-0.14.1.md | ||
release-notes-0.14.2.md | ||
release-notes-0.14.3.md | ||
release-notes-0.15.0.md | ||
release-notes-0.15.1.md | ||
release-notes-0.16.0.md |