test: cover scantxoutset scan-object validation errors #36877

pull Pranav-error wants to merge 1 commits into bitcoin:master from Pranav-error:test-scantxoutset-scanobject changing 1 files +8 −0
  1. Pranav-error commented at 7:07 AM on November 15, 2026: none

    The existing tests cover invalid range values but miss a few cases where the scan object itself is malformed. This adds three checks for when the scan object is not a string or object, when desc is missing, and when range has an invalid format. Each case verifies that the RPC returns the expected error (-8).

  2. test: cover scantxoutset scan-object validation errors
    The existing tests cover invalid range values but miss a few cases
    where the scan object itself is malformed. This adds three checks for
    when the scan object is not a string or object, when `desc` is missing,
    and when `range` has an invalid format. Each case verifies that the RPC
    returns the expected error (-8).
    0b2baf2314
  3. DrahtBot added the label Tests on Nov 15, 2026
  4. DrahtBot commented at 7:07 AM on November 15, 2026: contributor

    <!--e57a25ab6845829454e8d69fc972939a-->

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    <!--006a51241073e994b41acfe9ec718e94-->

    External sites

    <!--021abf342d371248e50ceaed478a90ca-->

    Reviews

    See the guideline and AI policy for information on the review process. A summary of reviews will appear here.

    <!--5faf32d7da4f0f540f40219e4f7537a3-->

Labels

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-11-18 16:51 UTC

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