我们使用搁浅(https://ipfs.io/docs/install/)创建了 2 个节点,它们都连接到公共网络并且工作正常。现在我们正在尝试使用这两个节点创建一个私有网络,如下所述,但是两个节点上的数据没有同步。 https://github.com/ipfs/go-ipfs/blob/master/docs/experimental-features.md#private-networks
下面是我们启动守护进程时的响应
$ipfs daemon --enable-pubsub-experiment
Initializing daemon...
Adjusting current ulimit to 2048...
Successfully raised file descriptor limit to 2048.
Swarm is limited to private network of peers with the swarm key
Swarm key fingerprint: 5c9869c16230b2b24f66f89a519043d1
Swarm listening on /ip4/127.0.0.1/tcp/4001
Swarm listening on /ip4/127.0.0.1/tcp/4001
Swarm listening on /ip6/::1/tcp/4001
API server listening on /ip4/127.0.0.1/tcp/5001
Gateway (readonly) server listening on /ip4/1127.0.0.1/tcp/8080
Daemon is ready