pokt-network / pocket

Official implementation of the Pocket Network Protocol v1
https://pokt.network
MIT License
64 stars 33 forks source link

[Utility] B1: QoS - Single Check #755

Open Olshansk opened 1 year ago

Olshansk commented 1 year ago

Objective

Implement MVP E2E Feature Path A1: E2E Relay- Trustless Relay

Origin Document

Purpose: A Fisherman makes periodic relays to all Servicers during an active session, tracks the QoS of each request, and maintains the results in a local ephemeral state.

Actors: Check all of the protocol actors involved in the feature

Data Structures

Interfaces

Diagram

sequenceDiagram
    actor F as Fisherman
    actor S1 as Servicer 1
    actor SN as Servicer N

        title E2E Single QoS Check

    loop Repeats During Session
        F ->> +S1: Relay Request
        F ->> +SN: Relay Request (identical)
        S1 ->> -F: Relay Response 1
                F ->> F: Record & Store<br>QoS for S1
        SN ->> -F: Relay Response N
                F ->> F: Record & Store<br>QoS for SN
    end

User Stories as Tests

Blockers

Goals

Deliverable

General issue deliverables

Testing Methodology


Creator: @Olshansk