summary refs log tree commit diff
path: root/nixos/modules/services
diff options
context:
space:
mode:
authorBenjamin Hipple <bhipple@protonmail.com>2020-10-29 22:30:07 -0400
committerGitHub <noreply@github.com>2020-10-29 22:30:07 -0400
commite00752079e69e76817f22e4331a77c8f666ece20 (patch)
tree698f7e4e4bf8f3dc2e745525d73882db003f7701 /nixos/modules/services
parent42303209bdf7b1552751deabd438187cf319d1bf (diff)
parent4b8611c959408c12a4ceefa53c43c738a22f1ae5 (diff)
downloadnixpkgs-e00752079e69e76817f22e4331a77c8f666ece20.tar
nixpkgs-e00752079e69e76817f22e4331a77c8f666ece20.tar.gz
nixpkgs-e00752079e69e76817f22e4331a77c8f666ece20.tar.bz2
nixpkgs-e00752079e69e76817f22e4331a77c8f666ece20.tar.lz
nixpkgs-e00752079e69e76817f22e4331a77c8f666ece20.tar.xz
nixpkgs-e00752079e69e76817f22e4331a77c8f666ece20.tar.zst
nixpkgs-e00752079e69e76817f22e4331a77c8f666ece20.zip
Merge pull request #102018 from 1000101/blockbook-frontend
blockbook-frontend: fix&update extraConfig example
Diffstat (limited to 'nixos/modules/services')
-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>.