在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:psprings/docker-ipfs开源软件地址:https://github.com/psprings/docker-ipfs开源编程语言:Shell 100.0%开源软件介绍:docker-ipfsThis is a collection of files and configuration for playing with IPFS in Docker. Most of the experimentation will be focused on private networks and clustering. Starting pointsResourcesGood explanation for the role of private networks vs clustering They are separate features/functionality. * With private networks each node specifies which other nodes it will connect to. Nodes in that network don't respond to communications from nodes outside that network. * With ipfs-cluster you use a leader-based consensus algorithm to coordinate storage of a pinset -- distributing the set of data across the participating nodes based on whichever pattern you prefer You could use these features together -- using ipfs-cluster to spread a pinset across a private network of nodes -- but they are completely separate features. They do not rely on each other. Support for private networks is functionality implemented within the core (go-ipfs) code base. ipfs-cluster is its own separate code base. -- flyingzumwalt https://discuss.ipfs.io/t/how-to-create-a-private-network-of-ipfs/339/7 Clustering
Private networksPrivate network setupGenerate a swarm keyIf you don't have the $ docker run --rm golang:1.9 sh -c 'go get github.com/Kubuxu/go-ipfs-swarm-key-gen/ipfs-swarm-key-gen && ipfs-swarm-key-gen'
/key/swarm/psk/1.0.0/
/base16/
f744ccf21ef090407977a33e01deb0a0c6a3397ae0366ff6f3c749e200f2510d Simple way to run a private networkdocker run --rm -e LIBP2P_FORCE_PNET=1 -e SWARM_KEY="/key/swarm/psk/1.0.0/\n/base16/\ne0e7b1394fb6e928eecf2f8db77eaa99d3657684dc939519f285cb902bd93e22" -v ./private-network/init.sh:/usr/local/bin/start_ipfs ipfs/go-ipfs:latest |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论