Bitcoin Forum

Bitcoin => Mining software (miners) => Topic started by: 9code7 on February 05, 2020, 08:49:11 PM



Title: cgminer showing 1969-12-31 timestamp
Post by: 9code7 on February 05, 2020, 08:49:11 PM
I'm running the latest version of cgminer on Ubuntu 18.04.03.

The output of timedatectl is:

Code:
Local time: Wed 2020-02-05 15:46:13 EST
Universal time: Wed 2020-02-05 20:46:13 UTC
RTC time: Wed 2020-02-05 20:46:13
Time zone: America/New_York (EST, -0500)
System clock synchronized: yes
systemd-timesyncd.service active: yes
RTC in local TZ: no

However, when I run cgminer, it shows the starting date as 1969-12-31.

Will this affect my mining (BTC solo mining)? If so, how can i correct this?


Title: Re: cgminer showing 1969-12-31 timestamp
Post by: PassThePopcorn on February 05, 2020, 09:49:28 PM
Unless you're solo mining block errupters or other USB miners (which are way outdated), Ubuntu won't do much for you.

If you are using GPU's head over to the alt coin section.

If you are using really old hardware, don't expect them to do much for you.

And to answer your question, it shouldn't matter what time the program displays.


Title: Re: cgminer showing 1969-12-31 timestamp
Post by: kano on February 05, 2020, 11:09:58 PM
It's showing that it had no time source it could connect to and started mining at time epoch = 0

0 is 1970-01-01 00:00:00 UTC

So since yaw behind UTC (-5) it will display earlier than that to start with.

The start time is stored, not changed when the clock changes, so it wont change unless you restart cgminer after the clock is corrected.


Title: Re: cgminer showing 1969-12-31 timestamp
Post by: 9code7 on February 06, 2020, 04:05:30 PM
Thanks!