rpc: Use OBJ_NAMED_PARAMS in estimatesmartfee #36976

pull maflcko wants to merge 5 commits into bitcoin:master from maflcko:2611-rpc-estimatesmartfee-OBJ_NAMED_PARAMS changing 7 files +55 −13
  1. maflcko commented at 12:05 PM on November 25, 2026: member

    estimatesmartfee is the only RPC that rejects named arguments for options, which seems confusing and not user friendly.

    Fix it by using OBJ_NAMED_PARAMS.

  2. test: Extract assert_rpc_options_validation helper faef726771
  3. test: Check wrong option type in assert_rpc_options_validation faffec6234
  4. DrahtBot renamed this:
    rpc: Use OBJ_NAMED_PARAMS in estimatesmartfee
    rpc: Use OBJ_NAMED_PARAMS in estimatesmartfee
    on Nov 25, 2026
  5. DrahtBot added the label RPC/REST/ZMQ on Nov 25, 2026
  6. DrahtBot commented at 12:05 PM on November 25, 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-->

  7. test: Fix TestNodeCLI error msg parsing
    This is needed to get the full error message. Otherwise
    wallet_sendall.py --usecli, fails with:
    
    AssertionError: Expected substring not found in error message:
    substring: 'type array is not of expected type object'
    error message: 'Wrong type passed:'.
    ffff10c970
  8. test: Check duplicate passed options in assert_rpc_options_validation fa38d6a45f
  9. rpc: Use OBJ_NAMED_PARAMS in estimatesmartfee fa58135f54
  10. maflcko force-pushed on Nov 25, 2026
Contributors

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-25 17:51 UTC

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