An easy way to find out if your pool software has this issue, is to mine on testnet4 and try to find the first block of a retarget period.
Due to some people who are taking maximum advantage of the rule that testnet difficulty drops to 1 after 20 minutes, the timestamps on testnet4 are almost always two hours in the future. As a result, when then first block of a retarget period uses clock time, it will violate the timewarp rule and be rejected. If it uses the 'curtime' field provided by `getblocktemplate` instead, the timestamp will be adjusted to account for this and the block will be fine.
Unfortunately, if your software relies on 'mintime' instead, Bitcoin Core itself has a bug which gives the wrong 'mintime' (only affects testnet4). So in order to perform the above test it's best to run this patch:
https://github.com/bitcoin/bitcoin/pull/31600 (or the master branch after its merged).
- Sjors