Merge #10874: [RPC] getblockchaininfo: Loop through the bip9 soft fork deployments...
commit9e38d357447eb8bcc17d4438bc9f4f3a34fac308
authorWladimir J. van der Laan <laanwj@gmail.com>
Thu, 30 Nov 2017 17:19:21 +0000 (30 18:19 +0100)
committerWladimir J. van der Laan <laanwj@gmail.com>
Thu, 30 Nov 2017 17:19:49 +0000 (30 18:19 +0100)
treebf338d3101c783ca1c2e9345e27fb00e10ee6c6c
parent60d739eb49478a7d3a3c6def34467ce068580ad7
parente4d0af4fe1383cf401f8b9cb674845bd083e3234
Merge #10874: [RPC] getblockchaininfo: Loop through the bip9 soft fork deployments instead of hard coding

e4d0af4 Loop through the bip9 soft fork deployments instead of hard coding (Andrew Chow)

Pull request description:

  Instead of hard coding which deployment statistics should be listed in the `getblockchaininfo` output, loop through the available deployments (except testdummy) when displaying their deployment info.

Tree-SHA512: 87e503bcf5e0fd379940d5e53320b9cbb4b47d647c66246d46f47c09a941f135e6ce1e8b75dad441ed4c22c3f41992dfde7717414be1d71c771d4ff8fe0e1936
src/rpc/blockchain.cpp