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}
}