如何在tezos-node配置文件中通过身份设置受信任的对等方?
1 个回答
- 投票数
当前,他们无法通过节点配置文件中的ID来设置受信任的对等方.
如果已通过RPC将对等端设置为受信任的节点,并且节点已正确关闭,则该信息将存储在peers.json文件中,并且应在节点重新启动时恢复,但我不会依赖于此.
Their is currently no way to set a trusted peer by its ID in the node configuration file.
If your peer has been set trusted through RPC and that your node was shutdown properly, the information is stored in the peers.json file and should be restored on node reboot, but I wouldn't rely on that.
我在这里找到了"指定了所有参数的示例配置文件": https://tezos.gitlab.io/mainnet/introduction/various.html
但是我找不到与
./tezos-admin-client trust peer id12345abcde
等效的任何配置条目.在tezos-node配置文件中通过信任对等方的身份设置语法是什么?