# Great Consensus Cleanup Revival

**URL:** <https://delvingbitcoin.org/t/great-consensus-cleanup-revival/710>\
**Category:** Protocol Design\
**Created:** [March 24, 2024, 5:29pm UTC](https://delvingbitcoin.org/t/great-consensus-cleanup-revival/710 "2024-03-24T17:29:42Z")\
**Posts on this page:** 1\
**Showing post:** 76

<div class="post-metadata">

**Author:** ![Chris\_Stewart\_5](https://delvingbitcoin.org/user_avatar/delvingbitcoin.org/chris_stewart_5/32/296_2.png) [@Chris\_Stewart\_5](https://delvingbitcoin.org/u/Chris_Stewart_5)\
**Post date:** [February 27, 2025, 5:23pm UTC](https://delvingbitcoin.org/t/great-consensus-cleanup-revival/710/76 "2025-02-27T17:23:28Z")

</div>

> Did you check all utxos one by one

👍 and note, i excluded 0 value utxos. I also excluded any utxo that involves a checksig op (BIP66), and syntactically invalid Scripts (there is a lot of Scripts that have OP\_IF with no OP\_ENDIF!). I can rerun with different filters if you would like. Here is a link to the source code

> <https://github.com/Christewart/bitcoin-s-core/blob/dfcd59eddc7ac2d5c622136fa100e6a448d20021/app/scripts/src/main/scala/org/bitcoins/scripts/ScanBitcoind.scala#L225>

> In any case this statement is always true because you can just pad the scriptsig (even if that might be nonstandard).

This seems right to me but i haven’t tested this yet with the various interpreter flags (`CLEANSTACK`,`PUSHONLY`,`MINIMALDATA` etc).

> Nice, did you bruteforce all possible valid script serializations from 0 to 3 bytes and checked no corresponding P2SH exist in the utxo set?

👍

> I’m pretty sure it was discussed around Greg’s segwit ephemeral anchors (renamed ephemeral dust along the road), as alluded to by garlonicon.

I’m getting caught up on this, if you have a link handy to the discussion it would be much appreciated.

---

_[View the full topic](https://delvingbitcoin.org/t/great-consensus-cleanup-revival/710)._
