View on GitHub
File Changes
m
+0/-1
| `--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` |
m
+2/-3
# 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

                      
  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;
  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);
, storage
, topics_of_interest
, rest_listen
-
, rest_prefix
, logger_level ? "info"
, logger_format ? "plain"
, logger_output ? "stderr"
  };
  rest = {
    listen = rest_listen;
-
    prefix = rest_prefix;
  };
  p2p = {
    public_address = public_address;