nix-bitcoin/modules
Erik Arvstedt b412de3ad7
bitcoind: fix rare startup error
Previously, dhcpcd and bitcoind starting up in parallel could lead to
the following error in bitcoind:
```
bitcoind: libevent: getaddrinfo: address family for nodename not supported
bitcoind: Binding RPC on address 127.0.0.1 port 8332 failed.
bitcoind: Unable to bind any endpoint for
```
After the initial failure, the bitcoind service would always restart successfully.

This race condition, where both applications were simultaneously
manipulating network resources, was only triggered under specific
hardware conditions.

Fix it by running bitcoind after dhcp has started (by running after
`network-online.target`).
This bug and the fix only affect the default NixOS scripted
networking backend.
2022-11-02 12:02:03 +01:00
..
clightning-plugins clightning-plugins: remove commando pkg and module 2022-09-07 08:44:52 +00:00
deployment examples: add krops deployment method 2021-03-15 18:53:07 +01:00
presets Merge fort-nix/nix-bitcoin#504: Add fulcrum module 2022-07-22 13:11:40 +00:00
secrets shellcheck: fix setup-secrets.sh, spark-wallet 2022-09-12 21:00:00 +02:00
backups.nix add standalone clightning-rest service 2022-05-06 16:26:40 +02:00
bitcoind-rpc-public-whitelist.nix bitcoind: add "getdeploymentinfo" to public rpc whitelist 2022-09-07 08:44:52 +00:00
bitcoind.nix bitcoind: fix rare startup error 2022-11-02 12:02:03 +01:00
btcpayserver.nix btcpayserver: use new option certfilepath for lnd 2022-10-24 12:47:01 +02:00
charge-lnd.nix charge-lnd: remove unneeded use of literalExample 2021-12-15 10:58:04 +01:00
clightning-replication.nix clightning-replication: clarify comment about FUSE mounts 2022-08-28 23:49:12 +02:00
clightning-rest.nix services: set systemd list options as list values 2022-05-07 20:37:02 +02:00
clightning.nix clightning: native database replication 2022-08-05 13:48:24 +00:00
electrs.nix services: set systemd list options as list values 2022-05-07 20:37:02 +02:00
fulcrum.nix fulcrum: add module 2022-07-09 11:07:09 +02:00
hardware-wallets.nix minor fixes 2021-12-07 15:35:33 +01:00
joinmarket-ob-watcher.nix joinmarket: 0.9.5 -> 0.9.6 2022-06-03 08:56:35 +00:00
joinmarket.nix shellcheck: prevent globbing and word splitting in unit shell scripts 2022-09-12 21:00:00 +02:00
lightning-loop.nix lightning-loop: add certificate options extraIPs and extraDomains 2022-07-07 16:09:26 +02:00
lightning-pool.nix services: set systemd list options as list values 2022-05-07 20:37:02 +02:00
liquid.nix bitcoind, liquidd: increase TimeoutStartSec 2022-07-05 13:04:18 +02:00
lnd.nix lnd: fix missing RPC permissions when bitcoind is pruned 2022-10-25 22:56:51 +02:00
lndconnect-onion.nix lndconnect-onion: fix for custom operator names 2022-06-02 12:38:33 +02:00
modules.nix clightning: native database replication 2022-08-05 13:48:24 +00:00
netns-isolation.nix Merge fort-nix/nix-bitcoin#504: Add fulcrum module 2022-07-22 13:11:40 +00:00
nix-bitcoin.nix treewide: add defaultText (manual) 2021-12-12 16:18:14 +01:00
nodeinfo.nix fulcrum: add module 2022-07-09 11:07:09 +02:00
obsolete-options.nix clightning-plugins: remove commando pkg and module 2022-09-07 08:44:52 +00:00
onion-addresses.nix shellcheck: prevent globbing and word splitting in unit shell scripts 2022-09-12 21:00:00 +02:00
onion-services.nix onion-services: don't propagate restart of onion-addresses to depending services 2022-08-04 11:48:26 +02:00
operator.nix operator: fix syntax error in description 2022-07-22 17:17:11 +02:00
rtl.nix Merge fort-nix/nix-bitcoin#484: Update RTL 2022-05-25 19:48:42 +00:00
security.nix security: update /proc restriction mechanism 2021-08-14 10:46:41 +02:00
spark-wallet.nix shellcheck: fix setup-secrets.sh, spark-wallet 2022-09-12 21:00:00 +02:00
versioning.nix versioning: improve description wording 2022-07-17 12:46:01 +02:00