[Consensus] Bury CSV deployment height

Hard code CSV deployment height to 419328 for mainnet.
This commit is contained in:
John Newbery
2019-05-20 14:58:44 -04:00
parent 3862e473f0
commit 1c93b9b31c
8 changed files with 54 additions and 98 deletions

View File

@@ -346,6 +346,10 @@ def get_bip9_status(node, key):
info = node.getblockchaininfo()
return info['softforks'][key]['bip9']
def softfork_active(node, key):
"""Return whether a softfork is active."""
return node.getblockchaininfo()['softforks'][key]['active']
def set_node_times(nodes, t):
for node in nodes:
node.setmocktime(t)