chainreg: update tapoort node awareness to account for bitcoind 19+

Bitcoind 23 will use the new `getdeploymentinfo` while versions after 19
(but below 23) will use the `UnifiedSoftForks` field instead of the
`SoftForks UnifiedSoftForks` field.

With this PR the taproot gating logic has been tested on bitcoind
versions: 21, 22, and 23. 21 is when the taproot logic was first added.
This commit is contained in:
Olaoluwa Osuntokun committed 2022-08-12 15:35:32 -07:00
1 parent dc453f2c39
commit 6b7abc3dbc
2 files changed
+15 -2

No files matched your search

+3 -1
View File
@@ -30,7 +30,9 @@ of the draft BIP.
## Taproot
[`lnd` will now refuse to start if it detects the full node backend does not
support Tapoot](https://github.com/lightningnetwork/lnd/pull/6798).
support Tapoot](https://github.com/lightningnetwork/lnd/pull/6798). [With this
change](https://github.com/lightningnetwork/lnd/pull/6826), the officially
supported versions of bitcoind are: 21, 22, and 23.
[`lnd` will now use taproot addresses for co-op closes if the remote peer
supports the feature.](https://github.com/lightningnetwork/lnd/pull/6633)