我已经按照所有有关为以太坊专用测试网络连接两个节点的指南进行操作。我有重复的genesis.json文件。我的端口号不同(30301/30302)。我已经完成了admin.addPeer(enode),当我拉起net.peerCount时,我看到了另一个节点。 admin.peers提供以下信息:
节点B:
[{ caps: ["eth/63"], id: "32c175838f8866a7269853c69885696e5fa6d6e110fc9548aee1991304905ea0f0fc2057f0855353b7cc829a0e38caf2c9b92f2e13c29dd0b20d586cf7c1fb28", name: "Geth/v1.8.12-stable-37685930/linux-amd64/go1.10.1", network: { inbound: true, localAddress: "192.168.0.2:30302", remoteAddress: "192.168.0.1:56974", static: false, trusted: false }, protocols: { eth: { difficulty: 17179869184, head: "0xd4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa3", version: 63 } } }]
节点A:
[{ caps: ["eth/63"], id: "db773e4ecd6b62c7e77969930dae1dd71f2bead211db634aff927c20dfc3e2826dc70c8adb1006d1f3b5ff367fc6e3cf29978b11c3c0ed5c34b0c78f961b14b9", name: "Geth/v1.8.12-stable-37685930/linux-amd64/go1.10.1", network: { inbound: false, localAddress: "192.168.0.1:56974", remoteAddress: "192.168.0.2:30302", static: true, trusted: false }, protocols: { eth: { difficulty: 17179869184, head: "0xd4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa3", version: 63 } } }]
我在薄雾中创建了帐户,但在节点A中却看不到它们。当我尝试在节点A中进行挖掘时,冻结在新的挖掘工作中。
任何帮助将不胜感激。
查克