lnd/docs
Olaoluwa Osuntokun 492f8b6999
chainreg: shutdown if backend node doesn't support taproot
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
2022-08-05 17:23:31 -07:00
..
grpc docs: fix spelling in JavaScript example. 2022-01-11 14:08:20 +01:00
release-notes chainreg: shutdown if backend node doesn't support taproot 2022-08-05 17:23:31 -07:00
rest multi: Fix typos [skip ci] 2022-01-24 12:19:02 +02:00
code_contribution_guidelines.md docs: extract formatting rules 2022-07-06 13:33:02 +02:00
code_formatting_rules.md docs: extract formatting rules 2022-07-06 13:33:02 +02:00
configuring_tor.md docs: unify code and shell cmd blocks 2021-01-22 09:14:09 +01:00
debugging_lnd.md docs: unify code and shell cmd blocks 2021-01-22 09:14:09 +01:00
DOCKER.md github: re-add rolling 'daily-testing-only' tag [skip ci] 2022-03-22 14:12:56 -04:00
etcd.md docs: update etcd docs 2022-02-28 12:03:05 +01:00
fuzz.md docs: update fuzz.md to explain new build/run process 2021-06-16 12:49:26 -04:00
INSTALL.md fix: go version in ARMv6 section of INSTALL.md 2022-07-23 17:55:06 +02:00
key_import.md Docs: fix language ambiguity in key import [skip ci] 2021-11-09 11:49:50 -05:00
leader_election.md multi: Fix typos [skip ci] 2022-01-24 12:19:02 +02:00
macaroons.md docs: unify code and shell cmd blocks 2021-01-22 09:14:09 +01:00
MAKEFILE.md multi: Fix typos [skip ci] 2022-01-24 12:19:02 +02:00
musig2.md docs: add MuSig2 doc and release notes 2022-04-29 11:42:47 +02:00
nat_traversal.md docs: unify code and shell cmd blocks 2021-01-22 09:14:09 +01:00
postgres.md Merge pull request #6402 from asvdf/master 2022-04-19 11:20:10 -07:00
psbt.md docs: add example for PSBT batch funding 2021-10-04 11:17:09 +02:00
recovery.md multi: Fix typos [skip ci] 2022-01-24 12:19:02 +02:00
release.md docs: update release verification scripts for v0.12.1-beta 2021-09-27 15:48:20 +02:00
remote-signing.md docs: update remote signing doc and release notes 2022-01-06 14:35:26 +01:00
ruby-thing.rb docs: update contribution guidelines to add section on commit structure 2018-12-18 20:59:46 -08:00
safety.md docs: Remove pruned node warning. [skip ci] 2021-09-22 09:21:17 +02:00
wallet.md docs: add wallet management doc, fix markup in INSTALL doc 2021-05-06 12:23:46 +02:00
watchtower.md lnrpc+lncli: deprecate sat_per_byte and add sat_per_vbyte 2021-03-26 17:16:40 +08:00