rpc: move softfork info from getblockchaininfo to getdeploymentinfo

This commit is contained in:
Anthony Towns
2021-12-01 17:46:21 +10:00
parent 7908772244
commit fd826130a0
7 changed files with 95 additions and 36 deletions

View File

@@ -91,7 +91,7 @@ class BIP65Test(BitcoinTestFramework):
self.rpc_timeout = 480
def test_cltv_info(self, *, is_active):
assert_equal(self.nodes[0].getblockchaininfo()['softforks']['bip65'], {
assert_equal(self.nodes[0].getdeploymentinfo()['deployments']['bip65'], {
"active": is_active,
"height": CLTV_HEIGHT,
"type": "buried",