The online proof embedded in the BTFS distributed network is a crucial mechanism to ensure the reliability of storage nodes, while the uptime of a node serves as a key metric for evaluating its quality. Therefore, enabling online proof can greatly boost the performance, availability, and coverage of the BTFS distributed network.
Architecture of the BTFS online proof service:
BTFS online proof flow
- The signature data of the nodes is reported to online-server every day;
- Online-server generates merkle-tree based on the daily data reported by the nodes;
- Merkle-proof is stored on s3 for hosts to check their proof information, and they can also be found in the database for users to view data on BTFS SCAN;
- Merkle-root is stored in the online-proof-v2 contract;
- Users view online data through BTFS SCAN (or BTTCScan).