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: member

    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: member

    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. MarcoFalke referenced this in commit 7a4ac713aa on Apr 21, 2022
  9. sidhujag referenced this in commit 10456e9820 on Apr 22, 2022
  10. MarcoFalke referenced this in commit fe1fcdc629 on May 13, 2022
  11. sidhujag referenced this in commit 416f3829be on May 13, 2022
  12. DrahtBot 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-02 03:13 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me