0.10.1 cli RPC createrawtransaction creates txn type 1 which it will itself reject very soon #6157

issue kanoi opened this issue on May 19, 2015
  1. kanoi commented at 12:32 AM on May 19, 2015: none

    This one seems rather urgent for a fix/release: The cli RPC createrawtransaction is creating type 1 transactions by default that it will itself reject shortly

    https://github.com/bitcoin/bitcoin/blob/master/src/primitives/transaction.h#L184

    Simple test - use bitcoin-cli RPC createrawtransaction - and look at the first 4 hex bytes output.

  2. sipa commented at 12:44 AM on May 19, 2015: member

    Why would v1 transactions be rejected?

  3. kanoi commented at 12:53 AM on May 19, 2015: none

    Isn't that the point of the old debug message in 0.9.* that was removed? e.g. SetBestChain: 17 of last 100 blocks above version 2 re: BIP 66? Or have I misunderstood it :P

  4. luke-jr commented at 4:10 AM on May 19, 2015: member

    Version 2 blocks, not transactions, will "soon" be rejected. 0.10.x always makes version 3 blocks.

  5. laanwj commented at 7:38 AM on May 19, 2015: member

    The plan about v2/v3 transactions is in BIP62, not BIP66. With the note however that "v1 (and v2) transactions remain valid forever." There are no plans to reject any version of transaction, ever. @sipa go away, you're on holiday :astonished:

  6. laanwj closed this on May 19, 2015

  7. kanoi commented at 8:20 AM on May 19, 2015: none

    Thanks - yep - I misunderstood :)

  8. MarcoFalke locked this on Sep 8, 2021

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-04-29 03:16 UTC

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