8000 Reporter API by martinkersner · Pull Request #432 · Bisonai/orakl · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Reporter API #432

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

Merged
merged 40 commits into from
Mar 23, 2023
Merged

Reporter API #432

merged 40 commits into from
Mar 23, 2023

Conversation

martinkersner
Copy link
Member
@martinkersner martinkersner commented Mar 22, 2023

Description

This PR defines Reporter and its settings. It integrates with the Orakl Network API, Orakl Network CLI, Orakl Network Data Feed Worker and Orakl Data Feed Reporter.

Orakl Network Data Feed Reporter (later applied to all reporter) can be now controlled by the Orakl Network CLI through Orakl Network Reporter Watchman. Reporters can be now listed, inserted, removed, activated, deactivated, and refreshed. Activation, Deactivation and Refresh affects running Orakl Network Reporter to which the Orakl Network CLI is connected.

Orakl Network Data Feed Worker now also access the appropriate reporter address for a specific oracle address. Currently, the fetch is not cached and always calls directly /reporter/oracle-address/${oracleAddress} endpoint.

Orakl Network CLI

reporter list   [--chain ${chain}] [--service ${service}]
reporter insert  --chain ${chain}   --service ${service} --address ${address} --privateKey ${privateKey} --oracleAddress ${oracleAddress}
reporter remove  --id ${id}
reporter active --host ${host} --port ${port}
reporter activate --host ${host} --port ${port} --id ${id}
reporter deactivate --host ${host} --port ${port} --id ${id}
reporter refresh --host ${host} --port ${port}

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

Checklist before requesting a review

  • I have performed a self-review of my code.

Deployment

  • Should publish npm package
  • Should publish Docker image

@martinkersner martinkersner linked an issue Mar 22, 2023 that may be closed by this pull request
@martinkersner martinkersner force-pushed the i-431/feat/orakl-network-api-reporter branch from 289299d to 2c80856 Compare March 23, 2023 02:14
@martinkersner martinkersner marked this pull request as ready for review March 23, 2023 07:14
@martinkersner martinkersner merged commit 35c4fc1 into master Mar 23, 2023
@martinkersner martinkersner deleted the i-431/feat/orakl-network-api-reporter branch March 23, 2023 08:46
@martinkersner martinkersner self-assigned this Apr 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add reporter table to Orakl Network API
1 participant
0