在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:c-base/ipfs-ringpin开源软件地址:https://github.com/c-base/ipfs-ringpin开源编程语言:开源软件介绍:ipfs-ringpinFile-sharing ring for IPFS, implemented using IPNS and pinning. StatusExperimental. BackgroundIPFS implements a content-addressable, peer2peer file system. As long as some node in the network has the data associated with an address (hash), the object can be retrieved. If however no-one has the data, either right now or over an extended period of time, there is no way to get it. Pinning is the IPFS way for a node to mark an object for keeping (not ephemeral cache). However, this is only for a single node. If this node goes down or looses connectivity, there is no guarantee that anyone else has the data. For reliable serving of files, it is necessary to ensure a level of redundancy. In ringpin, each of the members of the ring follows what the other members have pinned, and also pins those. ImplementationEach member node
Each node may have multiple topics. A topic may exist in many topic lists. Because only the node (someone with its private key) can update the IPNS entry, this setup ensures that only a trusted set of peers can cause your node to pin items. The topic list is proposed held in a git repository, and changes made via git pull requests. Individual nodes can fork and change this at will. There is no verification of the quality-of-service provided in this network "best effort". Future
InitializationYou need to have prepared an IPNS entry for your node before running these tools. If you haven't done so earlier, it is possible to get it going by running:
This will post an entry containing an empty directory, which can then be amended with real contents. Publishing new informationTo publish new pinned information to the network, you need to first add and pin it locally. Then using the hash, publish it to your IPNS entry with the publish-hash.sh tool. Example:
This will update your IPNS entry, and others can pin it either using your node identifier or that and a path. Add your topic to one or more pinlistsTo have other nodes pin your things, you must add it to a pinlist which many nodes share. Example for the topic
For now we have some lists in this project. You may submit pull requests against this repo. Keeping your IPNS entry aliveBy default IPNS entries expire every 24h. To refresh yours, run this from cron:
Updating pinsTo update what your node has pinned to match that specify by other nodes.
The list can be one of the lists in this project. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论