yesterday I created and launched a single node test net on MacOS. To shut it down I pressed CTRL + C
and then shut down my computer a while after.
Today I tried to restart the block producer with nodeos
and got this:
[mikeys-iMac:~ mikey$ nodeos
3086500ms thread-0 chain_plugin.cpp:125 plugin_initialize ]
initializing chain plugin
3086502ms thread-0 block_log.cpp:120 open ]
Log is nonempty
3086502ms thread-0 block_log.cpp:123 open ]
my->head->block_num(): 1
3086502ms thread-0 block_log.cpp:129 open ]
Index is nonempty
3086526ms thread-0 http_plugin.cpp:247 plugin_initialize ]
configured http to listen on 127.0.0.1:8888
3086526ms thread-0 net_plugin.cpp:2822 plugin_initialize ]
Initialize net plugin
3086526ms thread-0 net_plugin.cpp:2843 plugin_initialize ]
host: 0.0.0.0 port: 9876
3086526ms thread-0 net_plugin.cpp:2915 plugin_initialize ]
my node_id is c483a327e508ab99d2039b4604ea4e8086dc84d9becd9f373f4df512d8397ad8
3086526ms thread-0 main.cpp:94 main ]
nodeos version 29c30f10
3086526ms thread-0 main.cpp:95 main ]
eosio root is /Users/mikey/Library/Application Support
3086527ms thread-0 chain_plugin.cpp:253 plugin_startup ]
starting chain in read/write mode
3086527ms thread-0 chain_plugin.cpp:258 plugin_startup ]
Blockchain started; head block is #1, genesis timestamp is 2018-03-02T12:00:00.000
3086527ms thread-0 http_plugin.cpp:285 plugin_startup ]
start listening for http requests
3086527ms thread-0 net_plugin.cpp:2927 plugin_startup ]
starting listener, max clients is 25
3086527ms thread-0 producer_plugin.cpp:381 plugin_startup ]
producer plugin: plugin_startup() begin
3086527ms thread-0 producer_plugin.cpp:397 plugin_startup ]
No producers configured! Starting as a validator
3086527ms thread-0 producer_plugin.cpp:401 plugin_startup ]
producer plugin: plugin_startup() end
How do I make it start producing blocks again so that I can continue with the rest of the EOSIO tutorials?
Would also greatly appreciate a short explanation of correct starting / stopping procedures in a development environment. Thank you (:
nodeos --resync
? – Don P May 20 '18 at 6:051347966ms thread-0 controller.cpp:1073 startup ] No head block in fork db, perhaps we need to replay 1347966ms thread-0 controller.cpp:264 initialize_fork_db ] Initializing new blockchain with genesis state 1348006ms thread-0 controller.cpp:208 init ] unconf_blocknum: 1
– Mikey Musch May 20 '18 at 6:26nodeos --replay
? – Don P May 20 '18 at 6:44No producers configured!
- Do you have a producer-name set inconfig.ini
? – Don P May 20 '18 at 7:06