Skip to content

Commit

Permalink
fix(hubble): improve reorg handling - register nix options
Browse files Browse the repository at this point in the history
  • Loading branch information
qlp committed Sep 12, 2024
1 parent db4ac33 commit bff6cc6
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions hubble/hubble.nix
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,24 @@
indexers = mkOption {
type = types.listOf (
types.submodule {
options.indexer_id = mkOption {
type = types.nullOr types.str;
description = "Id of the indexer which is used by the internal administration of Hubble. Should never change.";
example = "amazing-testnet";
default = null;
};
options.internal_chain_id = mkOption {
type = types.nullOr types.str;
description = "Hubble internal chain id, used to fetch the current height when migrating to fetchers.";
example = "4";
default = null;
};
options.new_chain_override = mkOption {
type = types.nullOr types.str;
description = "Indicator that this is a new chain, so the current height must not be used when migrating to fetchers.";
example = "false";
default = null;
};
options.label = mkOption { type = types.str; example = "something-custom"; };
options.filter = mkOption {
type = types.nullOr types.str;
Expand Down

0 comments on commit bff6cc6

Please sign in to comment.