File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 2222 * A miner stamps the block at template creation, then spends an arbitrary amount
2323 * of time factoring (eg. 180s, which is extremely fast for mainnet diff). Normally by the time the solution is broadcast,
2424 * the timestamp, determined before factoring starts, is far in the past.
25- * Assuming monotonic timestamp, the only failure mode is a miner whose local clock is so far ahead (eg. 185s ahead)
25+ * Assuming monotonic timestamp, the only failure mode is a miner whose local clock is so far ahead (eg. 211s ahead)
2626 * that template creation timestamp is still in the future by the time peer receives the mined block,
27- * or if a normal node falls 185s behind.
27+ * or if a normal node falls 211s behind.
2828 */
29- static constexpr int64_t MAX_FUTURE_BLOCK_TIME = 4 ;
29+ static constexpr int64_t MAX_FUTURE_BLOCK_TIME = 30 ;
3030
3131/* *
3232 * Timestamp window used as a grace period by code that compares external
Original file line number Diff line number Diff line change 2121from test_framework .test_framework import BitcoinTestFramework
2222from test_framework .util import assert_equal
2323
24- MAX_FUTURE_BLOCK_TIME = 4
24+ MAX_FUTURE_BLOCK_TIME = 30
2525
2626
2727class InvalidBlockRequestTest (BitcoinTestFramework ):
You can’t perform that action at this time.
0 commit comments