You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running Zcash in regtest mode, I encounter the error "CreateNewBlock: TestBlockValidity failed: time-too-far-ahead-of-mtp (code 16)" when generating a new block. How can I resolve this?
CPU:AMD Ryzen 7 5700G with Radeon Graphics 3.80 GHz
RAM:8GB
Disk size:
Disk Type (HD/SDD):
Linux kernel version (uname -a):
Compiler version (gcc --version):
Linker version (ld -v):
Assembler version (as --version):
Any extra information that might be useful in the debugging process.
2024-11-03T13:51:37.376839Z INFO main: CreateNewBlock: total size 1000 (excluding coinbase) txs: 0 fees: 0 sigops 100
2024-11-03T13:51:37.377203Z INFO main: SetChainPoolValues: Lockbox value is 0 at height 7
2024-11-03T13:51:37.377222Z ERROR main: ContextualCheckBlockHeader: block at height 7, timestamp 1730641897 is too far ahead of median-time-past, limit is 1730631435
2024-11-03T13:51:37.377250Z INFO main: keypool return 3
Do you have a backup of ~/.zcash directory and/or take a VM snapshot?
The text was updated successfully, but these errors were encountered:
For each block at block height 2 or greater on Mainnet, or block height 653606 or greater on Testnet, nTime
MUST be less than or equal to the median-time-past of that block plus 90 · 60 seconds.
Describe the issue
When running Zcash in regtest mode, I encounter the error "CreateNewBlock: TestBlockValidity failed: time-too-far-ahead-of-mtp (code 16)" when generating a new block. How can I resolve this?
Can you reliably reproduce the issue?
If so, please list the steps to reproduce below:
error code: -1
error message:
CreateNewBlock: TestBlockValidity failed: time-too-far-ahead-of-mtp (code 16)
Expected behaviour
Actual behaviour + errors
CreateNewBlock: TestBlockValidity failed: time-too-far-ahead-of-mtp (code 16)
The version of Zcash you were using:
v5.10.0
Machine specs:
Any extra information that might be useful in the debugging process.
2024-11-03T13:51:37.376839Z INFO main: CreateNewBlock: total size 1000 (excluding coinbase) txs: 0 fees: 0 sigops 100
2024-11-03T13:51:37.377203Z INFO main: SetChainPoolValues: Lockbox value is 0 at height 7
2024-11-03T13:51:37.377222Z ERROR main: ContextualCheckBlockHeader: block at height 7, timestamp 1730641897 is too far ahead of median-time-past, limit is 1730631435
2024-11-03T13:51:37.377250Z INFO main: keypool return 3
Do you have a backup of
~/.zcash
directory and/or take a VM snapshot?The text was updated successfully, but these errors were encountered: