Erik Arvstedt
04b6a09be4
clightning-plugins: use clnrest, remove Python version
2025-05-09 13:32:19 +02:00
Erik Arvstedt
ac86e67c85
clnrest: init at 0.2.0
2025-05-08 23:59:08 +02:00
Jonas Nick
6e3c5db5f5
update nixpkgs
...
bitcoin: 28.1 -> 29.0
bitcoind: 28.1 -> 29.0
btcpayserver: 2.0.7 -> 2.1.0
clightning: 24.11.1 -> 25.02.1
fulcrum: 1.11.1 -> 1.12.0.1
nbxplorer: 2.5.23 -> 2.5.25
2025-05-05 12:40:09 +00:00
Jonas Nick
990805aa7c
Merge fort-nix/nix-bitcoin#770 : update nixpkgs
...
f1788b181c update nixpkgs (Jonas Nick)
Pull request description:
ACKs for top commit:
erikarvstedt:
ACK f1788b181c
Tree-SHA512: 2e5b179cfc8b123b78b6bb37ddf28d004f44517bb01b1ca06f83f13c7ced3c032b62f320962763631617a3b7955baf8f6bad24554b2616e3c91f2f213278be66
2025-03-28 09:52:29 +00:00
Jonas Nick
f1788b181c
update nixpkgs
2025-03-27 16:39:54 +00:00
Jonas Nick
875d25066d
Merge fort-nix/nix-bitcoin#769 : update nixpkgs
...
8f99c63303 update nixpkgs (Erik Arvstedt)
Pull request description:
ACKs for top commit:
erikarvstedt:
ACK 8f99c63303
Tree-SHA512: d0f9417586576b63ce4324fa972e301fd8bae6111a4204eb253aac53276d1ddd8293ebe6ad35c31cc47094f6bd89af3801792cb5e249c5252cb800a5431c0b4a
2025-03-11 20:31:17 +00:00
Erik Arvstedt
8f99c63303
update nixpkgs
...
btcpayserver: 1.13.7 -> 2.0.7
nbxplorer: 2.5.17 -> 2.5.23
Co-authored-by: Erik Arvstedt <erik.arvstedt@gmail.com>
2025-03-11 19:36:26 +00:00
Jonas Nick
bff10a66e5
Merge fort-nix/nix-bitcoin#765 : update nixpkgs
...
3872f893dc update nixpkgs (Erik Arvstedt)
Pull request description:
ACKs for top commit:
jonasnick:
ACK 3872f893dc
Tree-SHA512: d05441f1743d8b56be24ab00762322a3835c3fd918efc09c9924f0ffa89528434d9c0b38411128837bd3fb7613c28909db9b3a5c81e604baced98936cbe7e0b0
2025-02-16 12:43:25 +00:00
Erik Arvstedt
3872f893dc
update nixpkgs
...
electrs: 0.10.8 -> 0.10.9
lnd: 0.18.4-beta -> 0.18.5-beta
nbxplorer: 2.5.16 -> 2.5.17
2025-02-14 15:51:16 +01:00
Jonas Nick
df7b000efc
Merge fort-nix/nix-bitcoin#761 : services: use wants dependency where possible
...
4aaef5fdf4 services: use `wants` dependency where possible (Erik Arvstedt)
Pull request description:
ACKs for top commit:
jonasnick:
ACK 4aaef5fdf4
Tree-SHA512: 183c0dea60d59542654503401c4fac10699e5c0703214061e705c5a47915f18c56ad88ae9dcebc746a90b4dcb4b41dc31725436605cb4b395af1f9e21cae681e
2025-01-31 11:21:03 +00:00
Erik Arvstedt
4aaef5fdf4
services: use wants dependency where possible
...
Let A be a service that depends on another service B.
When A can gracefully handle failures and restarts of B, use
```
wants = [ "B.service" ];
after = [ "B.service" ];
```
instead of
```
requires = [ "B.service" ];
after = [ "B.service" ];
```
in the definition of A.
This way, A keeps running when B is stopped or restarted after a failure.
With `requires`, A is instead stopped when B is stopped or restarted due to a failure.
This brings two benefits:
1. Improved uptime
Examples:
- RTL keeps running when one lightning node has failed
- btcpayserver keeps running and accepting on-chain payments when the lightning node has crashed
2. Avoids a systemd bug where depending units (`A.service` in the
above example) are not restarted when their dependency fails
(issue github/systemd#18856 , no full link to avoid spamming the issue).
In real world nix-bitcoin deployments, this issue was only likely to
appear when clightning failed during activation, causing depending
units (like `RTL`) to stop and not be restarted.
All services depending on `clightning` have now been changed to use
`wants`, thereby avoiding the bug.
Services `electrs` and `lightning-loop` fail when their respective
dependencies stop, so these services have not been changed.
I also haven't changed services `joinmarket` and
`joinmarket-yieldgenerator`. Further manual testing is needed to
determine if they can be switched to `wants`.
2025-01-29 20:44:26 +01:00
Jonas Nick
296ef4a546
Merge fort-nix/nix-bitcoin#762 : dev: add more automation to NixOS version updates
...
fe8c6b1e6a dev: add more automation to NixOS version updates (Erik Arvstedt)
Pull request description:
ACKs for top commit:
jonasnick:
ACK fe8c6b1e6a
Tree-SHA512: 692348f608dfe0aa0ab88427b8402f6a03c8b4fc1e62070ae6ceda40c7f96dbf02bda759437273bd6c73c5b55d2a1c149a9d1be3c05ae9f6483023dff1efcc18
2025-01-26 08:45:29 +00:00
Erik Arvstedt
fe8c6b1e6a
dev: add more automation to NixOS version updates
...
Use the `update-flake.sh` script to auto-update the NixOS version at
various places.
Also update `examples/container/flake.nix` which has been
missing in the update instructions.
2025-01-25 22:24:09 +01:00
Jonas Nick
c7e5de3b2b
Merge fort-nix/nix-bitcoin#760 : Fix test persistentContainerExample
...
b8f6343ee4 fix test `persistentContainerExample` (Erik Arvstedt)
b36867c845 examples/container: use faster `destroy` cmd (Erik Arvstedt)
Pull request description:
ACKs for top commit:
jonasnick:
ACK b8f6343ee4
Tree-SHA512: 2649f7f93698c1b072f0c9a92cbb24ae770904f5c390e7869fec3dc9941022029ee70918f517d4c77ee5aed02b79f65d1deaeef775dc027a3d7ef741eb7ec81a
2025-01-24 08:18:14 +00:00
Jonas Nick
f47727b28a
Merge fort-nix/nix-bitcoin#759 : test/README: mention Flakes requirement
...
6486bca30f test/README: mention Flakes requirement (Erik Arvstedt)
Pull request description:
ACKs for top commit:
jonasnick:
ACK 6486bca30f
Tree-SHA512: a1c4e2cf2595306587bf411174a2271a9b2a5b526225b5e7bf2453c779c82a28f28279535df1a257186f0a1a2a940e1cea40c8f84bc8c6a815afdd833125df01
2025-01-24 08:05:30 +00:00
Erik Arvstedt
6486bca30f
test/README: mention Flakes requirement
2025-01-22 20:48:12 +01:00
Erik Arvstedt
b8f6343ee4
fix test persistentContainerExample
...
This test requires `electrs` to be enabled.
Also, by using `electrs` instead of `clightning` we avoid the bug
where clightning hangs at startup when internet access is unavailable.
Due to technical limititations, internet access is available in NixOS
containers only after the container has started.
2025-01-22 20:41:52 +01:00
Erik Arvstedt
b36867c845
examples/container: use faster destroy cmd
...
This skips evaluating the container system derivation.
2025-01-22 20:31:30 +01:00
Jonas Nick
dc4d14e073
Merge fort-nix/nix-bitcoin#758 : update nixpkgs
...
ed163fece1 update nixpkgs (Jonas Nick)
Pull request description:
ACKs for top commit:
erikarvstedt:
ACK ed163fece1
Tree-SHA512: 671d40ed9e545a8076e67c29e32f74fd071d1d0f388c57e6204120d96a8a58e92f1559ddb33620e11f1260f0843ff5ceeb49bde0cbfb966f6ecbaeabd173270f
2025-01-21 17:52:17 +00:00
Jonas Nick
ed163fece1
update nixpkgs
...
bitcoin: 28.0 -> 28.1
bitcoind: 28.0 -> 28.1
clightning: 24.11 -> 24.11.1
electrs: 0.10.7 -> 0.10.8
extra-container: 0.12 -> 0.13
lnd: 0.18.3-beta -> 0.18.4-beta
2025-01-21 16:51:29 +00:00
Jonas Nick
1113d2cedb
Merge fort-nix/nix-bitcoin#754 : container example: add clightning to flake, remove electrs
...
306b30cf62 container example: add clightning to flake, remove electrs (Sean Gilligan)
Pull request description:
ACKs for top commit:
erikarvstedt:
ACK 306b30cf62
Tree-SHA512: eaba319734a8263d809d9d9365316b43b36d64996a2b04849bb0c827f342f3350acc0b34e33dec396d5cb41fd77a9cab882fbb66129a7fd6e1cca242e7e33ebe
2024-12-18 21:47:58 +00:00
Sean Gilligan
306b30cf62
container example: add clightning to flake, remove electrs
...
Some of the commands listed in usage.sh require clightning to be
enabled. This commit enables clightning so they will work. It also
removes electrs to keep things simple, since electrs is not in
usage.sh
2024-12-18 10:17:34 -08:00
Jonas Nick
33dbb41d58
Merge fort-nix/nix-bitcoin#753 : update nixpkgs
...
64bfc3f3a0 update nixpkgs (Jonas Nick)
Pull request description:
ACKs for top commit:
erikarvstedt:
ACK 64bfc3f3a0
Tree-SHA512: 0d0283e62c1ebab57828b35556925fd315ed2ec64f89f2d188bd3ec92f66854cd4c1e25989aac3882438d393190c5a3b11e51af82a0abaff9eca0ada8e1c30bb
2024-12-18 07:47:26 +00:00
Jonas Nick
64bfc3f3a0
update nixpkgs
...
Pkg updates in nixpkgs stable:
btcpayserver: 1.13.5 -> 1.13.7
nbxplorer: 2.5.7 -> 2.5.16
Pkg updates in nixpkgs unstable:
clboss: 0.14.0 -> 0.14.1
clightning: 24.08.2 -> 24.11
electrs: 0.10.6 -> 0.10.7
elementsd: 23.2.1 -> 23.2.4
2024-12-17 09:22:23 +00:00
Jonas Nick
32b59a6b84
Merge fort-nix/nix-bitcoin#750 : Update to NixOS 24.11
...
b5e5974b8a flake: update extra-container (Erik Arvstedt)
2d53b57636 tests.py: fix syntax warning (Erik Arvstedt)
09ba739719 nbxplorer: remove deprecated option (Erik Arvstedt)
d6bae0a9eb python3Packages.clnrest: update to NixOS 24.11 (Erik Arvstedt)
b78116b0da python3Packages.clnrest: use `--replace-fail` (Erik Arvstedt)
dc8f969eea python3Packages.pyln-proto: update to NixOS 24.11 (Erik Arvstedt)
8af7fc4b80 python3Packages.joinmarket: update to NixOS 24.11 (Erik Arvstedt)
c66a6aab3a python3Packages.joinmarket: allow Python 3.12 (Erik Arvstedt)
3ce3a000b2 modules: update to NixOS 24.11 (Erik Arvstedt)
a3ded4cf74 update to NixOS 24.11 (Erik Arvstedt)
ba46d20a25 update-flake.sh: add workflow for updating the NixOS version (Erik Arvstedt)
f60a50607d update-flake.sh: remove support for Nix < 2.19 (Erik Arvstedt)
Pull request description:
ACKs for top commit:
jonasnick:
ACK b5e5974b8a
Tree-SHA512: a252a2e20266924c58877aebe03a25ef65166cf8404ecf6a5f8a0b0eb5bf569ec5f13894d08723058c8d6b354378c609cb626f6866f152b06d26e8a73181f02c
2024-12-17 08:09:51 +00:00
Erik Arvstedt
b5e5974b8a
flake: update extra-container
...
Adds support for NixOS 24.11
2024-12-14 10:52:27 +01:00
Erik Arvstedt
2d53b57636
tests.py: fix syntax warning
...
Fixes this warning from the NixOS VM test script linter:
SyntaxWarning: invalid escape sequence '\['
2024-12-14 10:52:27 +01:00
Erik Arvstedt
09ba739719
nbxplorer: remove deprecated option
...
Fixes this warning:
Explorer: Options 'automigrate' is obsolete and ignored...
2024-12-14 10:52:26 +01:00
Erik Arvstedt
d6bae0a9eb
python3Packages.clnrest: update to NixOS 24.11
...
Gunicorn 22 and 23 mostly include security fixes:
https://github.com/benoitc/gunicorn/releases
2024-12-14 10:52:26 +01:00
Erik Arvstedt
b78116b0da
python3Packages.clnrest: use --replace-fail
2024-12-14 10:52:26 +01:00
Erik Arvstedt
dc8f969eea
python3Packages.pyln-proto: update to NixOS 24.11
...
Cryptography contains no relevant backwards-incompatible changes:
https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst#4300---2024-07-20
2024-12-14 10:52:26 +01:00
Erik Arvstedt
8af7fc4b80
python3Packages.joinmarket: update to NixOS 24.11
...
- Cryptography contains no relevant backwards-incompatible changes
https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst#4300---2024-07-20
- Txtorcon 24.8.0 is a minor maintenance release:
https://github.com/meejah/txtorcon/releases/tag/v24.8.0
2024-12-14 10:52:26 +01:00
Erik Arvstedt
c66a6aab3a
python3Packages.joinmarket: allow Python 3.12
...
Python 3.12 is the default in Nixos 24.11.
All tests succeed with Python 3.12.
Context:
Related issue:
https://github.com/JoinMarket-Org/joinmarket-clientserver/issues/1589
This issue contains no hints on what changes caused joinmarket to be
incompatible/compatible with Python 3.12.
The restriction to Python <3.12 was added
here (https://github.com/JoinMarket-Org/joinmarket-clientserver/pull/1587 )
in Oct 2023.
This post
(https://github.com/JoinMarket-Org/joinmarket-clientserver/issues/1589#issuecomment-2119278070 )
in the above issue mentions on 2024-05-19 that tests are running again
with Python 3.12.
The current joinmarket version (0.9.11) was released on 2024-02-22.
2024-12-14 10:52:26 +01:00
Erik Arvstedt
3ce3a000b2
modules: update to NixOS 24.11
2024-12-14 10:52:26 +01:00
Erik Arvstedt
a3ded4cf74
update to NixOS 24.11
2024-12-14 10:52:26 +01:00
Erik Arvstedt
ba46d20a25
update-flake.sh: add workflow for updating the NixOS version
2024-12-14 10:52:26 +01:00
Erik Arvstedt
f60a50607d
update-flake.sh: remove support for Nix < 2.19
...
Nix 2.24 is the default in NixOS 24.11.
This is required by the following commit that uses a `flake update`
command syntax only supported by Nix >= 2.19.
2024-12-13 23:22:22 +01:00
Jonas Nick
5dd5b899eb
Merge fort-nix/nix-bitcoin#752 : rtl: 0.15.2 -> 0.15.4
...
50cafcaf8e rtl: 0.15.2 -> 0.15.4 (Erik Arvstedt)
Pull request description:
ACKs for top commit:
jonasnick:
ACK 50cafcaf8e
Tree-SHA512: dcfc8d534151a11e4a291b37b724c28716a14cf6c8633fdc4a6b913af98a920cc0722932d43a1a761996f2abe1e4f240e79b87b64098a1cac18f20d99e0213b6
2024-12-13 21:21:38 +00:00
Erik Arvstedt
50cafcaf8e
rtl: 0.15.2 -> 0.15.4
2024-12-13 19:50:23 +01:00
Jonas Nick
ff847d527c
Merge fort-nix/nix-bitcoin#748 : update nixpkgs
...
b9019d170d test: remove clightning TODO-EXTERNAL requiring to disable offers (Jonas Nick)
7fb481cf58 update nixpkgs (Jonas Nick)
Pull request description:
ACKs for top commit:
erikarvstedt:
ACK b9019d170d
Tree-SHA512: 0f18de71c4f98e29ccccc9150c8138fcaf860f6e7813ec9ee6ed76efec2340c35edfdbe75f0b6bb59b4fe407f0e1f9579ed5cda6f970bfb66625398f5a80161f
2024-12-02 20:44:12 +00:00
Jonas Nick
b9019d170d
test: remove clightning TODO-EXTERNAL requiring to disable offers
2024-12-01 13:40:02 +00:00
Jonas Nick
7fb481cf58
update nixpkgs
...
clightning: 24.08.1 -> 24.08.2
lightning-loop: 0.24.1-beta -> 0.28.8-beta
nbxplorer: 2.5.6 -> 2.5.7
2024-12-01 13:09:47 +00:00
Jonas Nick
64fb83b742
Merge fort-nix/nix-bitcoin#688 : rtl: 0.14.1 -> 0.15.4, add clightning.plugins.clnrest
...
daa3bfbae3 lndconnect: add clnrest (Erik Arvstedt)
87b929bc99 wireguard-lndconnect: remove obsolete workaround (Erik Arvstedt)
d682cb95c8 README: remove `clightning-rest` (Erik Arvstedt)
ad2a128471 rtl: use clnrest (Erik Arvstedt)
4e9c153f9c rtl: 0.14.1 -> 0.15.4 (Erik Arvstedt)
e74ddd9464 clightning.plugins.clnrest: init (Erik Arvstedt)
Pull request description:
ACKs for top commit:
jonasnick:
ACK daa3bfbae3
Tree-SHA512: ce6994977287998f41134d445824e8d4a162715d94604704b8706a7f27947aae98e97de296977d6e392df9300d71dc44e2c1c77a6f99ca515d99dc93b4f7eb91
2024-11-27 21:17:04 +00:00
Erik Arvstedt
daa3bfbae3
lndconnect: add clnrest
2024-11-27 21:35:46 +01:00
Erik Arvstedt
87b929bc99
wireguard-lndconnect: remove obsolete workaround
2024-11-27 21:35:46 +01:00
Erik Arvstedt
d682cb95c8
README: remove clightning-rest
...
`clightning-rest` will be deprecated soon.
2024-11-27 21:35:46 +01:00
Erik Arvstedt
ad2a128471
rtl: use clnrest
...
Using `clightning-rest` is no longer supported by rtl.
2024-11-27 21:35:46 +01:00
Erik Arvstedt
4e9c153f9c
rtl: 0.14.1 -> 0.15.4
2024-11-27 18:48:24 +01:00
Erik Arvstedt
e74ddd9464
clightning.plugins.clnrest: init
2024-11-27 18:48:24 +01:00
Jonas Nick
c0994bfc7b
Merge fort-nix/nix-bitcoin#744 : update nixpkgs
...
2f986c80e5 update nixpkgs (Jonas Nick)
76ea066809 trustedcoin: 0.8.2 -> 2024-11-15 (Erik Arvstedt)
Pull request description:
ACKs for top commit:
erikarvstedt:
ACK 2f986c80e5
Tree-SHA512: 2824fc5f2c0f5586d1912c237a0b129387a913283d70840c6c4020e168bf924814b335796e863a64b97f6d60aced0e65fd10561fb3c1d4a33542dc235df46d25
2024-11-16 14:57:49 +00:00