doc: remove json quoting from gettxoutsetinfo and getblockstats cli examples #36155

pull csjones wants to merge 1 commits into bitcoin:master from 21-DOT-DEV:REMOVE-EXAMPLE-QUOTES changing 1 files +2 −2
  1. csjones commented at 10:54 PM on September 2, 2026: contributor

    This is a followup change based on #33230 (comment) because #33230 enabled handling cli arguments with either json or a string but the examples (i.e. bitcoin-cli help gettxoutsetinfo and bitcoin-cli help getblockstats) left the quotes. I considered adding a new example but felt that change might seem confusing.

    Steps used for building and verifying

    cmake -B build --fresh -DBUILD_KERNEL_LIB=ON -DBUILD_KERNEL_TEST=ON -DENABLE_IPC=OFF
    
    ./build/bin/bitcoind -regtest -daemon -coinstatsindex
    
    # after "synced" is true via ./build/bin/bitcoin-cli -regtest -rpcwait getindexinfo
    
    ./build/bin/bitcoin-cli -regtest help gettxoutsetinfo
    
    # example now reads: bitcoin-cli gettxoutsetinfo "none" 00000000c937983704a73af28acdec37b049d214adbda81d7e2a3dd146f6ed09
    
    ./build/bin/bitcoin-cli -regtest help getblockstats
    
    # example now reads: bitcoin-cli getblockstats 00000000c937983704a73af28acdec37b049d214adbda81d7e2a3dd146f6ed09 '["minfeerate","avgfeerate"]'
    
  2. doc: remove json quoting from gettxoutsetinfo and getblockstats cli examples 57a79c6962
  3. DrahtBot added the label Docs on Sep 2, 2026
  4. DrahtBot commented at 10:54 PM on September 2, 2026: contributor

    <!--e57a25ab6845829454e8d69fc972939a-->

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

    <!--006a51241073e994b41acfe9ec718e94-->

    Code Coverage & Benchmarks

    For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/36155.

    <!--021abf342d371248e50ceaed478a90ca-->

    Reviews

    See the guideline and AI policy for information on the review process.

    Type Reviewers
    ACK nervana21

    If your review is incorrectly listed, please copy-paste <code>&lt;!--meta-tag:bot-skip--&gt;</code> into the comment that the bot should ignore.

    <!--5faf32d7da4f0f540f40219e4f7537a3-->

  5. nervana21 commented at 8:25 PM on September 3, 2026: contributor

    ACK 57a79c69627de7854d5aec7b6b121e4a987ceb52


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-09-04 10:51 UTC

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