šRouter
Functionality
Routers in Beans Finance act as critical geographically distributed hubs that link all nodes within the network. Their main role is to manage and relay incoming and outgoing web requests between nodes and the validator. Routers are crucial for maintaining the flow and integrity of data throughout the network.
Incentives
Routers are incentivized to perform efficiently through a reward system based on the total amount of bandwidth they validate. This reward mechanism ensures that routers are motivated to maintain high performance and reliability, as their compensation is directly tied to the volume of data they successfully process.
Security and Data Handling
All traffic that passes through a router is both encrypted and metered, ensuring that data remains secure and usage is accurately tracked. This encryption protects the integrity of data as it moves through the network, while metering allows for the fair assessment of network usage and router performance.
Verification Responsibilities
Metrics Reporting
Routers are tasked with providing detailed metrics to validators to assist in the overall management and security of the network. These metrics include:
Length in Bytes: Routers report the size of each incoming and outgoing request in bytes, allowing validators to monitor and analyze data flow.
Latency Measurements: Routers measure and report the latency from each node to the router and from the router to the validator. This helps in assessing the efficiency of data transmission across the network.
Network Status: Routers monitor and report the status of each connected node. This includes connectivity issues, data transmission speeds, and other relevant network health indicators.
These metrics are essential for maintaining network efficiency and reliability, providing validators with the data needed to optimize network operations and ensure smooth data processing across Beans Finance.
Rewards Calculation for Routers
Reward Formula Overview
The compensation for routers within Beans Finance is calculated based on several performance metrics to ensure fairness and encourage efficiency. The formula used is as follows:
Where:
Coefficients Explained:
Security and Compliance
Economic Stake Requirements
To ensure reliability and compliance, routers are required to post a significant economic stake as collateral. This stake acts as a security deposit, guarding against non-compliance and operational failures.
Operational Compliance
Routers are responsible for:
Conducting initial checks on each node to ensure adherence to network standards.
Maintaining connectivity above a threshold (currently set at 75% but subject to change), which is critical for the network's ability to collect and process data effectively.
Consequences of Non-Compliance
Failure to meet these standards can lead to the slashing of the staked assets. This means that routers that do not provide a consistent pool of accessible nodes or fail to meet other network criteria may face financial penalties, losing a portion of their staked collateral.
This dual focus on rewards and stringent security measures ensures that routers are both motivated to perform and held accountable for their role in maintaining the integrity and efficiency of the Beans Finance network.
Last updated