EOS genesis 详解

news/2024/11/25 7:44:33/

genesis.json

不同genesis文件,就代表是不同的链,这样的节点其实是不能互联的

在整个开发过程中,测试网络/主网API测试都是一样,链接方式也是一样的,
只是需要修改 config.ini 文件和 genesis.json 文件, 从而加入到不同的网络中。

MainNet genesis.json

genesis文件是一个用来描述创世块信息的文件

https://github.com/CryptoLions/EOS-MainNet/blob/master/genesis.json

{"initial_timestamp": "2018-06-08T08:08:08.888","initial_key": "EOS7EarnUhcyYqmdnPon8rm7mBCTnBoot6o7fE2WzjvEX2TdggbL3","initial_configuration": {"max_block_net_usage": 1048576,"target_block_net_usage_pct": 1000,"max_transaction_net_usage": 524288,"base_per_transaction_net_usage": 12,"net_usage_leeway": 500,"context_free_discount_net_usage_num": 20,"context_free_discount_net_usage_den": 100,"max_block_cpu_usage": 200000,"target_block_cpu_usage_pct": 1000,"max_transaction_cpu_usage": 150000,"min_transaction_cpu_usage": 100,"max_transaction_lifetime": 3600,"deferred_trx_expiration_window": 600,"max_transaction_delay": 3888000,"max_inline_action_size": 4096,"max_inline_action_depth": 4,"max_authority_depth": 6}
}

Jungle Testnet genesis.json

jungle3.0

https://github.com/EOS-Jungle-Testnet/Node-Manual-Installation/blob/master/genesis.json

{"initial_timestamp": "2020-02-19T16:20:00","initial_key": "EOS6jUngLeXUEPEtS5A4JmEZUjg6ccuFAyshsg4Ty3MN6ks34quiX","initial_configuration": {"max_block_net_usage": 524288,"target_block_net_usage_pct": 1000,"max_transaction_net_usage": 524287,"base_per_transaction_net_usage": 12,"net_usage_leeway": 500,"context_free_discount_net_usage_num": 20,"context_free_discount_net_usage_den": 100,"max_block_cpu_usage": 400000,"target_block_cpu_usage_pct": 10,"max_transaction_cpu_usage": 150000,"min_transaction_cpu_usage": 1,"max_transaction_lifetime": 3600,"deferred_trx_expiration_window": 600,"max_transaction_delay": 3888000,"max_inline_action_size": 524287,"max_inline_action_depth": 32,"max_authority_depth": 6,"max_ram_size": 34359738368}
}

jungle2.0

https://github.com/EOS-Jungle-Testnet/Node-Manual-Installation/blob/jungle2/genesis.json

{"initial_timestamp": "2018-11-23T16:20:00","initial_key": "EOS8bRkmrfsQSmb87ix1EuFSe2NDsepKGCjUNgLEt1SDqw1fuhG4v","initial_configuration": {"max_block_net_usage": 1048576,"target_block_net_usage_pct": 1000,"max_transaction_net_usage": 524288,"base_per_transaction_net_usage": 12,"net_usage_leeway": 500,"context_free_discount_net_usage_num": 20,"context_free_discount_net_usage_den": 100,"max_block_cpu_usage": 200000,"target_block_cpu_usage_pct": 2000,"max_transaction_cpu_usage": 150000,"min_transaction_cpu_usage": 100,"max_transaction_lifetime": 3600,"deferred_trx_expiration_window": 600,"max_transaction_delay": 3888000,"max_inline_action_size": 4096,"max_inline_action_depth": 4,"max_authority_depth": 6,"max_ram_size": 34359738368}
}

jungle1.0

https://github.com/CryptoLions/EOS-Jungle-Testnet/blob/jungle1.0/genesis.json

{"initial_timestamp": "2018-06-09T00:00:00.000","initial_key": "EOS6CttW6XFfeRXaiqbD1Hoc9xPfVJrJ9RVZqA8tNTDLriNEyamFY","initial_configuration": {"max_block_net_usage": 1048576,"target_block_net_usage_pct": 1000,"max_transaction_net_usage": 524288,"base_per_transaction_net_usage": 12,"net_usage_leeway": 500,"context_free_discount_net_usage_num": 20,"context_free_discount_net_usage_den": 100,"max_block_cpu_usage": 200000,"target_block_cpu_usage_pct": 1000,"max_transaction_cpu_usage": 150000,"min_transaction_cpu_usage": 100,"max_transaction_lifetime": 3600,"deferred_trx_expiration_window": 600,"max_transaction_delay": 3888000,"max_inline_action_size": 4096,"max_inline_action_depth": 4,"max_authority_depth": 6}
}

http://www.ppmy.cn/news/196350.html

相关文章

EOS系列 - 内存映射文件数据库 - chainbase

ChainBase-快速版本控制的事务性数据库 特征 支持具有多个索引的多个对象(表) (基于boost :: multi_index_container)状态在多个过程之间是持久且可共享的具有撤销更改功能的嵌套事务写入 并发访问 默认情况下,ChainBase不提供任何同步,并具有与任何…

EOS (4)账户

1. 定义 账户是存储在区块链中的人类可读标识符。 1.1 形式 EOS账户有12个字符的限制(允许字符a~z、1~5),这12个字符是从64位整数的base-32编码派生而来的。 64位整数是本地机器字符的大小,而数据库索引…

佳能 RF800mm F5.6、RF1200mm F8 评测

F800mmF5.6 L IS USM 和 RF1200mm F8 L IS USM 的整体设计相对于同焦段的 EF 镜头更为紧凑、轻量。RF800mmF5.6 L IS USM 整体长度约为 432mm,直径约为 163mm,重量约为 3140g,和此前的 EF800mmF5.6 L IS USM 相比,长度减少约 29mm…

EOSIO概述

作者:michael比特天梯 架构概述 了解EOSIO我们从官方给出的以下架构图来入手,先看图如下: EOSIO主要包含了以下组件,nodeos、keosd和cleos nodeos: nodeeosnodeos,EOS系统核心进程,也就是所谓…

[EOS源码分析]6.EOS特殊智能合约eosio

这里说的eosio智能合约不是泛指eos的智能合约,它是一个特殊的具体的合约。它本事可大了,我们一起来看看它有哪些功能 负责智能合约部署 大家有注意到如下红色字体的log吗 $ cleos set contract hello.code ../eos-contract/hello -p hello.code Publish…

什么是EOS,它的作用及意义是什么

想了解更多区块链中的技术开发经验,请百度【链客区块链技术问答社区】 什么是EOSIO? EOS.IO软件引入了新的区块链架构,旨在实现分散式应用程序的垂直和水平缩放。这是通过创建一个可以构建应用程序的类似操作系统的构造来实现的。该软件提供…

EOS Contract 合约

EOS Contract 合约 在部署合约发行token,至少需要三类用户 类型Action账户职责合约账户createeosio.token合约托管账户,用来创建合约发行账户issuekevin发行Token交易账户transfercoco实现账户之间Token转移 部署合约 部署合约,需要创建一…

【EoSL】Introduction

文章目录 统计学习问题举例.垃圾邮件.前列腺癌.手写数字识别.DNA微阵列表达.全书安排. 统计学习问题举例. 预测一名由于心脏病发作而住院的病人,是否会有第二次心脏病发作。该预测将会基于人口统计数据、规定饮食以及临床评估来做出。基于公司业绩指标company perf…