Skip to content

Commit

Permalink
Add EunosPaya height to blockchaininfo (#685)
Browse files Browse the repository at this point in the history
* Add EunosPaya height to blockchaininfo
* Update tests
  • Loading branch information
prasannavl authored Aug 17, 2021
1 parent 6f9a88a commit 5bd9e0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/rpc/blockchain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1358,6 +1358,7 @@ UniValue getblockchaininfo(const JSONRPCRequest& request)
BuriedForkDescPushBack(softforks, "dakota", consensusParams.DakotaHeight);
BuriedForkDescPushBack(softforks, "dakotacrescent", consensusParams.DakotaCrescentHeight);
BuriedForkDescPushBack(softforks, "eunos", consensusParams.EunosHeight);
BuriedForkDescPushBack(softforks, "eunospaya", consensusParams.EunosPayaHeight);
BIP9SoftForkDescPushBack(softforks, "testdummy", consensusParams, Consensus::DEPLOYMENT_TESTDUMMY);
obj.pushKV("softforks", softforks);

Expand Down
1 change: 1 addition & 0 deletions test/functional/rpc_blockchain.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ def _test_getblockchaininfo(self):
'dakota': {'type': 'buried', 'active': False, 'height': 10000000},
'dakotacrescent': {'type': 'buried', 'active': False, 'height': 10000000},
'eunos': {'type': 'buried', 'active': False, 'height': 10000000},
'eunospaya': {'type': 'buried', 'active': False, 'height': 10000000},
'testdummy': {
'type': 'bip9',
'bip9': {
Expand Down

0 comments on commit 5bd9e0b

Please sign in to comment.