Skip to content

Pool and JDC update nTime field with current timestamp - they should use the one sent by TP #1324

Description

@GitGab19

Our current Pool and JDC update the nTime field of every job using the current system time, instead of using the value sent by TP. This leads to mine invalid blocks when the value is too old with respect to the network one. We were able to notice this bug on testnet4, since its MTP is moved in the future.

Here some logs which shows TP logs when this bug is in place:

timestamp-bug

cc @Sjors

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Fields

No fields configured for issues without a type.

Projects

Status
Done ✅

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions