|
|
@ -18,7 +18,7 @@ only succeeds past a given node once its nMinimumChainWork has been exceeded. |
|
|
|
import time |
|
|
|
import time |
|
|
|
|
|
|
|
|
|
|
|
from test_framework.test_framework import BitcoinTestFramework |
|
|
|
from test_framework.test_framework import BitcoinTestFramework |
|
|
|
from test_framework.util import sync_blocks, connect_nodes, assert_equal |
|
|
|
from test_framework.util import connect_nodes, assert_equal |
|
|
|
|
|
|
|
|
|
|
|
# 2 hashes required per regtest block (with no difficulty adjustment) |
|
|
|
# 2 hashes required per regtest block (with no difficulty adjustment) |
|
|
|
REGTEST_WORK_PER_BLOCK = 2 |
|
|
|
REGTEST_WORK_PER_BLOCK = 2 |
|
|
|