Add support for creating v3 raw transactions in createrawtransaction RPC #31348

issue rkrux openend this issue on November 22, 2024
  1. rkrux commented at 12:49 pm on November 22, 2024: none

    Please describe the feature you’d like to see added.

    Currently, createrawtransaction RPC creates only v2 raw transaction, i.e. the first byte of the serialised transaction hex is 02. It’d be helpful for the RPC to conditionally create V3 raw transactions if such intent is passed in the arguments of the RPC call.

    No response

    Describe the solution you’d like

    • A new argument to the RPC call can be passed that allows the user to create v3 raw transactions conditionally. It can be either a bool isV3 or int version (with sanity checks) whichever is most compatible with the current RPC nomenclature.
    • Default transaction version need not change as part of this solution.

    Describe any alternatives you’ve considered

    No response

    Please leave any additional context

    Need to double check for conformity of v3 raw transactions with other RPCs. Though I didn’t notice any issue with signing and broadcasting v3 transactions after manually updating the hex during testing TRUC transactions while coming up with V28 Testing Guide.

  2. rkrux added the label Feature on Nov 22, 2024


rkrux

Labels
Feature


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: 2024-12-21 15:12 UTC

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