Calisto NEWS!Decentralized File Storage of CallistoThe InterPlanetary File System
IPFS attempts to address the deficiencies of the client-server model and HTTP web through a p2p protocol file sharing system. IPFS is an open-source project created by Protocol Labs, an R&D lab for network protocols and former Y Combinator startup. There are some main component of IPFS systems:
With the Distributed Hash Table, nodes can store & share data without central coordination
IPNS allows exchanged data to be instantly pre-authenticated and verified using public key cryptography.
The Merkle DAG enables uniquely identified, tamper-resistant and permanently stored data
You can access past versions of edited data via the Version Control System
IPFS provides high throughput, low latency, data distribution. It is also decentralized and secure. This opens up several interesting and exciting use cases. It can be used to deliver content to websites, globally store files with automatic versioning & backups, facilitate secure file sharing and encrypted communication.
Callisto File System solves a problem of independent and securely storing an archive of security audit reports. The main purpose of this file system is to provide an opportunity to upload, store and view security audit reports, independently from any third-party services. At the same time, the Callisto file system enables users to store custom files in a distributed storage maintained by elected Callisto IPFS-host-nodes. The system can be scaled depending on demand.
Callisto file system relies on CallistoFS.sol core smart-contract (
https://github.com/Dexaran/Callisto-file-system/blob/master/CallistoFS.sol ). A user can create a link to the IPFS file name by invoking the upload() (
https://github.com/Dexaran/Callisto-file-system/blob/master/CallistoFS.sol#L21 ) function of the smart-contract and providing a refundable deposit in CLO. Then the user should upload the file to one of IPFS-host-nodes. Once the FileUpload (
https://github.com/Dexaran/Callisto-file-system/blob/master/CallistoFS.sol#L18 ) event have been emitted, each host-node should verify the file and replicate it if the payment condition is met. A file is guaranteed to be stored until the deposit for the file is at the contract. A user can withdraw the deposit at any time. After the deposit has been withdrawn, file storage is no longer guaranteed.
Each elected IPFS-host-node will receive a monthly salary for maintaining the storage. If one of the nodes does not work correctly, fails to provide a file or maintains a bad connection, then another node can be elected to replace it. IPFS-host-nodes can receive different salaries depending on the quality, volume of their storage and statistics of processed requests. For each node, an individual Treasury Proposal must be created and the decision for electing/removing a node is separately made by Cold Stakers.
The amount of storage available per CLO is determined using the Bancor algorithm that maintains a Constant Reserve Ratio (CRR) of 10. A CRR means that the storage will never be completely consumed, as the price (locked CLO per megabyte) will rise as free capacity shrinks.
Price = Balance / (Supply * CRR)
Where:
Balance is the total amount of storage consumed
Supply is the total amount of storage the host-nodes physically have
CCR is the constant (10 in EOS and CLO)
Source:
https://news.callisto.network/decentralized-file-storage-of-callisto/