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
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
Erik Arvstedt
f996ef37d9
lnd, clightning-rest: remove lndconnectOnion
, add generic option lndconnect
...
For both lnd and clightning-rest, `lndconnectOnion` is replaced by
options `lndconnect.enable` and `lndconnect.onion`.
This allows using lndconnect without Tor.
2023-02-27 14:39:29 +01:00
Jonas Nick
3480232f2a
update nixpkgs
...
btcpayserver: 1.7.3 -> 1.7.12
elementsd: 22.0.2 -> 22.1
nbxplorer: 2.3.54 -> 2.3.62
Also add new required argument to flake-info in CI test script.
2023-02-27 12:43:41 +00:00
Jonas Nick
475af2d6cb
Merge fort-nix/nix-bitcoin#586 : Misc. improvements
...
addfa8ec6b
test: support `run`, `debug` commands in basic NixOS tests (Erik Arvstedt)
ae733d887e
tests/clightning-replication: reuse `pkgs` instance (Erik Arvstedt)
6cbd0d93ae
tests: rename `clightningReplication` -> `clightning-replication` (Erik Arvstedt)
85310b533a
secrets: use type `lines` for `generateSecretsCmds` (Erik Arvstedt)
bc2f66d4f1
bitcoind, liquid: increase start/stop timeouts (Erik Arvstedt)
519ae31202
netns-isolation: improve formatting (Erik Arvstedt)
a1023696e6
netns-isolation: reserve netns id for mempool (Erik Arvstedt)
34fe8675bd
add option `nix-bitcoin.pkgOverlays` (Erik Arvstedt)
a3bdecb10b
helper: add start-bash-session.sh (Erik Arvstedt)
690a8f6256
nodeinfo: extract fn `mkInfoLong` (Erik Arvstedt)
2af642f56a
improve comments (Erik Arvstedt)
5634f08873
rtl: make `extraConfig` recursively mergeable (Erik Arvstedt)
b76728a1ec
treewide: use bool literals for systemd (Erik Arvstedt)
Pull request description:
ACKs for top commit:
jonasnick:
ACK addfa8ec6b
Tree-SHA512: 46f779f8477b566ffc6d0dfb024f2098757f509b2b3e0cbb509cf3308de7029e913f6e6c3d6d3d226cc72f8a5031fd5586b2efdf7c2d9d15f4bdd7ed08b27425
2023-02-03 13:11:41 +00:00
Erik Arvstedt
addfa8ec6b
test: support run
, debug
commands in basic NixOS tests
...
Currently, this only affects the basic NixOS test `clightning-replication`.
2023-02-02 10:51:41 +01:00
Erik Arvstedt
ae733d887e
tests/clightning-replication: reuse pkgs
instance
...
This reduces eval time by 30%.
2023-02-02 10:51:41 +01:00
Erik Arvstedt
6cbd0d93ae
tests: rename clightningReplication
-> clightning-replication
...
The test name now matches the file name.
2023-02-02 10:51:41 +01:00
Erik Arvstedt
56c2abd91a
update nixpkgs
...
btcpayserver: 1.7.2 -> 1.7.3
electrs: 0.9.10 -> 0.9.11
hwi: 2.1.1 -> 2.2.0
2023-01-25 23:57:29 +01:00
Jonas Nick
84fc4d48d3
Merge fort-nix/nix-bitcoin#574 : Add dev helper and docs
...
b4d7e1aa8f
add dev helper and docs (Erik Arvstedt)
b35d08d3f2
docs: move test docs from `examples/README` to `test/README` (Erik Arvstedt)
4d76eb9183
docs/configuration: fix typo (Erik Arvstedt)
dc0710f3f4
tests: add example scenario `customTest` (Erik Arvstedt)
9e30d2728b
tests: formatting (Erik Arvstedt)
c6d85c6fe3
tests: fix broken unit file when clightning is disabled (Erik Arvstedt)
a51f7b419e
run-tests: use arg instead of env var for scenario overrides (Erik Arvstedt)
Pull request description:
ACKs for top commit:
jonasnick:
ACK b4d7e1aa8f
Tree-SHA512: f0ed8f8fe326c64eac3b7e9f48597dd00eedb9244333e199d18d1c2c06f369cd015f77aefd48e87235a68aee0b352057249525bf015e0a564fda380bdf7bb9d1
2023-01-18 20:53:24 +00:00
Erik Arvstedt
b4d7e1aa8f
add dev helper and docs
2023-01-15 20:28:49 +01:00
Erik Arvstedt
b35d08d3f2
docs: move test docs from examples/README
to test/README
2023-01-15 20:28:48 +01:00