如何在不使用 geth 控制台的情况下在现有仲裁网络中添加新的对等点?

How to add a new peer in the existing quorum network without using geth console?

我正在尝试测试在现有仲裁网络中添加新节点。有没有其他方法可以不去 geth 控制台并执行 admin.addPeer()。

是否有任何 API 可以调用和添加新对等点,以便它可以相应地同步。

我能做到。我写了一个 shell 脚本,它会转到 geth 控制台并添加一个对等点和 returns 一个 raftID 作为响应。