Avatar
f7a8be33
f7a8be339dd5cbbb6fe0dc47d4182c88a39ca3b7bc2e46ca3ae28c0f298cc97f
Sats. Seeds. Shells.

Have you fallen into the ‘rabbit hole’ of covenants?

My newest interview with @AmelieHua

https://bitcoinmagazine.com/technical/an-interview-with-polyd-the-rabbit-hole-of-covenants

Here's a diagram of the splitting in a payment pool. I don't remember which reference I pulled it from.

#m=image%2Fjpeg&dim=1080x626&blurhash=i6SigQM%7B%7Eqt7xuoft7xuIU%3FbM%7BD%25ofM%7BWBj%5Bj%5B%25MIURjayt7%25MWBRjofWB_3ofRjofWBWBWBWBj%5B%3Fbt7t7ayIUj%5Bt7WBWB&x=798c91dd2ca084c01188221c54b9224908ddf482201dadda342a77d33ffabf9b

There's a bit of a confusion between the various proposals and CTV itself. Its job is to be a TXID lock and there's not a large design space for that. None of them are competitors to CTV. In fact, CTV has no competitors at all. It's constrained to a primitive and nothing can be added or removed. Jeremy had been working on a few proposals but dropped them in favor of CTV.

Post CTV and we have basic covenants in the market, we can better determine whether we wish for OP_VAULT or OP_CCV (matt). We'll also be able to better analyze whether we want TXHASH or TEMPLATE KEY. In both cases, it would best to have a primitive that acts as a keystone for all future upgrades.

Replying to Avatar vnprc

I don't have a single work that explains fully why CTV is the best covenant proposal. I came to this opinion slowly after many years of studying bitcoin and lightning technical design and watching the debate play out.

I think the most convincing argument today is that many builders working on different problems have converged on the same, simple tool that enables or amplifies what they can build.

James O'Bierne has been working on vaults for years. First he designed a protocol using only CTV, then leveled it up into a distinct opcode, OP_VAULT, that did not use CTV. After incorporating feedback and improving his proposal he brought CTV back in because it was the best tool for the job. Now, OP_VAULT depends on CTV as an underlying primitive. I can't think of a stronger endorsement.

https://github.com/jamesob/bips/blob/jamesob-23-02-opvault/bip-0345.mediawiki

Ruben Somsen and Lloyd Fournier showed that CTV improves DLC efficiency by ~30x in the worst case.

https://mailmanlists.org/pipermail/dlc-dev/2022-January/000102.html

Greg Sanders built an LN-symmetry proof of concept and, in the process, found that using CTV simplified the protocol, removing round trips and improving payment times.

https://delvingbitcoin.org/t/ln-symmetry-project-recap/359

I haven't looked into Salvatore Ingala's MATT proposal but apparently he's planning to include CTV also. Maybe nostr:npub1775tuvua6h9mkmlqm3ragxpv3z3eegahhshydj36u2xq72vve9lsq29jcw can elaborate on this one.

The other thing that gives me conviction is the simplicity of CTV's design. Saint-Exupéry said that perfection is only achieved when there is nothing left to take away. I think it's clear that BIP119 embodies this principle. It's as simple as it can be to achieve its design goals. There is nothing left to take away.

A Flock of Ruebens

#RubinsRuebens #LNhance #CTV

#m=image%2Fjpeg&dim=1024x1024&blurhash=ULIgZp%5EiAMWAp%7B%252%24M%3D%7Cveo%24%235TKk%3DKjITR5&x=d964698c803f88e9871cb22fc322d9252ed7842b5c44f84fc85eea641f9d754e

Great one 😂. Memetics are stronger. It is a mind virus after all ;). Try this one on for... size. (I'll see myself out now 😂)

#m=image%2Fjpeg&dim=1024x1024&blurhash=UQH.4v-o_NNx_N%252x%5Doz9GofIBaeT0WXnhsn&x=dba15d5cc47cb723e0fe2f473c80dd8a8d62eafdfcc9b766aec25a772dc07e12

Captain Ahabread: Searching for Moby Dish

#RubinsReubens #LNhance #CTV

#m=image%2Fjpeg&dim=1024x1024&blurhash=UT8%3F2RyDK%2CIoysslTeT0gNadozo%23TeV%40s.sT&x=a16aac4bb2f55572768201ae691c5135fc91f9db373a0c4aaa283ceed581ef87

It's not about the software itself. If the market was ready for it, it'd be ready in a week. The problem is the market needs to learn what it desires.

Core is your best bet, I'm tempted to spin up Knots to see what GUI changes Luke has done, I just don't agree with the default relay settings so I'd change them. Sparrow is a nice tool as well. I'll be honest, I rarely run my node, it's typically off months at a time. Peter Todd has also started his own distro called Libre Relay which has a more relaxed op_return and a new RBF called One-Shot but it's still super beta.

The thing that has really helped me learn the innards to all this was Jeremy's advent calendar that he made for CTV. I spent a good year trying to decipher it all and I'm still learning.

https://rubin.io/advent21/

I've written two of my own essays to try and help teach what I've learned.

https://app.sigle.io/polydeuces.id.stx

Here's the BIP for Template Key

https://github.com/reardencode/bips/blob/bip-template-key/bip-template-key.mediawiki

Yeah, I'm not the most familiar with how best to do fees yet but I think Sponsors might be the best way to go, i'd much rather make explicit primitives for everything instead of trying to it perfectly via the covenant mechanism.

Txhash is CTVv2. It would allow you to have more flexible fees and control what happens with the committed tx's. The problem is it can be designed a hundred different ways, and I've lost confidence in the developers who are pushing it for multiple reasons. The first being, they don't actually understand CTV, they see it as "limited" because it doesn't deal with sighash flags and sets everything in stone, so they're trying to fix a problem they don't understand. They try and say that CTV is flawed because it uses CPFP more often than RBF but they don't realize (because they don't understand CTV trees) that you can't RBF in those situations or it breaks the trees because the TXID must be immutable. Another big red flag for me (besides the fact that theyve been nacking CTV for years and not producing any code to replace CTV) is that they see zero risk concerns for behaviors that txhash can do such as TXHASH+CSFS gives you drivechains and MEV. The MEV can occur because of the exact flexibility that they desire from txhash. They're also not even aware that CTV has its own upgrade path, Rearden has made one called Template Key. The difference between txhash and TK is TK is a single byte mode operator while txhash relies on multibyte sighash flags. They have zero self awareness and honesty my patience has run out with them, I am finding them to be intellectually dishonest at this point.

Yeah, vaults place restrictions on your corn. NACK. 🤣

How do you like this one? Tried to keep the Moby theme

#RubinsReubens

#m=image%2Fjpeg&dim=1024x1024&blurhash=UT8%3F2RyDK%2CIoysslTeT0gNadozo%23TeV%40s.sT&x=a16aac4bb2f55572768201ae691c5135fc91f9db373a0c4aaa283ceed581ef87