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

Add denylist to cli and jsonrpc #1742

Merged
merged 2 commits into from
Aug 17, 2022

Conversation

PaulVMo
Copy link
Contributor

@PaulVMo PaulVMo commented Jun 13, 2022

Based on a request from the community, this change adds basic denylist functionality to the cli and jsonrpc endpoint. Supported methods are:

  • denylist status which returns whether a denylist is loaded and if so which version
  • denylist check <address> which returns whether or not the provided hotspot address is on the loaded list; will return true/false only if denylist is loaded and error if the address is not a valid b58 hotspot address

src/cli/miner_cli_denylist.erl Outdated Show resolved Hide resolved
src/cli/miner_cli_denylist.erl Outdated Show resolved Hide resolved
@jeffgrunewald
Copy link
Contributor

Looks good!

@Vagabond Vagabond merged commit 6d7f13f into helium:master Aug 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants