官术网_书友最值得收藏!

Writing the genesis block

The first step for creating a private blockchain is to create a genesis block. It is basically submitting a JavaScript Object Notation (JSON) file with the following details. In this chapter, we just lay down the structure, rather than going deep into what the block contents mean. One point to remember is to use a random integer other than 1 for the chainId parameter, as shown in Figure 3.27:

Figure 3.27: genesis.json
主站蜘蛛池模板: 类乌齐县| 莱芜市| 莎车县| 呼图壁县| 大名县| 灵丘县| 武定县| 漳平市| 遂溪县| 孝义市| 连江县| 华蓥市| 林口县| 肃北| 松滋市| 无极县| 桐柏县| 塘沽区| 青州市| 武邑县| 阿城市| 会同县| 湛江市| 资阳市| 苍溪县| 碌曲县| 高台县| 湾仔区| 桃园市| 柞水县| 肃宁县| 襄垣县| 绥德县| 泾阳县| 万山特区| 台中市| 曲麻莱县| 孝昌县| 平原县| 大余县| 喀喇|