pull down to refresh

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.

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