Disable pruning

This commit is contained in:
Jonas Nick 2019-01-26 17:44:36 +00:00
parent 61ee3a36f7
commit 2dd5e4e8b0
No known key found for this signature in database
GPG Key ID: 4861DBF262123605
2 changed files with 4 additions and 2 deletions

View File

@ -34,7 +34,9 @@ The easiest way is to run `nix-shell` in the nix-bitcoin directory and then crea
Fix the FIXMEs in configuration.nix and deploy with nixops in nix-shell.
See below for a detailed tutorial.
The "all" profile requires 15 GB of disk space and 2GB of memory.
The profiles require 300 GB (235GB for Bitcoin blockchain + some room) of disk space and 2GB of memory.
Bitcoin Core pruning is not supported at the moment because it's not supported by c-lightning.
It's possible to use pruning but you need to know what you're doing.
Tutorial: install a nix-bitcoin node
---

View File

@ -86,7 +86,7 @@ in {
addnode=ecoc5q34tmbq54wl.onion
discover=0
'';
services.bitcoind.prune = if (cfg.modules == "minimal") then 2000 else 0;
services.bitcoind.prune = 0;
services.bitcoind.dbCache = 1000;
services.tor.hiddenServices.bitcoind = {
map = [{