Commit Graph

329 Commits

Author SHA1 Message Date
Erik Arvstedt
44addcb5aa
treewide: use substituteInPlace --replace-fail
Now substitution failures result in a script error.
This has recently been backported to nixpkgs 23.11.
2024-05-24 14:55:00 +02:00
Erik Arvstedt
42bae23337
update nixpkgs
bitcoind: 26.1 -> 27.0
lnd: 0.17.4-beta -> 0.17.5-beta
2024-05-05 17:03:34 +02:00
Jonas Nick
97eaa5a604
update nixpkgs
btcpayserver: 1.12.5 -> 1.13.1
clightning: 24.02.1 -> 24.02.2
hwi: 2.4.0 -> 3.0.0
nbxplorer: 2.5.0 -> 2.5.2

Don't update bitcoin to 27.0 due to compatibility issues with lnd.
2024-04-20 07:50:46 +00:00
Erik Arvstedt
5730afe48e
obsolete-options: add removed clightning plugins 2024-04-09 05:30:23 +00:00
Jonas Nick
b27078efa5
clightning-plugins: remove unmaintained summary plugin 2024-04-08 06:19:38 +00:00
Jonas Nick
24bc983363
clightning-plugins: remove unmaintained plugins prometheus & helpme 2024-04-08 06:01:47 +00:00
Jonas Nick
7633cb38ac
update nixpkgs
clightning: 24.02 -> 24.02.1
fulcrum: 1.9.8 -> 1.10.0
2024-04-03 13:53:22 +00:00
Erik Arvstedt
2c503a9dcf
examples: add persistent container example 2024-02-25 23:00:25 +01:00
Jonas Nick
6f72575932
Merge fort-nix/nix-bitcoin#675: test: use nixpkgs-unstable flake input for nix-bitcoin pkgs
afbd8a3cad test: use `nixpkgs-unstable` flake input for nix-bitcoin pkgs (Erik Arvstedt)

Pull request description:

ACKs for top commit:
  jonasnick:
    utACK afbd8a3cad

Tree-SHA512: ad5fba6cafff4acab4b63841b5376c0bc014eee9c40997b89ffbc52b1703453f7b064a7e61835b66f59136f6d5ea08670509d4e01085a972a46db3a7ec007648
2024-01-16 12:01:24 +00:00
Jonas Nick
b34bf78574
Merge fort-nix/nix-bitcoin#674: tests/hardened: fix test for slower hardware
98b16a1f6c tests/hardened: fix test for slower hardware (Erik Arvstedt)

Pull request description:

ACKs for top commit:
  jonasnick:
    utACK 98b16a1f6c

Tree-SHA512: 04d51dcf1aa01f861dff0da3bd2bb65bba0046d53ab6849f930455c579be7a80d6444f9f45e2d17bf6dd946ad7c6b5a2e0e2b65ed64a9892d20dfd83e6c503fb
2024-01-16 11:58:23 +00:00
Erik Arvstedt
d61dc8b8d9
test/README: fix typos 2024-01-15 23:27:18 +01:00
Erik Arvstedt
afbd8a3cad
test: use nixpkgs-unstable flake input for nix-bitcoin pkgs
By using the `default` flake module for tests, `pkgsUnstable` in
`pkgs/default.nix` gets passed the `nixpkgs-unstable` flake input
instead of falling back to importing `nixpkgsPinned.nixpkgs-unstable`.

For some use cases this prevents importing `nixpkgs-unstable` twice
(once via the `nixpkgs-unstable` flake input, once via
`import nixpkgsPinned.nixpkgs-unstable`).
2024-01-15 23:15:36 +01:00
Erik Arvstedt
98b16a1f6c
tests/hardened: fix test for slower hardware 2024-01-15 23:12:06 +01:00
Erik Arvstedt
1676445a51
update to NixOS 23.11 2023-12-12 11:22:38 +01:00
Erik Arvstedt
457f066e08
tests/trustedcoin: fix
Sometimes trustedcoin outputs `tip: 0`.
Check for `returning block` instead.
2023-11-28 18:33:27 +00:00
Erik Arvstedt
1de259485b
mempool: add module 2023-10-31 13:44:04 +01:00
Erik Arvstedt
a66c9992d3
tests/trustedcoin: fix test
Sometimes the trustedcoin plugin prevents clightning from starting up
in an offline environment.
2023-10-23 12:12:29 +00:00
Jonas Nick
c1b370aaa6
update nixpkgs
btcpayserver: 1.11.2 -> 1.11.4
clightning: 23.05.2 -> 23.08.1
hwi: 2.2.1 -> 2.3.1

Remove custom coincurve, since nixos-23.05 includes the latest version
of coincurve (18) that's required by pyln-proto.

Co-authored-by: Erik Arvstedt <erik.arvstedt@gmail.com>
2023-09-16 13:40:27 +00:00
Erik Arvstedt
b6df5cb130
clboss: 0.13A -> 0.13 2023-09-09 14:35:35 +02:00
Erik Arvstedt
7dcf307925
flake-info-sandboxed: clarify that sandbox is offline 2023-08-20 10:54:46 +02:00
Erik Arvstedt
ac59f93e63
trustedcoin: add regtest support, reenable test 2023-08-03 18:40:13 +02:00
Erik Arvstedt
aa418869b3
tests/trustedcoin: extract fn 2023-08-03 18:40:12 +02:00
Erik Arvstedt
6de5029c49
tests/trustedcoin: refactor
- No need to wait for bitcoind:
  clightning being active implies that bitcoind is active.

- Remove redundant log checks
2023-08-03 18:40:12 +02:00
Erik Arvstedt
7640c69d79
tests/clightning-plugins: enable active plugin test for trustedcoin 2023-08-03 01:20:05 +02:00
Erik Arvstedt
57455eb897
tests/clightning-plugins: set actual clboss pkg path 2023-08-03 01:20:04 +02:00
Erik Arvstedt
dca6813d6b
tests/clightning-plugins: extract variable 2023-08-03 01:20:04 +02:00
Erik Arvstedt
14ca8b461b
rtl: fix lnd, lightning-loop connection errors
lnd and lightning-loop resolve `localhost` to an IPv4 address when
creating RPC sockets.

Since NixOS 23.05, RTL (nodejs) resolves `localhost` to an IPv6
address when connecting to lnd and lightning-loop, which leads to
connection errors.

To fix these and other potential errors, replace all instances
of `localhost` with `127.0.0.1`.
2023-07-29 19:07:10 +02:00
Erik Arvstedt
e658209d56
run-tests.sh: fix building tests for Nix ≥ 2.15 2023-07-19 17:22:01 +02:00
Erik Arvstedt
e31cc686f2
run-tests: make compatible with new shellcheck version 2023-07-19 17:22:01 +02:00
Erik Arvstedt
76dc7b92e1
examples/deploy-container.sh: add extra-container version check
It now uses the same version check as
make-container.sh (which is called by run-tests.sh)
2023-07-19 17:22:01 +02:00
Erik Arvstedt
6c2d1108a4
update the required extra-container version for nixos 23.05 2023-07-19 17:22:01 +02:00
Erik Arvstedt
e2cce7daa8
update to nixos 23.05 2023-07-19 17:22:01 +02:00
Erik Arvstedt
55c64d8dff
update nixpkgs
clightning: 23.05.1 -> 23.05.2
lightning-pool: 0.5.3-alpha -> 0.6.4-beta
2023-07-19 17:22:01 +02:00
Jonas Nick
71b4191095
update nixpkgs
extra-container: 0.11 -> 0.12
lnd: 0.16.2-beta -> 0.16.3-beta
2023-06-27 09:59:02 +00:00
Erik Arvstedt
26b35120ad
tests/trustedcoin: remove from CI, disable temporarily
- Don't spin up a CI node for the minor `trustedcoin` test.
- Add the test to `run-tests.sh`, but disable it because it
  occasionally fails.
2023-06-26 00:10:31 +02:00
Jonas Nick
acab8667db
update nixpkgs
btcpayserver: 1.10.1 -> 1.10.2
lightning-loop: 0.23.0-beta -> 0.24.1-beta
nbxplorer: 2.3.63 -> 2.3.65
clightning: 23.05 -> 23.05.1
2023-06-13 15:03:46 +00:00
Erik Arvstedt
9b575e4f3f
test/backups: check that bitcoind stops without errors 2023-06-02 10:50:11 +00:00
Jonas Nick
75e54bbb90
spark-wallet: remove package and module 2023-06-02 10:50:11 +00:00
Erik Arvstedt
29a95ea311
clightning-rest: update module to v0.10.3 2023-06-02 10:49:35 +00:00
Erik Arvstedt
2166bfd1ee
clboss: deprecate, add clighting 23.05 compatibility 2023-05-29 06:41:38 +00:00
Jonas Nick
dcc5a543ae
update nixpkgs
bitcoind: 24.0.1 -> 25.0
btcpayserver: 1.7.12 -> 1.9.3
clightning: 23.02.2 -> 23.05
nbxplorer: 2.3.62 -> 2.3.63
2023-05-29 06:41:17 +00:00
Erik Arvstedt
744d8fe379
update nixpkgs
fulcrum: 1.9.0 -> 1.9.1
lightning-loop: 0.20.0-beta -> 0.23.0-beta
lnd: 0.15.5-beta -> 0.16.2-beta
2023-05-06 23:14:46 +02:00
Jonas Nick
7736468466
Merge fort-nix/nix-bitcoin#597: Integrate trustedcoin clightning plugin
a3c654768c docs: trustedcoin: add info about possible problems (Otto Sabart)
67f2eb2feb trustedcoin: explicitly use the HTTPS_PROXY for external connections (Otto Sabart)
4942130abe tests: add tests for trustedcoin clightning plugin (Otto Sabart)
8c00c26fa1 trustedcoin: update to v0.6.1 (Otto Sabart)
5b5e76931d trustedcoin: fix shellcheck (Otto Sabart)
3d26f72b7f clightning-plugins: add trustedcoin (neverupdate)
c747ddbf32 readme: reference trustedcoin source (neverupdate)
35fc3a2b44 trustedcoin: add module (neverupdate)
3197338d81 trustedcoin: add pkg (neverupdate)

Pull request description:

ACKs for top commit:
  jonasnick:
    ACK a3c654768c

Tree-SHA512: 81075d051c500b533ac979530645ccb596c57cf93cf695419eda9f13575863b1cece0cb9a423fc669d96b97a19ba6a49012a1abef310f904df99b90762c5c943
2023-04-17 11:21:48 +00:00
Jonas Nick
5506d5e0df
update nixpkgs
electrs: 0.9.11 -> 0.9.13
elementsd: 22.1 -> 22.1.1
2023-04-16 12:39:01 +00:00
Otto Sabart
4942130abe
tests: add tests for trustedcoin clightning plugin 2023-04-11 21:00:00 +02:00
Jonas Nick
a9644a0e2b
update nixpkgs 2023-04-02 18:10:58 +00:00
Jonas Nick
d3c98698e0
update nixpkgs
clightning: 23.02 -> 23.02.2
2023-03-19 19:58:38 +00:00
Jonas Nick
282c45b746
Merge fort-nix/nix-bitcoin#575: Improve lndconnect, support WireGuard
cea69b73d2 nodeinfo: enable required option `nix-bitcoin.operator` (Erik Arvstedt)
27d95fda85 nodeinfo/lnd: add `onion_rest_address` (Erik Arvstedt)
54a21874ae nodeinfo/lnd: add `rest_address` (Erik Arvstedt)
a4bfefd562 add `presets/wireguard.nix` (Erik Arvstedt)
477e1709fb lndconnect: update to Zeus 0.7.1 (Erik Arvstedt)
f996ef37d9 lnd, clightning-rest: remove `lndconnectOnion`, add generic option `lndconnect` (Erik Arvstedt)
b4bc621b8c rename `lndconnect-onion.nix` -> `lndconnect.nix` (Erik Arvstedt)
907cfe4f4c docs/services: improve title, fix numbering (Erik Arvstedt)

Pull request description:

ACKs for top commit:
  jonasnick:
    ACK cea69b73d2

Tree-SHA512: 747d95b49f5c1b63dfaa2c6bc302fb102e3788c36e279cc28266ea230e8daae54973d8bdb51f2a81e7e84eb86b6b1e504fbe8af85c2318525c54d901678b3f55
2023-03-13 12:55:59 +00:00
Erik Arvstedt
a4bfefd562
add presets/wireguard.nix
This allows using `lndconnect` via a direct WireGuard connection.
2023-03-11 20:10:54 +01:00
Jonas Nick
b82eb458af
update nixpkgs
clightning: 22.11.1 -> 23.02
hwi: 2.2.0 -> 2.2.1
2023-03-07 21:08:35 +00:00