Skip to content
Permalink
Browse files

rest_prefix removed.

  • Loading branch information...
jbgi committed Sep 11, 2019
1 parent 841f877 commit 7b3706102683a281477131426e8c85699186b973
Showing with 2 additions and 6 deletions.
  1. +0 −1 README.md
  2. +2 −3 default.nix
  3. +0 −2 nix/make-config.nix
@@ -92,7 +92,6 @@ that way jormungandr logs will be sent to iohk testnet log server and will be in
| `--arg kes_update_speed` | `43200` (12 hours) | The speed to update the KES Key in seconds |
| `--argstr storage` | `./storage` | path to the storage. |
| `--argstr rest_listen` | `127.0.0.1:8443` | listen address of the rest endpoint |
| `--argstr rest_prefix` | `api` | rest api prefix |
| `--arg logger_level` | `info` | logger level: "off", "critical", "error", "warn", "info", "debug", "trace".
| `--argstr logger_format` | `plain` | log output format - `plain` or `json`. |
| `--argstr logger_output` | `stderr` | log output - `stderr`, `gelf` (graylog), `syslog` (unix only) or `journald` |
@@ -24,7 +24,6 @@ with import ./lib.nix; with lib;
# Same for make-config.nix
, storage ? "./storage"
, rest_listen ? "127.0.0.1:8443"
, rest_prefix ? "api"
, logger_level ? null
, logger_format ? null
, logger_output ? null
@@ -40,7 +39,7 @@ let

numberOfFaucets = builtins.length faucetAmounts;

httpHost = "http://${rest_listen}/${rest_prefix}";
httpHost = "http://${rest_listen}/api";

genesisGeneratedArgs = {
inherit block0_consensus slot_duration linear_fees_constant linear_fees_certificate linear_fees_coefficient;
@@ -60,7 +59,7 @@ let
archiveFileName = baseDirName + "-config.zip";

configGeneratedArgs = {
inherit topics_of_interest rest_listen rest_prefix storage;
inherit topics_of_interest rest_listen storage;
logs_id = if (logs_id == null) then "LOGS_ID" else logs_id;
};
configJson = pkgs.callPackage ./nix/make-config.nix (configGeneratedArgs // args);
@@ -2,7 +2,6 @@
, storage
, topics_of_interest
, rest_listen
, rest_prefix
, logger_level ? "info"
, logger_format ? "plain"
, logger_output ? "stderr"
@@ -28,7 +27,6 @@ with lib; builtins.toJSON {
};
rest = {
listen = rest_listen;
prefix = rest_prefix;
};
p2p = {
public_address = public_address;

0 comments on commit 7b37061

Please sign in to comment.
You can’t perform that action at this time.