mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-02 08:51:21 +01:00
[Consensus] Bury CSV deployment height
Hard code CSV deployment height to 419328 for mainnet.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user