Skip to content
This repository has been archived by the owner on Jun 12, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1807 from mbthiery/add-default-hotspot-denylist
Browse files Browse the repository at this point in the history
Provide default in code for hotspot denylist
  • Loading branch information
Vagabond authored Oct 12, 2022
2 parents 739ed7d + 4fefff7 commit 7465f71
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
1 change: 1 addition & 0 deletions config/sys.config
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@
]},
{miner,
[
%% Change these variables to override the default denylist values.
{denylist_keys, ["1SbEYKju337P6aYsRd9DT2k4qgK5ZK62kXbSvnJgqeaxK3hqQrYURZjL"]},
{denylist_type, github_release},
{denylist_url, "https://api.github.com/repos/helium/denylist/releases/latest"},
Expand Down
13 changes: 12 additions & 1 deletion src/miner.app.src
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,18 @@
grpc_client
]},
{included_applications, [blockchain, sibyl]},
{env,[]},
{env,
[
%% This section provides a default denylist configuration. Load custom denylist configuration by overriding values in sys.config.src
{miner,
[
{denylist_keys, ["1SbEYKju337P6aYsRd9DT2k4qgK5ZK62kXbSvnJgqeaxK3hqQrYURZjL"]},
{denylist_type, github_release},
{denylist_url, "https://api.github.com/repos/helium/denylist/releases/latest"}
]
}
]
},
{modules, []},

{maintainers, ["Helium"]},
Expand Down

0 comments on commit 7465f71

Please sign in to comment.