# Covenant tools softfork

**URL:** <https://delvingbitcoin.org/t/covenant-tools-softfork/98>\
**Category:** Protocol Design\
**Tags:** softfork\
**Created:** [September 28, 2023, 6:33pm UTC](https://delvingbitcoin.org/t/covenant-tools-softfork/98 "2023-09-28T18:33:29Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![ajtowns](https://delvingbitcoin.org/user_avatar/delvingbitcoin.org/ajtowns/32/417_2.png) [@ajtowns](https://delvingbitcoin.org/u/ajtowns)\
**Post date:** [September 29, 2023, 7:51pm UTC](https://delvingbitcoin.org/t/covenant-tools-softfork/98/9 "2023-09-29T19:51:55Z")

</div>

Couple of comments:

> [@jamesob](#):
>
> I’d like to propose a softfork deployment that activates the consensus changes outlined in

Personally, I think the “activation” part is probably the least interesting/useful thing to talk about.

> [@jamesob](#):
>
> The patches for BIP-118 and BIP-119 have long been stable and well scrutinized;

I don’t really think that’s quite true: there’s a couple of outstanding changes to BIP 118 that seem pretty likely to be desirable ([inq#19](https://github.com/bitcoin-inquisition/bitcoin/issues/19)); and I don’t really think either 118 or 119 have really been super well scrutinized. Meanwhile, 345 hasn’t had been officially published yet.

> [@jamesob](#):
>
> Vaults with BIP-345, on the other hand, would be delayed only by the speed of wallet implementers. [Example wallet implementations](https://github.com/jamesob/opvault-demo/) already exist,

The link there goes to a project whose first commit was two weeks ago. To me, that’s an exciting first step – I’d rather read about how that works, see demo transactions, and think about if either it’s broken, or if it could be improved, either with better use of the proposed features, or with alternative proposals. But using a two week old demo as an argument for activating a consensus change just seems way over-eager.

> [@jamesob](#):
>
> The implementation for these consensus changes is only about [7,000 lines](https://github.com/bitcoin/bitcoin/compare/master...jamesob:bitcoin:2023-09-covtools-softfork?), and that includes comprehensive testing.

I wouldn’t call the bip 118 code “comprehensively tested” – implementing the proposed change mentioned above doesn’t cause any breakage in the unit tests, and there aren’t test vectors included with the BIP, eg.

For me, I’d rate the next steps as:

1. make it easy for people to try out demos and see what value they have (the vault stuff, ln-symmetry, spacechains?), ideally being able to run a live demo in public, in a way that allows people to attempt to attack it
2. improve tooling for all this stuff – we still don’t really have all the tooling for _taproot_, after all (eg musig2, adaptor signatures, descriptors to specify specific tapscripts…)
3. once we’ve demonstrated that these really are good idea, get more thorough review of everything, including:
  - more tests
  - check if there’s any tangible improvements to be had from tweaking the API (`op_txhash` etc)
  - do our best to make sure that people can understand the proposed changes and judge them on their merits

4. only then see about activating them

---

_[View the full topic](https://delvingbitcoin.org/t/covenant-tools-softfork/98)._
