bcli: explicitly check at startup that bitcoind does relay transactions
We've had problems with blocksonly in the past and bitcoind still allows to use outdated (thus potentially dangerous estimates) while running bitcoin with -blocksonly. ZmnSCPxj mentionned that we still don't document this, but i figured that in this specific case an explicit check and error seems preferable. Changelog-Added: We now explicitly check at startup that our default Bitcoin backend (bitcoind) does relay transactions. Proposed-by: ZmnSCPxj <zmnscpxj@protonmail.com> Signed-off-by: Antoine Poinsot <darosior@protonmail.com>
This commit is contained in:
committed by
Rusty Russell
parent
5be07c5fe3
commit
905730341a
@@ -31,7 +31,7 @@ Don't hesitate to reach out to us on IRC at [#lightning-dev @ freenode.net][irc1
|
||||
|
||||
## Getting Started
|
||||
|
||||
c-lightning only works on Linux and Mac OS, and requires a locally (or remotely) running `bitcoind` (version 0.16 or above) that is fully caught up with the network you're testing on.
|
||||
c-lightning only works on Linux and Mac OS, and requires a locally (or remotely) running `bitcoind` (version 0.16 or above) that is fully caught up with the network you're running on, and relays transactions (ie with `blocksonly=0`).
|
||||
Pruning (`prune=n` option in `bitcoin.conf`) is partially supported, see [here](#pruning) for more details.
|
||||
|
||||
### Installation
|
||||
|
||||
Reference in New Issue
Block a user