Commit Graph

1690 Commits

Author SHA1 Message Date
Erik Arvstedt
20c0194ade
readme: add hint about github table of contents button 2022-05-06 16:26:40 +02:00
Erik Arvstedt
e2fee4bf1a
lnd-rest-onion-service.nix: move to lndconnect-onion.nix, add clightning support
Option `services.lnd.restOnionService.package` has been removed.
There's not much use in overriding the [lndconnect pkg](https://github.com/LN-Zap/lndconnect).
2022-05-06 16:26:40 +02:00
Erik Arvstedt
acf5fe69ad
add standalone clightning-rest service
- Rename `services.rtl.cl-rest` to `services.clightning-rest`.
  `clightning-rest` is generally useful for connecting external REST clients
  to clightning.

- Add a dedicated network namespace in netns-isolation.

- Add nodeinfo entry.

- Add datadir (which contains REST auth data) to backups.
2022-05-06 16:26:40 +02:00
Erik Arvstedt
c30aa33c15
cl-rest: rename pkg to clightning-rest 2022-05-06 16:24:59 +02:00
Jonas Nick
e31e5788b2
Merge fort-nix/nix-bitcoin#478: Update nixpkgs
f234e59ca5 nbPython3Packages: fix clightning pkgs (Erik Arvstedt)
6bdf0ac3fb update nixpkgs{,-unstable} (Jonas Nick)
900836fe0d joinmarket: add private python package set (Erik Arvstedt)
ca834cce84 joinmarket: simplify pkgs (Erik Arvstedt)
43ee7668ab joinmarket: explicitly create no descriptor wallet (Jonas Nick)
408486ac9c tests: update nbxplorer (Erik Arvstedt)
aa21fb454e tests: disable `btcpayserver.lbtc` for regtest (Erik Arvstedt)
7de56b019f nbxplorer: use postgresql (Erik Arvstedt)
29d2ffc111 defaultHardening: allow `clone3` system call (Erik Arvstedt)

Pull request description:

ACKs for top commit:
  erikarvstedt:
    ACK f234e59ca5

Tree-SHA512: 1d3e76f096746eadb4596fb87dfd654cd3c85c88bb437eb5ed601ff8513e5272b6f1266bba64e5bfe9147ff2530ab3bc421c7c2659e793e6dbe12fdf4451310a
2022-05-06 14:13:29 +00:00
Erik Arvstedt
f234e59ca5
nbPython3Packages: fix clightning pkgs
Also enable tests for the pyln-* pkgs.
2022-05-06 13:36:06 +00:00
Jonas Nick
6bdf0ac3fb
update nixpkgs{,-unstable}
This commit does not pass the tests. Fixup is in the next commit.

bitcoin: 22.0 -> 23.0
bitcoind: 22.0 -> 23.0
btcpayserver: 1.4.7 -> 1.5.1
clightning: 0.10.2 -> 0.11.0.1
electrs: 0.9.6 -> 0.9.7
hwi: 2.0.2 -> 2.1.0
lightning-loop: 0.17.0-beta -> 0.18.0-beta
lnd: 0.14.2-beta -> 0.14.3-beta
nbxplorer: 2.2.20 -> 2.3.20
2022-05-06 13:35:32 +00:00
Erik Arvstedt
900836fe0d
joinmarket: add private python package set
This is a nonfunctional refactoring commit.

It's needed because pkg `pyln-proto`, which is introduced in the next commit,
requires a different, incompatible version of `cryptography`, which
must be placed in a different python package set.
2022-05-06 13:35:32 +00:00
Erik Arvstedt
ca834cce84
joinmarket: simplify pkgs
Remove unused dependencies.
2022-05-06 13:35:32 +00:00
Jonas Nick
43ee7668ab
joinmarket: explicitly create no descriptor wallet
The default value of `descriptors` has changed from `false` to `true` in
Bitcoin Core 23.0.
2022-05-06 13:35:28 +00:00
Erik Arvstedt
408486ac9c
tests: update nbxplorer 2022-05-06 13:35:28 +00:00
Erik Arvstedt
aa21fb454e
tests: disable btcpayserver.lbtc for regtest
Previously, in case of btcpayserver.lbtc on regtest, nbxplorer just
printed a log error while trying to generate liquidd regtest blocks.
Now nbxplorer exits with an error, so disable lbtc.
2022-05-06 13:35:27 +00:00
Erik Arvstedt
7de56b019f
nbxplorer: use postgresql
The former DBTrie backend has been deprecated.
2022-05-06 13:35:27 +00:00
Erik Arvstedt
29d2ffc111
defaultHardening: allow clone3 system call
clone3 is the latest version of the clone system call, which is already
allowed.
clone3 is required by nbxplorer 2.3.20.
2022-05-06 13:35:23 +00:00
Jonas Nick
11116243ec
Merge fort-nix/nix-bitcoin#479: clboss: fix clboss being enabled by default
66b19403a6 clboss: fix clboss being enabled by default (Erik Arvstedt)

Pull request description:

ACKs for top commit:
  jonasnick:
    ACK 66b19403a6

Tree-SHA512: ef2e173c42d2b791818fc7378da395b36dec69416334110f2f77bb06318140e08f620e2bd330078f1202f6de0c29b4af07d58de3042eec27a7bd8417ee1e5a51
2022-05-05 21:46:16 +00:00
Erik Arvstedt
66b19403a6
clboss: fix clboss being enabled by default 2022-05-05 16:58:16 +02:00
Jonas Nick
41979320cd
Merge fort-nix/nix-bitcoin#475: clboss: 0.11E -> 0.12
dd2dcad3dc clboss: 0.11E -> 0.12 (Erik Arvstedt)

Pull request description:

ACKs for top commit:
  jonasnick:
    ACK dd2dcad3dc

Tree-SHA512: 17f5b5cc1f7d54ac278ba49d627f7f3ece1e60d5fcf393b1b673c2f842c85d339df8d2e69b67576953be314e94b1ad7b6d3005521e064383744aad9bf860c0a8
2022-05-02 11:37:25 +00:00
Erik Arvstedt
dd2dcad3dc
clboss: 0.11E -> 0.12 2022-04-30 13:08:50 +02:00
Jonas Nick
77aa0ec575
Merge fort-nix/nix-bitcoin#473: Update clboss
f08b83bce2 clboss: update module (Erik Arvstedt)
3b4cf665e8 clboss: 0.11B -> 0.11E (Erik Arvstedt)

Pull request description:

ACKs for top commit:
  jonasnick:
    ACK f08b83bce2

Tree-SHA512: 0890f72120f8f83e11c23b92430fdb59d920f1bc8ad00aedc6789a1c129392cbe8935a93a686d2cc5a6f74bd72f65f07034c8386574d3e95c51e5bde4c5d352d
2022-04-26 11:59:10 +00:00
Erik Arvstedt
f08b83bce2
clboss: update module 2022-04-26 12:04:32 +02:00
Erik Arvstedt
3b4cf665e8
clboss: 0.11B -> 0.11E 2022-04-26 11:34:05 +02:00
Jonas Nick
06d4a22902
Merge fort-nix/nix-bitcoin#469: lnd: Use lndinit for wallet creation
a4a5c72b01 lnd: use `lndinit` for wallet creation (Erik Arvstedt)
e793a3470c lndinit: init at 0.1.3-beta (Erik Arvstedt)

Pull request description:

ACKs for top commit:
  nixbitcoin:
    ACK a4a5c72b01
  jonasnick:
    utACK a4a5c72b01

Tree-SHA512: 5295c1014a5b7bed4b7347b2d671fd877fd719323ea5156bd3bcff6ec94004949f22a9d0698fcc1de925855d36d81d9ea0148dbf0c079ab77e5437a9f53b2bb8
2022-04-11 04:33:16 +00:00
Jonas Nick
26bba2c5ca
Merge fort-nix/nix-bitcoin#471: update nixpkgs{,-unstable}
d394a079a8 update nixpkgs{,-unstable} (Jonas Nick)

Pull request description:

ACKs for top commit:
  erikarvstedt:
    ACK d394a079a8

Tree-SHA512: a5f800cd04ba8ad477b439891d1817045b9a004d34f29b86952743f2a0df6dbb40a2ed45869bd9914398b482cfee7a0568b4f8e931a8f1daa842fc6314e8660d
2022-04-04 19:26:28 +00:00
Jonas Nick
d394a079a8
update nixpkgs{,-unstable} 2022-04-04 17:17:31 +00:00
Erik Arvstedt
a4a5c72b01
lnd: use lndinit for wallet creation 2022-04-04 13:59:36 +02:00
Erik Arvstedt
e793a3470c
lndinit: init at 0.1.3-beta 2022-04-04 13:59:36 +02:00
Jonas Nick
54f8f2d240
Merge fort-nix/nix-bitcoin#468: joinmarket: 0.9.4 -> 0.9.5
4f74690292 joinmarket: 0.9.4 -> 0.9.5 (nixbitcoin)

Pull request description:

ACKs for top commit:
  erikarvstedt:
    ACK 4f74690292

Tree-SHA512: 69bb194682d57ec0f1852c13d89d86c479459d32860106746b7bcbf26de7f4d94bf01a6d2852884e02cba5ebd53569f1beb96410c6de12355ec2739a05925998
2022-04-03 23:53:13 +00:00
Jonas Nick
16e65d2fc5
Merge fort-nix/nix-bitcoin#467: cl-rest: 0.6.1 -> 0.7.0
77b34954ef cl-rest: 0.6.1 -> 0.7.0 (Erik Arvstedt)

Pull request description:

ACKs for top commit:
  nixbitcoin:
    ACK 77b34954ef

Tree-SHA512: 2e4b49b4e302b82fe0a3223cdff424730e521dfc69eeea1c5fb162700fa7fca5513484280444b99a603437a5cb39ed888e013fa86bea290b47cfd4e50930604d
2022-04-03 23:50:42 +00:00
Jonas Nick
05b8c632f4
Merge fort-nix/nix-bitcoin#457: Add nix-bitcoin security fund information
bdccaa3edd Add SECURITY.md (nixbitcoin)

Pull request description:

ACKs for top commit:
  erikarvstedt:
    ACK bdccaa3edd
  jonasnick:
    ACK bdccaa3edd

Tree-SHA512: dfcc21a72b9fcc012efa9d4c39cf3ab837287a57364365d1378c6be2f9cff67b04cbb70e45a4eed27c2f1962f53e6b7be947588dda6d051caad81a8096a7ffd0
2022-03-30 12:51:38 +00:00
nixbitcoin
bdccaa3edd
Add SECURITY.md
Including nix-bitcoin security fund information
2022-03-30 12:36:45 +00:00
nixbitcoin
4f74690292
joinmarket: 0.9.4 -> 0.9.5
Notes
- We can no longer test for `unknown error in JSON-RPC`. `jm-ob-watcher`
  now simply outputs `Starting ob-watcher`. Tested working on
  https://nixbitcoin.org/orderbook.
- Removed Agora IRC server since it is offline semi-permanently. Should
  probably also be removed upstream.
- Includes patch for
  https://github.com/JoinMarket-Org/joinmarket-clientserver/issues/1193
2022-03-30 11:25:45 +00:00
Erik Arvstedt
77b34954ef
cl-rest: 0.6.1 -> 0.7.0 2022-03-29 16:30:47 +02:00
Jonas Nick
2365163f4f
Merge fort-nix/nix-bitcoin#465: update nixpkgs{,-unstable}
118595608d update nixpkgs{,-unstable} (Jonas Nick)

Pull request description:

ACKs for top commit:
  erikarvstedt:
    ACK 118595608d

Tree-SHA512: 555abf698f40fa89d9268b67a7d5b11b985601ab3df8156509b212ebeb88376e0fc7d657b311eb1ebf20af6e43762db62efe3be3e806ab13e1013d951480ad61
2022-03-13 16:17:28 +00:00
Jonas Nick
118595608d
update nixpkgs{,-unstable}
electrs: 0.9.5 -> 0.9.6
2022-03-12 17:14:37 +00:00
Jonas Nick
ac3cee09e9
Merge fort-nix/nix-bitcoin#464: secrets: fix secrets setup warning
91203d8d06 secrets: fix secrets setup warning (Erik Arvstedt)

Pull request description:

ACKs for top commit:
  jonasnick:
    ACK 91203d8d06

Tree-SHA512: 0ae988f04ee5793c1deb38b74142d97319a45a6475db0d2003a133147efe723d4a006c1df453ad102829314bc444637293a2464922ca02822030f7d11f6d9c0c
2022-03-12 16:29:43 +00:00
Erik Arvstedt
91203d8d06
secrets: fix secrets setup warning
With newer nixpkgs versions, a type error was shown instead of the
warning message when `secretsSetupMethod` was unset.
2022-03-11 01:34:47 +01:00
Jonas Nick
16b37a1af3
Merge fort-nix/nix-bitcoin#463: rtl: 0.12.1 -> 0.12.2
4f45266524 rtl: 0.12.1 -> 0.12.2 (nixbitcoin)

Pull request description:

ACKs for top commit:
  erikarvstedt:
    ACK 4f45266524

Tree-SHA512: 449ba7fdf5f0eb9852ff4925d446f19cf41f9b935d451951f6fb40e72f0c5325bc4da194ffcc7a5d2781f81e25943c653e0349e1c8162d2d169e3e9d506fc018
2022-03-10 21:49:35 +00:00
nixbitcoin
4f45266524
rtl: 0.12.1 -> 0.12.2 2022-03-09 12:23:20 +00:00
Jonas Nick
9dab0ae6ba
Merge fort-nix/nix-bitcoin#461: update nixpkgs{,-unstable}
16daaaf79f update nixpkgs{,-unstable} (Jonas Nick)

Pull request description:

ACKs for top commit:
  erikarvstedt:
    ACK 16daaaf79f

Tree-SHA512: 11bd3122870b03556b447e2389a87a69fbbb67d7af978e9a8f6e16d28e7c52e9d41043319fd06f4222a183bc8b71704e7615894f6df79ed91140427e7276607e
2022-03-06 19:49:07 +00:00
Jonas Nick
952a499ef0
Merge fort-nix/nix-bitcoin#460: backups: bring in line with upstream duplicity
5bee663e30 backups: bring in line with upstream duplicity (nixbitcoin)

Pull request description:

ACKs for top commit:
  erikarvstedt:
    ACK 5bee663e30
  jonasnick:
    ACK 5bee663e30

Tree-SHA512: 5dc3e7e0522d5a7039868ed84f6849ff561c194fa5d9c17c217fa22e89b1ed3636eba8c14ed92f91c63ce9199f03411266c602ee8339e773e8f48599f520e208
2022-03-06 14:48:37 +00:00
Jonas Nick
96de7867cf
Merge fort-nix/nix-bitcoin#459: joinmarket: bump secp256k1 to version used upstream
6629e9a66f joinmarket: bump secp256k1 to version used upstream (nixbitcoin)

Pull request description:

ACKs for top commit:
  erikarvstedt:
    ACK 6629e9a66f
  jonasnick:
    ACK 6629e9a66f

Tree-SHA512: f45d46ce42d18e5e0d8cdfa956c975e5421909306d45e62f8d43a40f65ece33dbae5fb5ab2ec5a96fc5e7142314b67f846f5cfcc500bbba531c502a570ef6b68
2022-03-06 14:45:32 +00:00
nixbitcoin
5bee663e30
backups: bring in line with upstream duplicity
Also, tell users that they can set `services.duplicity.*` to further
configure the backup.
2022-03-06 14:31:19 +00:00
nixbitcoin
6629e9a66f
joinmarket: bump secp256k1 to version used upstream
Also incorporate improvements from upstream nixpkgs expression. Except,
`enable-tests` line which is already enabled by default upstream.

Add comment explaining the reason for having a custom secp256k1 pkg in
nix-bitcoin.
2022-03-06 14:28:02 +00:00
Jonas Nick
16daaaf79f
update nixpkgs{,-unstable}
btcpayserver: 1.4.4 -> 1.4.7
elementsd: 0.21.0.1 -> 0.21.0.2
lightning-loop: 0.16.0-beta -> 0.17.0-beta
2022-03-05 21:49:07 +00:00
Jonas Nick
19abacc41c
Merge fort-nix/nix-bitcoin#458: liquidd: add service timeouts like in bitcoind
2493c8c201 liquidd: add service timeouts like in bitcoind (Erik Arvstedt)
59bf0274c0 pkgs: add groups, sort alphabetically (Erik Arvstedt)

Pull request description:

ACKs for top commit:
  nixbitcoin:
    ACK 2493c8c201

Tree-SHA512: 229f57a4093b996d500f95f81992b7f0314596828639179ed57936a4bc5d0f556498bf29e1acd9aabd3cbee97f034ccabd9dad2fde01deddc5e226c6c46c7bb2
2022-03-01 14:21:39 +00:00
Erik Arvstedt
2493c8c201
liquidd: add service timeouts like in bitcoind
Previously, liquidd could fail with error:
liquidd.service: start operation timed out. Terminating.
2022-02-28 14:01:54 +01:00
Erik Arvstedt
59bf0274c0
pkgs: add groups, sort alphabetically 2022-02-28 14:00:23 +01:00
Jonas Nick
2618af74e4
Merge fort-nix/nix-bitcoin#445: clightning-plugins: add commando plugin
ee4cdb0586 pyln-proto: relax pycparser constraint (William Casarin)
2d6c4e829e readme: fix monitor c-lightning plugin link (William Casarin)
0bede274a8 clightning-plugins/commando: add module (Erik Arvstedt)
380ec3bb78 clightning-plugins: add commando (William Casarin)
80312ba9d7 python-packages/sha256: init at 0.1 (William Casarin)
71eccb73d6 python-packages/runes: init at 0.4.0 (William Casarin)
570e271695 clightning-plugins: bump to latest git (William Casarin)

Pull request description:

ACKs for top commit:
  erikarvstedt:
    ACK ee4cdb0586

Tree-SHA512: 2db97ee758f061ce72f8e049299c453cc4e9947d9af55c68745aa15bcd9529cb47defb52366ca216249441fb8e113c3b3b048a5381f41fd1ef80e677dae0fe37
2022-02-27 18:38:18 +00:00
William Casarin
ee4cdb0586 pyln-proto: relax pycparser constraint
This is a bit hostile to different nixpkgs versions

Signed-off-by: William Casarin <jb55@jb55.com>
2022-02-27 08:42:08 -08:00
William Casarin
2d6c4e829e readme: fix monitor c-lightning plugin link 2022-02-24 08:31:57 -08:00