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

[WIP - DO NOT READ YET][ShannonScan] Foundational changes for Relay Mining & Probabilistic Proofs #35

Open
11 tasks
Olshansk opened this issue Dec 18, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Olshansk
Copy link
Member

Olshansk commented Dec 18, 2024

Objective

A handful of enhancements to set the foundation of getting visibility into onchain services, probabilistic proofs and relay mining in Shannon.

Goals

  • Get visibility into the following in Shannon via ShannonScan
    • Onchain services
    • Relay Distribution
    • Relay Mining
    • Compute Units
    • Probabilistic Proofs
    • Claims & Proofs
  • Set a baseline for critical Pocket related metrics
  • Enable iterating and making more complex improvements down the line
  • Note:
    • Baseline: These stats can most likely be accessed through basic indexing / querying
    • Advanced: This will require more complex ETL (Extract Transform Load) data pipelines w/ aggregation of prior Claims & Proofs, etc...

Deliverables

1. Services (Baseline)

Why? Need to be able to get visibility into onchain services: what's available and at what cost.

  • Add support for Services under the Blockchains drop-down
    Screenshot 2024-12-17 at 5 19 15 PM
  • Show baseline service state (equivalent of querying it onchain)
     $ pkd_beta_query query service show-service anvil
    Output:
     service:
       compute_units_per_relay: "13"
       id: anvil
       name: ETH Anvil
       owner_address: pokt1ytsx06dfxrp7cgt7t95jkxuyu2m97563zqz5pn
  • Allow scrolling and searching for service name by ID

1.1 Relay & Compute Units per Service(Advanced)

Why? Visibility into onchain usage of the network: relays, compute units, payments and earnings.

  • Relays:
    • Total Relays: Show the total amount of relays each service has served on-chain
    • Relay Ranges: Allow filtering the total amount of relays served by a service between blocks A and B
  • Compute Units
    • Total Compute Units: Show the total amount of compute units each service has served on-chain
    • Compute Unit Ranges: Allow filtering the total amount of compute units served by a service between blocks A and B
  • Distributions (pie chart or table)
    • App payments: Relays / Compute units serviced based on Applications paying for service
    • Supplier Earnings: Relays / Compute units serviced based on Suppliers servicing requests

2. Blocks

Why? Need to get visibility into onchain scalability and state bloat

  • Block Distribution
    • Update the block page (example with:
      • Pie chart showing transactions, claims, proofs, other

Creator: @Olshansk
Co-Owners: @RawthiL @jorgecuesta @Alann27 @bryanchriswhite @red-0ne @okdas

@Olshansk Olshansk added the enhancement New feature or request label Dec 18, 2024
@Olshansk Olshansk added this to Shannon Dec 18, 2024
@github-project-automation github-project-automation bot moved this to 📋 Backlog in Shannon Dec 18, 2024
@Olshansk Olshansk changed the title [WIP - Don't read yet][ShannonScan] Foundational changes for Relay Mining & Probabilistic Proofs [WIP - DO NOT READ YET][ShannonScan] Foundational changes for Relay Mining & Probabilistic Proofs Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 📋 Backlog
Development

No branches or pull requests

4 participants