Router
Overview
Routers are geographically distributed hubs, connecting all network nodes and managing both incoming and outgoing web requests to the validator. They are incentivized to operate efficiently, with rewards proportional to the stake delegated to each router. All traffic routed through their relays is encrypted and metered for security and performance.
Post decentralization, routers will be compensated based on the total validated bandwidth served through their relays.
Verification
The router is responsible for reporting the following metrics to validators in the network:
Size in bytes of each incoming and outgoing request
Latency from each node and latency from validator
Network status of each connected node
Rewards
Rewards are distributed to individual router delegates depending on their staked contribution to the network:
Where:
Rd is the total rewards accumulated by a delegate.
Rp is the rewards accumulated before the start of the next reward interval.
Sd is the current number of tokens staked by the delegate.
D is the number of tokens distributed each time slot.
I is the number of time slots between the last distributed reward.
T is the current total staked token pool.
Rewards claimed by router delegates and router operators:
Where:
Rc is the rewards claimed by the delegate.
Rd is the total rewards accumulated by a delegate.
Ro is the rewards claimed by the router operator.
C is the router commission rate.
Post Decentralization Reward Structure
The rewards calculation for routers based on the described metrics:
R is the reward for a router.
B is the total validated bandwidth served, which includes both incoming and outgoing request lengths in bytes.
Ln is the average latency from each node to the router.
Lv is the latency from the router to the validator.
S is the network reputation of each connected node.
R=kB⋅B⋅(1−LmaxKL⋅(Ln+Lv))⋅S
Where:
kB is a coefficient determining the base reward per byte of validated bandwidth.
kL is a coefficient to adjust the impact of latency on the rewards.
Lmax is a normalization factor (maximum reasonable latency).
S directly multiplies the reward, adjusting it based on the quality of the network connection as assessed by the network.
This formula provides a structured approach to calculating router rewards, emphasizing the importance of served bandwidth while also considering the impact of latency and network quality. The specific values for kB, kL, and Lmax would need to be defined by the network.
Security
Routers are responsible for initial checks on each node to ensure network compliance and are required to maintain connectivity for greater than 75% (subject to change) of the total pool. Failure to provide a consistent pool of accessible nodes will reduce the efficacy of the network to collect data and will result in the potential slashing of staked assets.
Last updated

