Commit Graph

1960 Commits

Author SHA1 Message Date
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
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
858ab1cfd6
clightning: revert whitespace changes 2023-08-03 01:20:04 +02:00
Jonas Nick
2e53fd2e51
Merge fort-nix/nix-bitcoin#631: rtl: fix lnd, lightning-loop connection errors
14ca8b461b rtl: fix lnd, lightning-loop connection errors (Erik Arvstedt)

Pull request description:

ACKs for top commit:
  jonasnick:
    ACK 14ca8b461b

Tree-SHA512: 9e82da82c0964c5f24fda1276b2dc27f1d4c57e040bf755568905225e6e3ad00a810a9c99c21041acbae10bbaf030f06aaaa715170e8a754025cf358f5ba1535
2023-07-29 20:41:46 +00:00
Jonas Nick
369ce1c60c
Merge fort-nix/nix-bitcoin#629: update nixpkgs
aca0b1e6ec update nixpkgs (Jonas Nick)

Pull request description:

ACKs for top commit:
  erikarvstedt:
    ACK aca0b1e6ec

Tree-SHA512: de44d8ad85665d0e0a7d79ed06bdc70cd3c831d06f58d237bd75b50a14c2cc02f7c1252350962884ef8bb9b35fccf1ecabedf883a516d6c054938381b0998d9a
2023-07-29 19:22:14 +00: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
Jonas Nick
aca0b1e6ec
update nixpkgs
btcpayserver: 1.10.2 -> 1.10.3

Also, don't override boost provided to the bitcoin package, same as in the
nixpkgs.
2023-07-29 14:13:08 +00:00
Jonas Nick
d8954ec8dd
Merge fort-nix/nix-bitcoin#627: Fix clightning prometheus plugin msat purge error
8157cd4fe3 fix prometheus msat purge error (Haos Games)

Pull request description:

ACKs for top commit:
  erikarvstedt:
    ACK 8157cd4fe3

Tree-SHA512: 0e4634106d15762aeb1ed86d2e5d59d018bf3b36a14c15dd126d5e9987cd3c3b8c937bdb02d6795ec77985a88cb5f30f70b613d92d30e057fea5db894098d459
2023-07-24 08:47:41 +00:00
Haos Games
8157cd4fe3 fix prometheus msat purge error 2023-07-23 19:45:19 +02:00
Jonas Nick
6eaddd970a
Merge fort-nix/nix-bitcoin#617: Update to NixOS 23.05
e658209d56 run-tests.sh: fix building tests for Nix ≥ 2.15 (Erik Arvstedt)
bb2e88cec2 fix python packages for nixos 23.05 (Erik Arvstedt)
e31cc686f2 run-tests: make compatible with new shellcheck version (Erik Arvstedt)
76dc7b92e1 examples/deploy-container.sh: add extra-container version check (Erik Arvstedt)
6c2d1108a4 update the required extra-container version for nixos 23.05 (Erik Arvstedt)
e2cce7daa8 update to nixos 23.05 (Erik Arvstedt)
55c64d8dff update nixpkgs (Erik Arvstedt)
bd77b89fea rtl, clightning-rest: update to nodejs 18 (Erik Arvstedt)

Pull request description:

ACKs for top commit:
  jonasnick:
    ACK e658209d56

Tree-SHA512: 5814f56e469ad384dfb81bc11f9ac256a35cd2647e7fd997b14f84927448fbb880b0b1cee3bdf5a2b926760b74aab291e901e67a0759d43ffaf705ff6b741b97
2023-07-19 17:37:08 +00:00
Erik Arvstedt
e658209d56
run-tests.sh: fix building tests for Nix ≥ 2.15 2023-07-19 17:22:01 +02:00