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

Running eosiod doesn't create directory data-dir #1695

Closed
Mac-m opened this issue Mar 19, 2018 · 5 comments
Closed

Running eosiod doesn't create directory data-dir #1695

Mac-m opened this issue Mar 19, 2018 · 5 comments

Comments

@Mac-m
Copy link

Mac-m commented Mar 19, 2018

Hi,
I'm trying to follow steps in "Creating and launching a single-node testnet" (https://github.com/EOSIO/eos#creating-and-launching-a-single-node-testnet)
but when I run eosiod, it doesn't create directory named data-dir.
Instead it's stuck at
500312ms thread-0 net_plugin.cpp:2752 plugin_startup ] starting listener, max clients is 25
Am I missing anything? Where can I find config.ini ?
Thanks in advance,

@4575759ww
Copy link

met the same issue

@4575759ww
Copy link

./eosiod --config-dir data-dir/

@newship
Copy link

newship commented Mar 19, 2018

same on Ubuntu 16.04, it didn't create a directory named data-dir after I run eosiod.

@Mac-m
Copy link
Author

Mac-m commented Mar 19, 2018

Thanks @4575759ww this worked and created data-dir directory and config.ini.
I modified config.ini according to the guide. Then I run eosiod with command ./eosiod --config-dir data-dir/ but it was stuck at
1288001ms thread-0 producer_plugin.cpp:227 block_production_loo ] Not producing block because it isn't my turn, its eosio

I had to add producer-name = eosio to the config.ini
After that, it started but I only see eosio producing empty blocks:

eosio generated block 530ba3aa... #245 @ 2018-03-19T13:28:29.000 with 0 trxs
eosio generated block 1cb997ec... #246 @ 2018-03-19T13:28:29.500 with 0 trxs
eosio generated block dbd2d42e... #247 @ 2018-03-19T13:28:30.000 with 0 trxs

Is this how it's supposed to be?

@jgiszczak
Copy link
Contributor

Yes, a local node not connected to the testnet will only produce empty blocks, unless you start conducting transactions on it. Its purpose is to enable testing of contracts you're developing. You're now ready to start writing new contracts and trying them out.

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

No branches or pull requests

5 participants
@jgiszczak @newship @4575759ww @Mac-m and others