Closed backpacker69 closed 6 years ago
I am in support of this proposal and believe it will increase the overall utility of the chain. This will benefit future and current second-layer solutions. In terms of the listed drawbacks, the blockchain size increase from this change will not be without the user paying and exact fee for their data. For alternatives I believe removing the cap all together would be best saved for a later time. We also must consider the limitations from MAX_STANDARD_TX_SIZE.
As this limit is just a relay rule, we can make it configurable and set it to a default of 1024 bytes for relaying. On the other hand, we can make the RPC interface refuse >80 byte transactions by default, so that users should explicitly turn it on so they are fully aware they are using a non-portable feature (with portable I mean bitcoin compatible).
I'm a bit skeptic about this one. Would this help PeerAssets? In my opinion, the 80 bytes limit for OP_RETURN is a bit low but 1024 would already perhaps incentive "bloaty" data schemes (e.g. without compression). I would favour about 256 bytes, but again, I'm not a developer. Maybe the 0.01/kB fee is enough to dis-incentive bloat ...
Would this help PeerAssets?
No, PA is made to work with 80 bytes with a lot of space remaining.
What would happen in practice if only a minority of nodes "opt in" to relaying an OP_RETURN = 1024?
Tell me if this is right or wrong:
@nohea This is what the PARS project did. It removed OP_RETURN relay limit and all other standardness rules in a modified client build. The bullet points are indeed exactly what happens.
@hrobeers thank you. I read about the your PARS project before, i wanted to confirm in this case, RFC 8, if the default client is modified.
I believe 256 byte max OP_RETURN is enough.
I just thought this is an interesting discussion of OP_RETURN size on the Bitcoin side: https://github.com/bitcoin/bitcoin/pull/5286
Is this RFC for increasing OP_RETURN size related to Pay-to-tag-hash / P2TH ? Like, having asset/deck names bigger than 80 bytes? https://peerassets.github.io/P2TH/
No, PeerAssets is crazy efficient. 10 - 20 bytes are usually spent on deck spawn. I did 45 cards batched transfer once too, it all fitted in 80 bytes.
it's partially related to length of asset_specific_data for some use cases
In their recent upgrade, Bitcoin-cash has increased the OP_RETURN to 220 bytes.
Do we have agreement about op_return size limit now?
Settled on 256 bytes limit.
Current limit is 80 bytes, it is proposed to increase it to 1024 bytes.