rpc: have getdeploymentinfo report script verify flags

This commit is contained in:
Anthony Towns
2022-09-14 15:40:23 +10:00
parent a3986935f0
commit 4577fb2b1e
2 changed files with 10 additions and 0 deletions

View File

@@ -213,6 +213,7 @@ class BlockchainTest(BitcoinTestFramework):
assert_equal(gdi_result, {
"hash": blockhash,
"height": height,
"script_flags": ["CHECKLOCKTIMEVERIFY","CHECKSEQUENCEVERIFY","DERSIG","NULLDUMMY","P2SH","TAPROOT","WITNESS"],
"deployments": {
'bip34': {'type': 'buried', 'active': True, 'height': 2},
'bip66': {'type': 'buried', 'active': True, 'height': 3},