eos icon indicating copy to clipboard operation
eos copied to clipboard

EOS Ubuntu 18.04

Open Drug0j opened this issue 8 years ago • 10 comments

Drug0j avatar Sep 11 '18 22:09 Drug0j

what's your question?

taokayan avatar Sep 12 '18 06:09 taokayan

Hey. I have many questions in the development process, most of the answers I find. at the moment I'm interested in the ability to configure bp.json and configure the browser for Blockchain eos

Drug0j avatar Sep 13 '18 19:09 Drug0j

https://github.com/EOSIO/eos/issues/3842

Drug0j avatar Sep 13 '18 19:09 Drug0j

https://github.com/CryptoLions/EOS-Network-monitor

Drug0j avatar Sep 13 '18 19:09 Drug0j

https://gist.github.com/yurydelendik/4eeff8248aeb14ce763e

Drug0j avatar Sep 16 '18 19:09 Drug0j

help! $ ./nodeos --delete-all-blocks --genesis-json genesis.json 2018-09-24T13:44:39.678 thread-0 chain_plugin.cpp:646 plugin_initialize ] 4 parse_error_exception: Parse Error Expected '"' but read '?' {"char":"?"} thread-0 json.cpp:100 stringFromStream while parsing token '' {"token":""} thread-0 json.cpp:123 stringFromStream Error parsing object {} thread-0 json.cpp:218 objectFromStream

Drug0j avatar Sep 24 '18 15:09 Drug0j

The genesis.json file you are using is corrupted. Use one of the proper format.

jgiszczak avatar Sep 24 '18 23:09 jgiszczak

2018-09-24T16:14:46.951 thread-0 producer_plugin.cpp:605 plugin_initialize ] Malformed private key pair 2018-09-24T16:14:46.951 thread-0 main.cpp:110 main ] nodeos version v1.3.0-dirty 2018-09-24T16:14:46.951 thread-0 main.cpp:111 main ] eosio root is /root/.local/share 2018-09-24T16:14:46.951 thread-0 controller.cpp:1398 startup ] No head block in fork db, perhaps we need to replay 2018-09-24T16:14:46.951 thread-0 controller.cpp:375 initialize_fork_db ] Initializing new blockchain with genesis state
2018-09-24T16:14:47.008 thread-0 chain_plugin.cpp:662 plugin_startup ] starting chain in read/write mode 2018-09-24T16:14:47.008 thread-0 chain_plugin.cpp:666 plugin_startup ] Blockchain started; head block is #1, genesis timestamp is 2018-06-01T12:00:00.000

Drug0j avatar Sep 25 '18 08:09 Drug0j

./nodeos --config=/root/usr/local/eosio/bin/config.ini --replay-blockchain --genesis-json genesis.json 2018-09-25T08:39:55.905 thread-0 chain_plugin.cpp:329 plugin_initialize ] initializing chain plugin 2018-09-25T08:39:55.905 thread-0 chain_plugin.cpp:496 plugin_initialize ] Replay requested: deleting state database 2018-09-25T08:39:55.905 thread-0 chain_plugin.cpp:646 plugin_initialize ] 4 parse_error_exception: Parse Error Expected '"' but read '?' {"char":"?"} thread-0 json.cpp:100 stringFromStream while parsing token '' {"token":""} thread-0 json.cpp:123 stringFromStream Error parsing object {} thread-0 json.cpp:218 objectFromStream

@Drug0j

Drug0j commented 14 minutes ago ./nodeos --config=/root/usr/local/eosio/bin/config.ini --delete-all-blocks --genesis-json genesis.json 2018-09-25T08:41:50.829 thread-0 chain_plugin.cpp:329 plugin_initialize ] initializing chain plugin 2018-09-25T08:41:50.829 thread-0 chain_plugin.cpp:470 plugin_initialize ] Deleting state database and blocks 2018-09-25T08:41:50.829 thread-0 chain_plugin.cpp:646 plugin_initialize ] 4 parse_error_exception: Parse Error Expected '"' but read '?' {"char":"?"} thread-0 json.cpp:100 stringFromStream while parsing token '' {"token":""} thread-0 json.cpp:123 stringFromStream Error parsing object {} thread-0 json.cpp:218 objectFromStream Failed to initialize

@Drug0j

Drug0j commented 4 minutes ago I use this genesis, { « 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 } } but when I insert into the created file .JSON in the folder, it becomes so .... { 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 } }

tell me the problem is yes? how to preserve the original appearance?

@Drug0j

Drug0j commented a minute ago Problem in « Yes?

Drug0j avatar Sep 25 '18 08:09 Drug0j

!!!!!!!!YES !!!!!!! download extract https://github.com/CryptoLions/EOS-MainNet/tree/2c69bcb7654b99454926e86d09845346c469f751 .json

go ./nodeos -- config

Drug0j avatar Sep 25 '18 09:09 Drug0j