upcarta
  • Sign In
  • Sign Up
  • Explore
  • Search

[bitcoin-dev] TXHASH + CHECKSIGFROMSTACKVERIFY in lieu of CTV and ANYPREVOUT

  • Article
  • Jan 26, 2022
  • #Bitcoin
Russell O'Connor
@russell_oconnor
(Author)
lists.linuxfoundation.org
Read on lists.linuxfoundation.org
1 Recommender
1 Mention
Recapping the relationship between CTV and ANYPREVOUT:: It is known that there is a significant amount of overlap in the applications that are enabled by the CTV and ANYPREVOUT pro... Show More

Recapping the relationship between CTV and ANYPREVOUT::

It is known that there is a significant amount of overlap in the
applications that are enabled by the CTV and ANYPREVOUT proposals despite
the fact that their primary applications (congestion control for CTV and
eltoo lightning channels for ANYPREVOUT) are quite distinct.
In particular, ANYPREVOUT can enable most of the applications of CTV,
albeit with a higher cost. The primary functionality of CTV is to allow a
scriptPubKey to make a commitment to its spending transaction's hash with
the input's TXID excluded from the hash. This exclusion is necessary
because the scriptPubKey is hashed into the input's TXID, and including the
TXID would cause a cycle of hash commitments, which is impossible to
construct. On the other hand, ANYPREVOUT defines a signature hash mode
that similarly excludes the inputs TXID for its purpose of rebindable signatures.

Show Less
Recommend
Post
Save
Complete
Collect
Mentions
See All
Rusty Russell @rusty_twit · Feb 5, 2022
  • Post
  • From Twitter
I really enjoy Russell O'Connor's refreshingly cogent thinking. Worth reading: [link] "Given the overlap... between CTV and ANYPREVOUT, ... makes sense to decompose their operations into their constituent pieces and reassemble their behavior programmatically."
  • upcarta ©2025
  • Home
  • About
  • Terms
  • Privacy
  • Cookies
  • @upcarta