Manually download `bitcoind`/`electrs` for CI tests
authorElias Rohrer <dev@tnull.de>
Fri, 8 Dec 2023 11:29:38 +0000 (12:29 +0100)
committerElias Rohrer <dev@tnull.de>
Fri, 8 Dec 2023 13:40:15 +0000 (14:40 +0100)
commitf368facac0e60eccc73f754614091d9803d2007d
tree11de329f6618e6fcb70ea3eced350d70c455956b
parent7301ff0c097e4b60002b79260dcb538522a7f822
Manually download `bitcoind`/`electrs` for CI tests

Previously, we used the auto-download feature of the
`electrsd`/`bitcoind` crates. While convenient, they unnecessarily
introduced a lot of dependecies (`zip`, `zstd`, `time`, etc.) to our
test environment which needed pinning for the MSRV of 1.63.

Here, we introduce a new `no_download` config flag to the
`lightning-transaction-sync` crate allowing us to disable this
auto-download feature in CI, where we now opt to download the
corresponding binaries manually. We keep the default-auto-download as a
convenience feature for running tests locally though.
ci/ci-tests.sh
lightning-transaction-sync/Cargo.toml