[Ethereum] 以太坊区块链搭建与使用-私有链配置与启动
Posted 一杯糖不加咖啡
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了[Ethereum] 以太坊区块链搭建与使用-私有链配置与启动相关的知识,希望对你有一定的参考价值。
一、创世块
随便找一个目录vim genesis.json
{
"config": {
"chainId": 666,
"homesteadBlock": 0,
"eip150Block": 0,
"eip150Hash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"eip155Block": 0,
"eip158Block": 0,
"byzantiumBlock": 0,
"constantinopleBlock": 0,
"petersburgBlock": 0,
"istanbulBlock": 0,
"ethash": {}
},
"nonce": "0x0",
"timestamp": "0x5ddf8f3e",
"extraData": "0x0000000000000000000000000000000000000000000000000000000000000000",
"gasLimit": "0x47b760",
"difficulty": "0x00002",
"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"coinbase": "0x0000000000000000000000000000000000000000",
"alloc": { },
"number
以上是关于[Ethereum] 以太坊区块链搭建与使用-私有链配置与启动的主要内容,如果未能解决你的问题,请参考以下文章