pull down to refresh

You may have seen Farside Insights (nee BitMex Research) posting about a strange "spam" transaction mined by one of the BIP110 signalling miners (Roughnecks):

The transaction in question was in block 960235:

Farside Insights was thought it was odd because the block was not seen by other mempools and speculated that it may have come from an insider at Roughnecks:

In conclusion, this may indicate that there is an insider at Roughnecks, perhaps not entirely happy with the BIP-110 cause and is putting non-standard spam in blocks, using an out-of-band relay system

But however the transaction got into the block, it seems to be compliant with all BIP110 rules.

Not long after this, the ever-exciting Steve (@steverabinow) posted another entry in his ongoing series BIP110 Advent claiming to be able to embed up to 400kb tar.gz compressed archives in valid BIP110 blocks:

Steve also claims that the insider referred to in his post is actually just "sloppy code":

Let us please stop trying to prevent "spam" transactions via tightened rules. The fee market and block height limits are enough to effectively prevent spam on Bitcoin.

One man's spam is another man's ham.

Fee market doesn't fix that because there is nothing to fix. Do realize that there will be a tweeter full of people being absolutely terrified if the fee market prices out their set of 10k sat utxos for an extended period.

There is definitely a weakness in embedding arbitrary data. But BIP-110 is simply not the right way to address it, I think, and it is better to be aware of the weakness and let it be such than to try to introduce questionable code without an expectation of consensus.

reply
There is definitely a weakness in embedding arbitrary data

If we believe this to be true (and I do), what do you think is a reasonable response?

There have been many proposals over the last few years, and I feel that most of them have failed to be better than paying higher fees. Yes, this will lead to small utxos being priced out, but it seems to me that we are very far from that being a consistent state. And with things like taproot addresses, I wouldn't be surprised if a 1m sat utxo is pretty much always economically viable (I recognize that 1m sats is still quite a lot of money, but in the world where things less than that start to look too expensive, I doubt there will be very much spam at all on the chain).

If we are worried about the cost to noderunners, I believe the blocksize limit is a very safe control there.

reply
There is definitely a weakness in embedding arbitrary data
If we believe this to be true (and I do), what do you think is a reasonable response?

Activate Cross-Input Signature Aggregation and remove the witness discount.

reply

Can you remove the witness discount without ignoring incentive formed by having 2 separate limits? I challenged the "witness discount has to be a fork" for a while and I got challenged right back and couldn't find a way to do it without underutilizing available blockspace (i.e. requiring non-profit-maxxing mining).

CISA is awesome conceptually.

reply

Removing the witness discount does not hurt miner incentives.
They were mining 1000000 vBytes before, they will be mining 1000000 vBytes afterwards. And vBytes (or Weight Units) are the unit by which fees are measured.


Also since I haven't seen anyone do this before, let's do the math on transaction sizes under different consensus rules.

Consensus Rule ScenariosConsensus Rule Scenarios

  • Current Rules: No CISA, 75% witness discount
  • BIP459: CISA Full-Agg, 75% witness discount
  • BIP459 + Remove Witness Discount: CISA Full-Agg, No witness discount

Transaction TypesTransaction Types

  • Simple payment with change (1 input, 2 outputs)
  • 3 UTXO Consolidation (3 inputs, 1 output)
  • 5 UTXO Consolidation (5 inputs, 1 output)
  • 10 UTXO Consolidation (10 inputs, 1 output)
  • Coinjoin (14 inputs, 18 outputs)
  • ~50 kB JPEG Inscription (1 input with data, 1 dust output)

CalculationCalculation

Assuming the use of Schnorr Signatures.

is the witness cost factor.

is the input count.

is the output count.

TX size without CISA:

TX size with CISA Full-Agg (Might be off by a byte or two, depends on how it is ultimatelly implemented):

Simple payment with change (1 input, 2 outputs)Simple payment with change (1 input, 2 outputs)

  • Current Rules: vBytes
  • BIP459: vBytes
  • BIP459 + Remove Witness Discount: vBytes

33.12% increase

3 UTXO Consolidation (3 inputs, 1 output)3 UTXO Consolidation (3 inputs, 1 output)

  • Current Rules: vBytes
  • BIP459: vBytes
  • BIP459 + Remove Witness Discount: vBytes

7.96% increase

5 UTXO Consolidation (5 inputs, 1 output)5 UTXO Consolidation (5 inputs, 1 output)

  • Current Rules: vBytes
  • BIP459: vBytes
  • BIP459 + Remove Witness Discount: vBytes

4.4% decrease

10 UTXO Consolidation (10 inputs, 1 output)10 UTXO Consolidation (10 inputs, 1 output)

  • Current Rules: vBytes
  • BIP459: vBytes
  • BIP459 + Remove Witness Discount: vBytes

15.51% decrease

Coinjoin (14 inputs, 18 outputs)Coinjoin (14 inputs, 18 outputs)

  • Current Rules: vBytes
  • BIP459: vBytes
  • BIP459 + Remove Witness Discount: vBytes

10.29% decrease

~50 kB JPEG Inscription (1 input with data, 1 dust output)~50 kB JPEG Inscription (1 input with data, 1 dust output)

TX size:

  • Current Rules: vBytes
  • Remove Witness Discount: vBytes

397.76% increase


Let's put it into a table:

Current RulesBIP459 + Remove Witness DiscountChange (%)
Simple payment with change154 vB205 vB+33.12%
3 UTXO Consolidation226 vB244 vB+7.96%
5 UTXO Consolidation341 vB326 vB-4.4%
10 UTXO Consolidation628.5 vB531 vB-15.51%
Coinjoin1589.5 vB1426 vB-10.29%
50 kB JPEG Inscription12594.5 vB50096 vB+397.76%
reply

Correction: The change from 12594.5 vB to 50096 vB for the 50 kB JPEG inscription is actually a +297.76% increase.

reply
252 sats \ 1 reply \ @optimism 7 Aug

I don't know. If I will find out a good way in the future, I promise that I will write a BIP, get consensus on the change, all that. Burn out on it if I have to. I just know that I've not seen a proposal yet that hits the tradeoffs at the right spot, so until then, I think we should just practice the philosophy shared in Darth's clip from this morning:

126 sats \ 0 replies \ @Fenix 7 Aug

specially one code that would only works with consensus changes.

reply
103 sats \ 0 replies \ @Fenix 7 Aug
The fee market and block height limits are enough to effectively prevent spam on Bitcoin.

good see how resilient bitcoin holders are about stupid fork for virtue signaling like bip110.

reply

What’s one of the most dangerous malwares in the world?

reply

I suspect it is a copy of a recent knots release...

reply
reply

actually, it's a copy of Core 30

reply
reply

This is what I thought could always happen with bip-110.

reply

Amazing.

Fuck em all

reply

@siggy47 was the insider at Ocean because he's mining with his Avalon there :)

when outofband.siggy47.com ?

reply

Damn! You caught me

reply
reply