216k155 / Yiimp-PHI1612-Implemented

Yiimp pool supported PHI1612 PoW/PoS Hybrid algo
3 stars 17 forks source link

ntime warning: value on GOLDCOIN #16

Open mastermind999 opened 6 years ago

mastermind999 commented 6 years ago

Hello.

I get a lot of

20:03:54: ntime warning: value 1531159480 (5b43a3b8) offset -46 secs from uid 23 20:03:54: ntime warning: value 1531159480 (5b43a3b8) offset -46 secs from uid 22 20:03:55: GLD 854844 - diff 1025.132371608 job 3a to 3/3/3 clients, hash 23358.377/73381.834 in 0.1 ms 20:03:58: REJECTED :( GoldCoin block 854844 1 txs 2018-07-09 20:03:58: REJECTED GLD block 854844 20:04:15: ntime warning: value 1531159603 (5b43a433) offset -148 secs from uid 22 20:04:37: ntime warning: value 1531159603 (5b43a433) offset -126 secs from uid 22 20:04:37: ntime warning: value 1531159603 (5b43a433) offset -126 secs from uid 23 20:04:37: ntime warning: value 1531159603 (5b43a433) offset -126 secs from uid 23 20:04:58: ntime warning: value 1531159603 (5b43a433) offset -105 secs from uid 23 20:04:58: ntime warning: value 1531159603 (5b43a433) offset -105 secs from uid 22 20:04:59: GLD 854844 - diff 1025.132371608 job 3b to 3/3/3 clients, hash 23990.977/73381.834 in 0.0 ms 20:05:16: REJECTED :( GoldCoin block 854844 1 txs 2018-07-09 20:05:16: REJECTED GLD block 854844

I also got ACCEPTED and CONFIRMED as well

The problem is this file https://github.com/tpruvot/yiimp/blob/next/stratum/share.cpp

// todo: link max_ttf ? if((now - worker->ntime) > 15*60 || worker->ntime > now) { debuglog("ntime warning: value %d (%08x) offset %d secs from uid %d\n", worker->ntime, worker->ntime, (now - worker->ntime), worker->userid); }

what is worker->ntime ?? Please help me fix this. The time of the worker? Why we need this? I understand that there is a big time difference between time of WORKER and time of the POOL.

Thank you.