[rpc] Tidy up reporting of buried and ongoing softforks

This combines reporting of buried (formally ISM) softfork deployments
and BIP9 versionbits softfork deployments into one JSON object in the
getblockchaininfo return object.
This commit is contained in:
John Newbery committed 2019-08-13 15:53:02 -04:00
1 parent 3a3d8b8357
commit 3862e473f0
5 files changed
+81 -99

No files matched your search

+1 -1
View File
@@ -344,7 +344,7 @@ def delete_cookie_file(datadir):
def get_bip9_status(node, key):
info = node.getblockchaininfo()
return info['bip9_softforks'][key]
return info['softforks'][key]['bip9']
def set_node_times(nodes, t):
for node in nodes: