summary refs log tree commit diff
diff options
context:
space:
mode:
author1000101 <b1000101@pm.me>2020-10-29 11:16:31 +0100
committer1000101 <b1000101@pm.me>2020-10-29 11:41:41 +0100
commit4b8611c959408c12a4ceefa53c43c738a22f1ae5 (patch)
treeadcfcf835d140cf70c40ae8e81536b7e25cd1266
parentc0627e5b5ba0bf4f0a80db142c04dc6db8f01bce (diff)
downloadnixpkgs-4b8611c959408c12a4ceefa53c43c738a22f1ae5.tar
nixpkgs-4b8611c959408c12a4ceefa53c43c738a22f1ae5.tar.gz
nixpkgs-4b8611c959408c12a4ceefa53c43c738a22f1ae5.tar.bz2
nixpkgs-4b8611c959408c12a4ceefa53c43c738a22f1ae5.tar.lz
nixpkgs-4b8611c959408c12a4ceefa53c43c738a22f1ae5.tar.xz
nixpkgs-4b8611c959408c12a4ceefa53c43c738a22f1ae5.tar.zst
nixpkgs-4b8611c959408c12a4ceefa53c43c738a22f1ae5.zip
blockbook-frontend: fix&update extraConfig example
-rw-r--r--nixos/modules/services/networking/blockbook-frontend.nix24
1 files changed, 15 insertions, 9 deletions
diff --git a/nixos/modules/services/networking/blockbook-frontend.nix b/nixos/modules/services/networking/blockbook-frontend.nix
index dde24522756..ca323e495ec 100644
--- a/nixos/modules/services/networking/blockbook-frontend.nix
+++ b/nixos/modules/services/networking/blockbook-frontend.nix
@@ -158,15 +158,21 @@ let
         type = types.attrs;
         default = {};
         example = literalExample '' {
-          alternative_estimate_fee = "whatthefee-disabled";
-          alternative_estimate_fee_params = "{\"url\": \"https://whatthefee.io/data.json\", \"periodSeconds\": 60}";
-          fiat_rates = "coingecko";
-          fiat_rates_params = "{\"url\": \"https://api.coingecko.com/api/v3\", \"coin\": \"bitcoin\", \"periodSeconds\": 60}";
-          coin_shortcut = "BTC";
-          coin_label = "Bitcoin";
-          xpub_magic = 76067358;
-          xpub_magic_segwit_p2sh = 77429938;
-          xpub_magic_segwit_native = 78792518;
+          "alternative_estimate_fee" = "whatthefee-disabled";
+          "alternative_estimate_fee_params" = "{\"url\": \"https://whatthefee.io/data.json\", \"periodSeconds\": 60}";
+          "fiat_rates" = "coingecko";
+          "fiat_rates_params" = "{\"url\": \"https://api.coingecko.com/api/v3\", \"coin\": \"bitcoin\", \"periodSeconds\": 60}";
+          "coin_shortcut" = "BTC";
+          "coin_label" = "Bitcoin";
+          "parse" = true;
+          "subversion" = "";
+          "address_format" = "";
+          "xpub_magic" = 76067358;
+          "xpub_magic_segwit_p2sh" = 77429938;
+          "xpub_magic_segwit_native" = 78792518;
+          "mempool_workers" = 8;
+          "mempool_sub_workers" = 2;
+          "block_addresses_to_keep" = 300;
         }'';
         description = ''
           Additional configurations to be appended to <filename>coin.conf</filename>.