面包师,背书人和原告人是否必须在同一节点旁边运行?
-
-
有关烘焙松弛的更多详细信息,请访问https://tezos-baking.slack.com/archives/CC4FD2HUY/p1550653675317700Additional details is available on the baking slack at https://tezos-baking.slack.com/archives/CC4FD2HUY/p1550653675317700
- 0
- 2019-02-22
- Ezy
-
1 个回答
- 投票数
-
- 2019-02-20
背书人和原告人无需与节点在同一系统上运行.它们可以在完全独立的系统上运行,也可以在同一系统上运行(由您选择),只需要通过RPC与Tezos节点通信(默认为端口8732)即可.
但是,贝克确实需要对节点创建的数据文件进行本地访问. Tezos区块链数据存储在LMDB数据库中,并且贝克需要在运行时访问这些文件,因此贝克应与Tezos节点在同一系统上运行,然后通过运行类似于以下命令来启动贝克
tezos-baker-003-PsddFKi3 run with local node ~/.tezos-node
一起运行.这会将面包师指向Tezos节点使用的同一个LMDB数据库.虽然让面包师要求一个本地节点并不理想,但好消息是您可以在单独的系统上运行背书者,或指向一个单独的节点,这将使您可以在面包师上停机(在软件期间)升级或操作系统补丁程序)而不会背书.
The endorser and accuser don't need to run on the same system as a node. They can run on a completely separate system, or on the same system (your choice), and only require communication with the Tezos node over RPC (to port 8732 by default).
The baker, however, does require local access to the data files that the node creates. The Tezos blockchain data is stored in an LMDB database, and the baker requires access to these files while it is operating, so the baker should be running on the same system as the Tezos node, and you start the baker by running a command similar to
tezos-baker-003-PsddFKi3 run with local node ~/.tezos-node
. This points the baker at the same LMDB database that the Tezos node is using.While having the baker require a local node is not ideal, the good news is that you can run your endorser on a separate system, or pointing at a separate node, which should allow you to take downtime on your baker (during software upgrades or OS patches) without missing endorsements.
-
烘焙过程中,贝克进程是否仍通过RPC与(本地)tezos节点通信?对数据文件的本地访问是否是只读的,例如可以在分布式文件系统上?Does the baker process still communicate over RPC with the (local) tezos node while baking? Is the local access to the data file read only, so it could be on a distributed file system for example?
- 0
- 2019-08-06
- Phlogi
我有4个正在运行的节点,所有节点都使用相同的远程签名者.在这种类型的设置中,面包师,背书人和原告人能否在任一节点上运行?还是他们操纵了一些局部状态,因此必须在同一节点上分组?