第31篇 以太坊POA联盟链增加新的出块节点

本篇内容接上篇。

在上篇文档,三个节点的联盟链运行正常,出块正常。在此情况下,尝试增加一个节点。

在D盘目录下创建文件夹data_poa4;

1、在该目录下生成新账号:

C:\Program Files\Geth>geth --datadir "d:/data_poa4/" account new
INFO [05-16|17:20:58] Maximum peer count                       ETH=25 LES=0 total=25
Your new account is locked with a password. Please give a password. Do not forget this password.
Passphrase:
Repeat passphrase:
Address: {c788560445cfcfaab22bcb6726113d3d3fc2be3f}

C:\Program Files\Geth>

2、节点初始化:

C:\Program Files\Geth>geth --datadir "d:/data_poa4/" init genesis.json
INFO [05-16|17:22:03] Maximum peer count                       ETH=25 LES=0 total=25
INFO [05-16|17:22:03] Allocated cache and file handles         database=d:\\data_poa4\\geth\\chaindata cache=16 handles=16
INFO [05-16|17:22:03] Writing custom genesi

猜你喜欢

转载自blog.csdn.net/wonderBlock/article/details/106163207