geth 私有网络是哪种类型的节点?

geth private network is which type of node?

我是区块链新手,我已经使用 geth 在私有节点上进行了设置。

现在我想知道,哪种链叫PoA based chain or PoW?

下面是我启动私有节点的命令:

geth --nodiscover --networkid 1111 --datadir node1 --unlock ADD --rpccorsdomain="" --mine --rpc --rpcapi "admin,debug,eth,miner, net,personal,txpool,web3,clique" --nousb --rpc --rpcaddr 0.0.0.0 --ws.api "eth,net,web3,debug,txpool" --ws --ws.addr 0.0.0.0 --ws.port 8546 --ws.origins “” --syncmode=full --gcmode=archive --rpcvhosts=* --allow-insecure-unlock console

这取决于您的 genesis.json 配置,而不是 CLI 参数。

如果您在配置中定义了 clique,那么您正在使用授权证明 (PoA)。如果您没有,则说明您正在使用工作量证明 (PoW)。

有关详细信息,请参阅 docs 中的“Clique 示例”。