[Consensus] Bury CSV deployment height

Hard code CSV deployment height to 419328 for mainnet.
This commit is contained in:
John Newbery committed 2019-08-14 15:52:52 -04:00
1 parent 3862e473f0
commit 1c93b9b31c
8 files changed
+54 -98

No files matched your search

+4
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)