mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-30 07:47:36 +01:00
[Consensus] Bury segwit deployment
Hardcode segwit deployment height to 481824 for mainnet.
This commit is contained in:
@@ -342,10 +342,6 @@ def delete_cookie_file(datadir):
|
||||
logger.debug("Deleting leftover cookie file")
|
||||
os.remove(os.path.join(datadir, "regtest", ".cookie"))
|
||||
|
||||
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']
|
||||
|
||||
Reference in New Issue
Block a user