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
Erik Arvstedt
742fd8fdd0
examples/flake.nix: add inputs.nixpkgs
...
To make this template look more like a regular system flake.
2023-10-23 11:47:34 +02:00
Jonas Nick
8e2010c1b3
update nixpkgs
...
bitcoin: 24.1 -> 25.1
bitcoind: 24.1 -> 25.1
2023-10-23 09:37:40 +00:00
Jonas Nick
2804d4ada0
Revert "bitcoin: replace nixpkgs package with bitcoin{,d} 24.1"
...
This reverts commit 3650d4befe
.
2023-10-23 08:58:10 +00:00
Erik Arvstedt
89ea349312
examples/flake.nix: add comments and extra service
...
Like in importable-configuration.nix
2023-10-19 09:48:50 +02:00
Jonas Nick
1852305b13
Merge fort-nix/nix-bitcoin#654 : update nixpkgs
...
1fad7c730b
update nixpkgs (Erik Arvstedt)
Pull request description:
ACKs for top commit:
jonasnick:
ACK 1fad7c730b
Tree-SHA512: 41cd3482e7878daa1152be2e982a2c8a07c464127d670e0e70ab0f80e6ac819b5714c8162efa3b35f7a9bd2633f0a25508044c1b7f60e6a34fdf07f3c0e07333
2023-10-18 12:20:22 +00:00
Erik Arvstedt
1fad7c730b
update nixpkgs
...
btcpayserver: 1.11.4 -> 1.11.6
fulcrum: 1.9.1 -> 1.9.2
lnd: 0.16.3-beta -> 0.17.0-beta
nbxplorer: 2.3.65 -> 2.3.66
Includes fix for curl CVE-2023-38545 (https://github.com/NixOS/nixpkgs/pull/260381 )
2023-10-17 21:10:37 +02:00
Jonas Nick
3e82a56a3b
Merge fort-nix/nix-bitcoin#652 : rtl: 0.14.0 -> 0.14.1
...
b63798ff46
rtl: 0.14.0 -> 0.14.1 (Erik Arvstedt)
c14ebd230c
clighting-rest: 0.10.5 -> 0.10.7 (Erik Arvstedt)
Pull request description:
ACKs for top commit:
jonasnick:
ACK b63798ff46
Tree-SHA512: e5f8abcbf1f087d58a6e9df790b8a97bf3543736e8e832d0911172cf357fa158e178ec4bdd3374e82163434ba6c8e030643332b94a1cfa3346e4396cf2a22ac8
2023-10-09 08:03:01 +00:00
Jonas Nick
749901b923
Merge fort-nix/nix-bitcoin#653 : Revert "clightning: don't cleanup socket on startup"
...
fc1466e743
Revert "clightning: don't cleanup socket on startup" (Erik Arvstedt)
Pull request description:
ACKs for top commit:
jonasnick:
ACK fc1466e743
Tree-SHA512: e4139ef9163fe371964cb8ab668f70dc414ecc5169e3d5d7a0637ef61493d51f1416d878abd21b28d5763e089e00ff10a2e8f30103b488871470ad31dd387025
2023-10-09 07:59:33 +00:00
Jonas Nick
aa169f4653
Merge fort-nix/nix-bitcoin#651 : treewide: ensure services are started after secrets setup
...
90ce68cb16
treewide: ensure services are started after secrets setup (Erik Arvstedt)
Pull request description:
ACKs for top commit:
jonasnick:
ACK 90ce68cb16
Tree-SHA512: b0872c757235b0c66b714bbb82a2b960af040f8a8171d08ace2b4e7515613e67aa9ab56db9a8acf3f9c45ab774cb0a4583e87d4e00279a6c813102f91908c165
2023-10-09 07:45:10 +00:00
Erik Arvstedt
fc1466e743
Revert "clightning: don't cleanup socket on startup"
...
Also, add a detailed comment.
Without this commit, clightning client services may fail to start
due to clightning RPC connection failures.
2023-10-08 21:39:46 +02:00
Erik Arvstedt
b63798ff46
rtl: 0.14.0 -> 0.14.1
2023-10-08 20:42:33 +02:00
Erik Arvstedt
c14ebd230c
clighting-rest: 0.10.5 -> 0.10.7
2023-10-08 20:42:33 +02:00
Erik Arvstedt
90ce68cb16
treewide: ensure services are started after secrets setup
...
Now all services that access secrets only run after the secrets setup
has finished.
Previously, we assumed that the systemd `after` dependency is
transitive, i.e. that adding an `after = [ "bitcoind.service" ]`
to a service implicitly pulled in the `after` dependency to
`nix-bitcoin-secrets.target` (which is defined for `bitcoind`).
This is not the case. Services could start before secrets setup
had finished, leading to service failure.
2023-10-08 13:56:56 +02:00
Jonas Nick
29a32ac53b
Merge fort-nix/nix-bitcoin#648 : bitcoin: add shell completions
...
26cc9e4b60
bitcoin: add shell completions (Erik Arvstedt)
Pull request description:
ACKs for top commit:
0xB10C:
Code Review ACK 26cc9e4b60
Tree-SHA512: 78e38c1045d445553d2a84bd51521e17ee216bc98d93b4786658b770b5df464d744e99f0b9af110fb909e31dd7e8bde9ef2f0f33b1cf4d3465710849a9572be8
2023-10-02 09:09:14 +00:00
Jonas Nick
9f28720e45
Merge fort-nix/nix-bitcoin#650 : Update install.md
...
d9f5c41025
Update install.md (bavarianledger)
358a0a0d99
Update install.md (bavarianledger)
Pull request description:
ACKs for top commit:
jonasnick:
ACK d9f5c41025
Tree-SHA512: 6208ea91cb5983a98ad5082a89f0a16384c490f294cb3268bc2bc15adfcf044209dcb41e8a5bf11980f8a5fc125679ba06ceb0e0e5359829d1390a2bed1878d9
2023-09-29 06:34:43 +00:00
bavarianledger
d9f5c41025
Update install.md
...
Updated to NixOS 23.05 (built 3701)
2023-09-24 11:00:03 +02:00
bavarianledger
358a0a0d99
Update install.md
...
Fixed mix of x86_64 and i686 architectures.
2023-09-24 08:35:28 +02:00
Erik Arvstedt
26cc9e4b60
bitcoin: add shell completions
...
Backport of https://github.com/NixOS/nixpkgs/pull/256091
2023-09-19 14:19:38 +02:00
Jonas Nick
eaea0f120d
Merge fort-nix/nix-bitcoin#644 : update nixpkgs:
...
c1b370aaa6
update nixpkgs (Jonas Nick)
Pull request description:
ACKs for top commit:
erikarvstedt:
ACK c1b370aaa6
Tree-SHA512: a8b0c2d9a54286a899950172e62a6c6a84b5d255a0dee5227d6c39d969080a2c42e5999da26a1b00651937f36caf23fce9396eb8d9f6f8dabd368d6d90aa28e6
2023-09-16 14:31:42 +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
Jonas Nick
19b997fde7
Merge fort-nix/nix-bitcoin#643 : clboss: 0.13A -> 0.13
...
b6df5cb130
clboss: 0.13A -> 0.13 (Erik Arvstedt)
Pull request description:
ACKs for top commit:
jonasnick:
ACK b6df5cb130
Tree-SHA512: c25352fca2a47de3e0b69637dd137bd6d127a99b5a7a138cdd011a243be2bd9e97bfd64a941894734f6c6e779e03db1b34696bfa66bfe59eb3155a6eeda5c90f
2023-09-11 08:29:21 +00:00
Erik Arvstedt
b6df5cb130
clboss: 0.13A -> 0.13
2023-09-09 14:35:35 +02:00
Jonas Nick
8db4a1ece5
Merge fort-nix/nix-bitcoin#641 : Update recommended disk space hardware.md
...
73333d5e8f
Update recommended disk space hardware.md (bakerb15)
Pull request description:
ACKs for top commit:
jonasnick:
ACK 73333d5e8f
Tree-SHA512: 9c339ab2d4f50ba5d6a05e90719da94c4f72aca0087f5f3ea6a4c131b7d27c5bbc31e06ee78457237456fa57dc25a3d4d6c730b90ce0853331c3d611c6eebe8d
2023-09-05 19:44:04 +00:00
bakerb15
73333d5e8f
Update recommended disk space hardware.md
2023-09-05 12:53:12 -04:00
Jonas Nick
d5d3f064e6
Merge fort-nix/nix-bitcoin#640 : pkgs/bitcoind: use pkgs
instead of pkgsUnstable
...
ff30af6ed3
pkgs/bitcoind: use `pkgs` instead of `pkgsUnstable` (Erik Arvstedt)
Pull request description:
ACKs for top commit:
jonasnick:
ACK ff30af6ed3
Tree-SHA512: 756267aedbb166e315daaeab6c0dd3869df2ff57e076fb67cc55e4242a76b201eae4ff0512950280b4298438dc655ed5e8d22588722e4235b05baa7f4e59237a
2023-09-04 19:34:31 +00:00
Jonas Nick
b98c0292cd
Merge fort-nix/nix-bitcoin#637 : Misc. improvements
...
27e52fc565
dev-scenarios: fix comment (Erik Arvstedt)
7dcf307925
flake-info-sandboxed: clarify that sandbox is offline (Erik Arvstedt)
c22365d4a2
minimal-vm.nix: improve login text (Erik Arvstedt)
32ce2b567c
examples/README: make relative location of configuration.nix explicit (Erik Arvstedt)
8303a65f0c
configuration.nix: add nodeinfo (Erik Arvstedt)
073161b044
secrets: add comment (Erik Arvstedt)
Pull request description:
ACKs for top commit:
jonasnick:
ACK 27e52fc565
Tree-SHA512: a5015183db39fb1b32af08e187029db049f53e7df8ec00d8c3ee4393b20f1318e99cd4696ecd48ecacdfefca0f1200df5602ec14f7123291ac983ae382cac41d
2023-09-04 19:23:49 +00:00
Jonas Nick
d85e7108d1
Merge fort-nix/nix-bitcoin#638 : Minor clightning fixes
...
e253b89858
clightning: depend on actual bitcoind package (Erik Arvstedt)
b85aac9ba1
clightning: don't cleanup socket on startup (Erik Arvstedt)
Pull request description:
ACKs for top commit:
jonasnick:
ACK e253b89858
Tree-SHA512: 483b1208ff3c7409fddb2cce10f6285cdc7cd17e48742755bcf1b0c8668e4a343acc70f1efcccd3a3d32d172306dfbf0febb31972db636a64e16ed364adbf5ce
2023-09-04 19:18:21 +00:00
Jonas Nick
13a264105e
Merge fort-nix/nix-bitcoin#636 : docs/install: don't enter examples shell while creating node config
...
329fbac404
docs/install: don't enter examples shell while creating node config (Erik Arvstedt)
Pull request description:
ACKs for top commit:
jonasnick:
ACK 329fbac404
Tree-SHA512: 220f97b8d57207da516003576eb7710a9040c05dfac147492181dc4b5cf673713ed91383574ecba4c66a294d8f52e48fb59916ecc930ed8233da23e6136fba60
2023-09-04 19:12:05 +00:00
Erik Arvstedt
ff30af6ed3
pkgs/bitcoind: use pkgs
instead of pkgsUnstable
...
All deps required by `bitcoind` are available in `pkgs`.
2023-09-01 01:12:34 +02:00
Erik Arvstedt
27e52fc565
dev-scenarios: fix comment
2023-08-20 10:54:46 +02:00
Erik Arvstedt
7dcf307925
flake-info-sandboxed: clarify that sandbox is offline
2023-08-20 10:54:46 +02:00
Erik Arvstedt
c22365d4a2
minimal-vm.nix: improve login text
...
- Add `bitcoin-cli` cmd
- Remove leading dashes to for easier copying and pasting
2023-08-20 10:54:45 +02:00
Erik Arvstedt
32ce2b567c
examples/README: make relative location of configuration.nix explicit
2023-08-20 10:54:45 +02:00
Erik Arvstedt
8303a65f0c
configuration.nix: add nodeinfo
2023-08-20 10:54:45 +02:00
Erik Arvstedt
073161b044
secrets: add comment
2023-08-20 10:54:45 +02:00
Erik Arvstedt
e253b89858
clightning: depend on actual bitcoind package
2023-08-20 10:52:50 +02:00
Erik Arvstedt
b85aac9ba1
clightning: don't cleanup socket on startup
...
This is now taken care of by clightning itself.
2023-08-19 12:24:31 +02:00
Erik Arvstedt
329fbac404
docs/install: don't enter examples shell while creating node config
...
1. This simplifies the setup
2. Fixes a bug where a user skipped step 4.6 (run `nix-shell`) which
he deemed superfluous because a Nix shell was already active.
This caused an error during deployment.
2023-08-18 16:28:15 +02:00
Jonas Nick
70bfb03e88
Merge fort-nix/nix-bitcoin#635 : update nixpkgs
...
7ec5830169
update nixpkgs (Erik Arvstedt)
Pull request description:
ACKs for top commit:
jonasnick:
ACK 7ec5830169
Tree-SHA512: 768fa5751ecfdb3dad1b5c12911d313e265d27ecb8a5522addfa0a3c1bd326d96e85a03ce4203aac6f5947ddf47a0b71ffacb8071f62bb8c5fa5981e14acbbce
2023-08-18 12:53:35 +00:00
Erik Arvstedt
7ec5830169
update nixpkgs
...
btcpayserver: 1.10.3 -> 1.11.2
2023-08-18 13:36:19 +02:00
Jonas Nick
9d9925621a
Merge fort-nix/nix-bitcoin#621 : Trustedcoin fixes
...
4e8369705d
dev: add trustedcoin (Erik Arvstedt)
ac59f93e63
trustedcoin: add regtest support, reenable test (Erik Arvstedt)
aa418869b3
tests/trustedcoin: extract fn (Erik Arvstedt)
6de5029c49
tests/trustedcoin: refactor (Erik Arvstedt)
53ea447ab7
trustedcoin: add option `tor.proxy` (Erik Arvstedt)
31b76f1ffe
clightning: add option `useBcliPlugin` (Erik Arvstedt)
f3e9c644e3
clightning-plugins/trustedcoin: improve docs (Erik Arvstedt)
7640c69d79
tests/clightning-plugins: enable active plugin test for `trustedcoin` (Erik Arvstedt)
57455eb897
tests/clightning-plugins: set actual `clboss` pkg path (Erik Arvstedt)
dca6813d6b
tests/clightning-plugins: extract variable (Erik Arvstedt)
858ab1cfd6
clightning: revert whitespace changes (Erik Arvstedt)
Pull request description:
ACKs for top commit:
jonasnick:
ACK 4e8369705d
Tree-SHA512: 4abf6f2e6ba51b39351f8c2ef97c6afc7c2e686da41b7a6bb4a8d6e89bc9f829ca53109efb800d7b26d360319271bcc8beafc5ddfe133668cf412790d645682b
2023-08-05 20:09:31 +00:00
Erik Arvstedt
4e8369705d
dev: add trustedcoin
2023-08-03 18:40:13 +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
53ea447ab7
trustedcoin: add option tor.proxy
...
By disabling `trustedcoin.tor.proxy` and enabling `clightning.tor.proxy`,
`trustedcoin` can be used without Tor proxying, while clighting still
uses Tor for lightning layer connections.
Previously, disabling Tor for `trustedcoin` required to also disable
Tor for clightning.
Also fix the workaround in the docs for the trustedcoin Tor connection issues:
The previous config snippet only affected systemd hardening settings,
but didn't disable Tor for trustedcoin.
2023-08-03 18:40:12 +02:00
Erik Arvstedt
31b76f1ffe
clightning: add option useBcliPlugin
...
This decouples modules `clightning` and `trustedcoin`.
`clightning` no longer depends on `trustedcoin`, which restores
the acyclic dependency graph described in `modules.nix`
2023-08-03 18:40:12 +02:00
Erik Arvstedt
f3e9c644e3
clightning-plugins/trustedcoin: improve docs
2023-08-03 17:14:40 +02:00
Erik Arvstedt
7640c69d79
tests/clightning-plugins: enable active plugin test for trustedcoin
2023-08-03 01:20:05 +02:00