eos icon indicating copy to clipboard operation
eos copied to clipboard

starting testnet: consider using the --genesis-timestamp

Open bitcoiners opened this issue 9 years ago • 9 comments

Starting a testnet I get:

Your genesis seems to have an old timestamp Please consider using the --genesis-timestamp option to give your genesis a recent timestamp

Where should I set --genesis-timestamp?

bitcoiners avatar Jun 24 '17 01:06 bitcoiners

Does this happen even if you point config.ini to the dummy genesis.json as described in the README?

nathanielhourt avatar Jun 27 '17 16:06 nathanielhourt

@nathanhourt I meet the same problem as described in this issue. and, I pointed the config.ini to the genesis.json as decribed in the README, but, still get the warning.

shuke0327 avatar Jul 01 '17 09:07 shuke0327

Please show me the exact output, and also the contents of your config.ini file

nathanielhourt avatar Jul 03 '17 19:07 nathanielhourt

The "warning" comes from producer_plugin, and is triggered when eosd is started with a pristine data directory. There is a genesis timestamp in the default genesis.json file, of March 30, so that's considered way old, hence the error message. Currently none of the plugins associated with eosd process --genesis_timestamp. Note that the timestamp in the json file is GMT.

pmesnier avatar Jul 03 '17 20:07 pmesnier

Ahh, OK, so this will get worked out when people care more about eosd. :)

nathanielhourt avatar Jul 04 '17 15:07 nathanielhourt

Support for --genesis-timestamp added in PR#77, merger pending

pmesnier avatar Jul 12 '17 15:07 pmesnier

Is this issue now resolved?

nathanielhourt avatar Jul 26 '17 16:07 nathanielhourt

yes.

On Wed, Jul 26, 2017 at 11:47 AM, Nathan Hourt [email protected] wrote:

Is this issue now resolved?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/EOSIO/eos/issues/39#issuecomment-318113367, or mute the thread https://github.com/notifications/unsubscribe-auth/AA2wCfdCWJxQdzj8O5fKmAOSkCIRSaj-ks5sR22YgaJpZM4OELT9 .

--

Phil Mesnier Principal Engineer & Partner OCI | WE ARE SOFTWARE ENGINEERS. tel (314) 579-0066 x225 <(314)%20579-0066> ObjectComputing.com http://objectcomputing.com/

pmesnier avatar Jul 26 '17 16:07 pmesnier

I also come up with the same issue today, and can not produce a block

Justin-ye avatar Mar 25 '18 08:03 Justin-ye