~# cd $HOME~# mkdir Bios_Boot_Node~# cd Bios_Boot_Node~/Bios_Boot_Node# touch genesis.json~/Bios_Boot_Node# vi genesis.json{"initial_timestamp":"2020-07-15T00:00:00.000","initial_key":"[eosio Public Key]","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,"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_generated_transaction_count":16},"initial_chain_id":"0000000000000000000000000000000000000000000000000000000000000000"}
For [eosio public key], enter the Public Key which has created in the previous step.
2. create config.ini
~/Bios_Boot_Node# mkdir config~/Bios_Boot_Node# cd config~/Bios_Boot_Node/config# touch config.ini~/Bios_Boot_Node/config# vi config.iniaccess-control-allow-origin=*contracts-console=truehttp-validate-host=falseverbose-http-errors=truereversible-blocks-db-size-mb=2048max-transaction-time=2000chain-threads=8http-threads=6p2p-max-nodes-per-host=5max-clients=5wasm-runtime=eos-vmeos-vm-oc-enable=trueplugin=eosio::producer_pluginplugin=eosio::producer_api_pluginplugin=eosio::chain_pluginplugin=eosio::chain_api_pluginplugin=eosio::http_pluginplugin=eosio::history_api_pluginplugin=eosio::history_plugin
If 'genesis node' is stopped, it cannot restart the process by using the created script from '3.bootnode henesis start'.
When above script is used, blockchain DB will be initialized and created.
To avoid, restart by using --hard-replay-blockchain option of nodeos.