Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make validator URL configurable #438

Closed
futurechimp opened this issue Nov 11, 2020 · 0 comments · Fixed by #439
Closed

Make validator URL configurable #438

futurechimp opened this issue Nov 11, 2020 · 0 comments · Fixed by #439
Assignees

Comments

@futurechimp
Copy link
Contributor

The explorer should have a configurable validator URL:

pub async fn renew_periodically() -> Result<(), Error> {
    let topology_json =
        reqwest::get("http://qa-validator.nymtech.net:8081/api/mixmining/fullreport")
            .await?
            .text()
            .await?;
    file::save(topology_json, "public/downloads/mixmining.json");
    Ok(())
}
@futurechimp futurechimp created this issue from a note in Core systems (Backlog) Nov 11, 2020
@jstuczyn jstuczyn self-assigned this Nov 12, 2020
Core systems automation moved this from Backlog to Done Nov 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Core systems
  
Done
Development

Successfully merging a pull request may close this issue.

2 participants