Spending (some) data carrying outputs with non-canonical public keys #5939

issue dexX7 openend this issue on March 22, 2015
  1. dexX7 commented at 7:53 pm on March 22, 2015: contributor

    I run http://redeem.bitwatch.co/ to provide a tool for users to cleanup leftovers from bare multisig data carrying transactions and recently I received a few reports of issues, when signing the sweeping transaction.

    Until some point Counterparty, as primary entity to name here, used to embed data as non-canonical public keys without valid public key prefix in bare multisig scripts, where one valid public key was intended to be used for redemption.

    With SCRIPT_VERIFY_STRICTENC and CheckPubKeyEncoding() however, it appears that those transactions are no longer signable or spendable, as far as I can see.

    I’m not sure, if this can be solved, or if there might be an alternative, but currently it looks like an estimated amount of 160k unspent dust-ish outputs seem to be affected. The actual redemption rate was unfortunally never very high though.

  2. yampi1 commented at 9:05 am on April 7, 2015: none
    I noticed that I could only redeem one output at a time.It seems currently you can’t spend multiple multisig utxo in one tx.
  3. sipa commented at 10:14 am on April 11, 2015: member
    @dexX7 Since 0.10, such transactions are indeed non-standard, unless it’s the first pubkey that is valid. Note that these are intentionally NOT made invalid by BIP66, so even though they’re non-standard (which may be relaxed), they will remain valid in blocks. @yampi1 The number of UTXOs spent has no impact at all.
  4. dexX7 closed this on Jun 18, 2015

  5. DrahtBot 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: 2025-11-27 03:12 UTC

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