← 返回命令列表

Linux command

octez-baker 命令

趣味

复制后可按需替换文件名、目录或参数。

常用示例

Start baker

octez-baker-[protocol] run with local node [~/.tezos-node] [baker_alias]

Run with RPC endpoint

octez-baker-[protocol] --endpoint [http://localhost:8732] run with local node [data_dir] [baker]

Run with votes

octez-baker-[protocol] run with local node [data_dir] [baker] --liquidity-baking-toggle-vote [pass]

List known bakers

octez-baker-[protocol] list known addresses

说明

octez-baker is the Tezos baking daemon. Bakers create new blocks and participate in consensus. The baker monitors the blockchain and produces blocks when selected. The command name includes the protocol version (e.g., octez-baker-PtParisA).

参数

run
Run the baker daemon.
--endpoint _uri_
Node RPC endpoint.
--liquidity-baking-toggle-vote _vote_
on, off, or pass.
with local node _dir_
Node data directory.

FAQ

What is the octez-baker command used for?

octez-baker is the Tezos baking daemon. Bakers create new blocks and participate in consensus. The baker monitors the blockchain and produces blocks when selected. The command name includes the protocol version (e.g., octez-baker-PtParisA).

How do I run a basic octez-baker example?

Run `octez-baker-[protocol] run with local node [~/.tezos-node] [baker_alias]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does run do in octez-baker?

Run the baker daemon.