Questions tagged [bip118-sighash-anyprevout]

10 questions
10
votes
1 answer

How to emulate SIGHASH_NOINPUT using CHECKSIGFROMSTACKVERIFY?

I read on bitcoin-dev that CHECKSIGFROMSTACKVERIFY (CHECKDATASIG in BCash) can be used to emulate new sighash flags. How would that work, concretely? As an example, please provide an example update transaction based on figure 4 of the Eltoo paper,…
7
votes
1 answer

Do we still need SIGHASH_NOINPUT for Lightning Network?

In the original Lightning whitepaper, Joseph Poon advocates using SIGHASH_NOINPUT so that we can create the first commitment transaction which references the funding transaction txid without actually signing the funding transaction. However that…
5
votes
1 answer

BIP118 (SIGHASH_NOINPUT) vs. ANYPREVOUT

I understand the motivation for SIGHASH_NOINPUT - it would help with offchain payment channels. It was proposed already in the Lightning paper but Eltoo will effectively work just with something like that. But what exactly is the ANYPREVOUT BIP…
fiction
  • 518
  • 2
  • 12
5
votes
1 answer

What is SIGHASH_ANYPREVOUTANYSCRIPT?

BIP 118 describes SIGHASH_ANYPREVOUT, but also mentions SIGHASH_ANYPREVOUTANYSCRIPT. What is the difference, and why is the later sighash flag needed?
4
votes
1 answer

Does the future SIGHASH_ANYPREVOUT capability hurt the privacy of Taproot lightning channels?

One of the advantages I've heard about Taproot is that all transactions will appear identical to a blockchain observer. This would of course also be true for lightning channel open/close transactions as well which would be a great privacy benefit…
3
votes
2 answers

How do eltoo channel constructions using ANYPREVOUT compare to those using CTV and CSFS?

SIGHASH_ANYPREVOUT has been designed as I understand primarily for the eltoo channel construction use case although it has many other potential use cases too. BIP 119 states: Were both OP_CHECKTEMPLATEVERIFY and OP_CHECKSIGFROMSTACKVERIFY to…
2
votes
0 answers

Qualitative anatonomy of a transaction that uses ANYPREVOUT

I am entered the world of bitcoin recently and currently I am studying the broad area of covenants (that are gaining more attention from the community, see 1). In this context, certainly the BIP-0118 is relevant. Assume hypothetically that BIP-118…
Lorban
  • 143
  • 7
2
votes
1 answer

Public keys for BIP-118 SIGHASH_ANYPREVOUT

I am reading specifications of BIP-118 that introduces the new signing mode SIGHASH_ANYPREVOUT. In the bip specifications, it is written that the addresses have length 33-bytes or 1-bytes length. In both cases, the public key starts with 0x01. If it…
Lorban
  • 143
  • 7
1
vote
1 answer

How could 6 billion people be onboarded to Bitcoin and Lightning today?

How could 6 billion people be onboarded to Bitcoin and Lightning today?
1
vote
1 answer

How do ANYPREVOUT and CTV compare when considering how useful they are for vault designs?

What is the latest state of vault research on how useful SIGHASH_ANYPREVOUT and OP_CTV are with regards to existing vault designs? Are new alternatives e.g. TapleafUpdateVerify (TLUV) currently considered more or less useful for existing vault…