Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

EOS Ubuntu 18.04 #5620

Closed
Drug0j opened this issue Sep 11, 2018 · 10 comments
Closed

EOS Ubuntu 18.04 #5620

Drug0j opened this issue Sep 11, 2018 · 10 comments
Labels

Comments

@Drug0j
Copy link

Drug0j commented Sep 11, 2018

No description provided.

@taokayan
Copy link
Contributor

what's your question?

@Drug0j
Copy link
Author

Drug0j commented Sep 13, 2018

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
Copy link
Author

Drug0j commented Sep 13, 2018

#3842

@Drug0j
Copy link
Author

Drug0j commented Sep 13, 2018

@Drug0j
Copy link
Author

Drug0j commented Sep 16, 2018

@Drug0j
Copy link
Author

Drug0j commented Sep 24, 2018

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

@jgiszczak
Copy link
Contributor

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

@Drug0j
Copy link
Author

Drug0j commented Sep 25, 2018

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
Copy link
Author

Drug0j commented Sep 25, 2018

./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
Copy link
Author

Drug0j commented Sep 25, 2018

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

go ./nodeos -- config

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants