json 具有Clique共识协议的私有以太坊网络的Genesis文件
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了json 具有Clique共识协议的私有以太坊网络的Genesis文件相关的知识,希望对你有一定的参考价值。
{
"config": {
"chainId": 500,
"homesteadBlock": 1,
"eip150Block": 2,
"eip150Hash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"eip155Block": 3,
"eip158Block": 3,
"byzantiumBlock": 4,
"clique": {
"period": 15,
"epoch": 30000
}
},
"nonce": "0x0",
"timestamp": "0x5a8efd25",
"extraData": "0x00000000000000000000000000000000000000000000000000000000000000003590aca93338b0721966a8d0c96ebf2c4c87c5448cc5a1a0802db41db826c2fcb72423744338dcb00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"gasLimit": "0x47b760",
"difficulty": "0x1",
"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"coinbase": "0x0000000000000000000000000000000000000000",
"alloc": {
"3590aca93338b0721966a8d0c96ebf2c4c87c544": {
"balance": "0x200000000000000000000000000000000000000000000000000000000000000"
},
"8cc5a1a0802db41db826c2fcb72423744338dcb0": {
"balance": "0x200000000000000000000000000000000000000000000000000000000000000"
}
},
"number": "0x0",
"gasUsed": "0x0",
"parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000"
}
以上是关于json 具有Clique共识协议的私有以太坊网络的Genesis文件的主要内容,如果未能解决你的问题,请参考以下文章
以太坊私有链挖矿
一.搭建私有以太坊网络,纯干货
以太坊多节点私有链部署
体验篇 - 部署以太坊私有链 (PoA)
什么是以太坊2.0?及以太坊“共识层”和“合并”等重点解释
比特币以太坊