Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Conversation

diminator
Copy link

@diminator diminator commented Oct 22, 2019

Part 2 of 2 that solves celo-org/celo-blockchain#458
Part 1 of 2 is here: celo-org/celo-blockchain#543

Description

  • Authorize nodes using a trusted whitelist
  • Verify signed stats
  • Remove WS_SECRET

celostats_auth

Related issues

Backwards compatibility

  • No more WS_SECRET required to share between stats clients and operators
  • Need to provide a trusted node or update the trusted nodes in the config
TRUSTED_NODE=<ADDRESS ie 0x132435FBD...> npm start

@diminator diminator changed the title Ethstats sends signed stats to operators along with validator node table Ethstats operators authorize trusted nodes and verify signed stats Oct 22, 2019
@diminator
Copy link
Author

We're passing the eNodeTable but do not yet use it to dynamically update the "trusted" list.

- fix graphs: block time, gas spending, gas limit
@diminator diminator force-pushed the diminator/feature-458-ethstats-ops-should-receive-from-validators branch from 9ad3509 to 81c5f6c Compare October 28, 2019 11:25
Copy link

@timmoreton timmoreton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@timmoreton timmoreton assigned diminator and unassigned timmoreton Nov 8, 2019
…validators' of github.com:celo-org/ethstats-server into diminator/feature-458-ethstats-ops-should-receive-from-validators
@diminator diminator merged commit 93a00c8 into celo-org:master Nov 15, 2019
@diminator diminator deleted the diminator/feature-458-ethstats-ops-should-receive-from-validators branch November 15, 2019 11:52
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.

Ethstats operators SBAT receive stats from all elected validators
3 participants