test: compare `/chaininfo` response with `getblockchaininfo` RPC #24797

pull brunoerg wants to merge 1 commits into bitcoin:master from brunoerg:2022-04-compare-blockchaininfo-rest-chaininfo changing 1 files +4 −0
  1. brunoerg commented at 1:54 PM on April 7, 2022: contributor

    The /chaininfo REST endpoint gets its infos from getblockchaininfo RPC, so this PR adds an assert_equal (in interface_rest) to ensure both responses are the same. Obs: other endpoints do the same for their respective RPC.

  2. test: compare `/chaininfo` response with `getblockchaininfo` RPC 0f7dc893ea
  3. fanquake added the label Tests on Apr 7, 2022
  4. 0xB10C commented at 3:12 PM on April 9, 2022: contributor

    Concept and Code Review ACK 0f7dc893ea1776515173dcd0bfe6826e963c90f3. Belts-and-spenders.

  5. MarcoFalke merged this on Apr 11, 2022
  6. MarcoFalke closed this on Apr 11, 2022

  7. sidhujag referenced this in commit 06a400b3e3 on Apr 11, 2022
  8. brunoerg cross-referenced this on Apr 21, 2022 from issue test: compare `/mempool/contents` response with `getrawmempool` RPC by brunoerg
  9. MarcoFalke referenced this in commit 7a4ac713aa on Apr 21, 2022
  10. sidhujag referenced this in commit 10456e9820 on Apr 22, 2022
  11. brunoerg cross-referenced this on May 12, 2022 from issue test: compare `/mempool/info` response with `getmempoolinfo` RPC by brunoerg
  12. MarcoFalke referenced this in commit fe1fcdc629 on May 13, 2022
  13. sidhujag referenced this in commit 416f3829be on May 13, 2022
  14. bitcoin locked this on Apr 11, 2023

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-20 06:53 UTC