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.
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-
brunoerg commented at 1:54 PM on April 7, 2022: member
-
test: compare `/chaininfo` response with `getblockchaininfo` RPC 0f7dc893ea
- fanquake added the label Tests on Apr 7, 2022
-
0xB10C commented at 3:12 PM on April 9, 2022: member
Concept and Code Review ACK 0f7dc893ea1776515173dcd0bfe6826e963c90f3. Belts-and-spenders.
- MarcoFalke merged this on Apr 11, 2022
- MarcoFalke closed this on Apr 11, 2022
- sidhujag referenced this in commit 06a400b3e3 on Apr 11, 2022
- MarcoFalke referenced this in commit 7a4ac713aa on Apr 21, 2022
- sidhujag referenced this in commit 10456e9820 on Apr 22, 2022
- MarcoFalke referenced this in commit fe1fcdc629 on May 13, 2022
- sidhujag referenced this in commit 416f3829be on May 13, 2022
- DrahtBot locked this on Apr 11, 2023