bitcoind: simplify pruning

Remove the possible null value for bitcoind.prune and set prune = 0 in
bitcoind as a default. Remove prune = 0 in secure-node.nix and the
mkForce in configuration.nix (bitcoind.prune = lib.mkForce ).
This commit is contained in:
nixbitcoin 2020-06-07 11:40:25 +00:00
parent b9a7a71873
commit 0fd99c4cc0
No known key found for this signature in database
GPG key ID: DD11F9AD5308B3BA
3 changed files with 4 additions and 10 deletions

View file

@ -27,8 +27,7 @@
# clightning is compatible with pruning. See
# https://github.com/ElementsProject/lightning/#pruning for more information.
# LND and electrs are not compatible with pruning.
# Note: You can override default settings from secure-node.nix as follows
# services.bitcoind.prune = lib.mkForce 100000;
# services.bitcoind.prune = 100000;
#
# You can add options that are not defined in modules/bitcoind.nix as follows
# services.bitcoind.extraConfig = ''