From 2dd5e4e8b0699cecb095e2c5a07c2ca3dca9b984 Mon Sep 17 00:00:00 2001 From: Jonas Nick Date: Sat, 26 Jan 2019 17:44:36 +0000 Subject: [PATCH] Disable pruning --- README.md | 4 +++- modules/nix-bitcoin.nix | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 86ed162..db8d191 100644 --- a/README.md +++ b/README.md @@ -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 --- diff --git a/modules/nix-bitcoin.nix b/modules/nix-bitcoin.nix index e0dbc31..b61dbe0 100644 --- a/modules/nix-bitcoin.nix +++ b/modules/nix-bitcoin.nix @@ -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 = [{