Questions tagged [covenants]

13 questions
9
votes
3 answers

Bitcoin and Smart Contracts

I have recently come across the features of ethereum and the idea of smart contracts. I like the concept of smart contracts however as a currency, I much prefer the bitcoin to the ether. Is there any way smart contracts could ever be utilised by…
Kenshin
  • 506
  • 1
  • 6
  • 13
4
votes
2 answers

Spendable by me or deposit to exchange after 5 years?

It is my understanding that taproot enables multiple spending conditions for an address, if this is correct, can I do something like this in Bitcoin?: I send bitcoin to a taproot address where I want the spending conditions to be: A) Spendable if…
Fabian
  • 93
  • 1
  • 4
2
votes
3 answers

What are MATT opcodes?

There is plenty of discussion in the Bitcoin-dev mailing list about MATT opcodes, and I would like to know what these are.
Eoin McQuinn
  • 113
  • 5
2
votes
1 answer

What are the risks of OP_VAULT?

In the past it has been argued that some covenant schemes could be risky. However AFAIK OP_VAULT is a very specific and limited construction. What are the risks associated with it, if any?
Son Kaos999
  • 349
  • 1
  • 13
2
votes
2 answers

Divide unknown future input amount sent to a given address amongst known recipients in known proportions?

Is there a way to divide an unknown future input amount received by a given address amongst three recipients with proportions of, for example 0.2 , 0.3, 0.5? This would need to be done in such a way that one could send an amount and be sure that it…
Lee
  • 392
  • 1
  • 14
2
votes
2 answers

Elements (/Liquid) Tapscript opcodes

Related question: What opcodes are supported on Liquid but not yet on Bitcoin? I had seen few opcodes in the slides shared by notgrubles on Twitter. They…
user103136
2
votes
1 answer

How has the design of the opcode OP_CHECKTEMPLATEVERIFY evolved over its various renames?

OP_CHECKTEMPLATEVERIFY (BIP 119) has gone through various iterations. I don't particularly find the renames at all interesting (e.g. OP_CHECKOUTPUTSHASHVERIFY, OP_SECURETHEBAG) but I am interested in how the design of the opcode has changed and the…
Michael Folkson
  • 14,337
  • 3
  • 11
  • 45
1
vote
1 answer

Is there a particular order in which transaction inputs are checked for script validity?

When a transaction is being checked for validity, is there a particular order that the inputs are evaluated for script correctness? This might be relevant when determining what consensus changes might be practical to design. For example, if we…
1
vote
1 answer

Optimistic Multisigs

I had an idea for an optimistic multisig scheme. In a 2/2 multisig where pubkey1 could spend any time and pubkey2 could only spend after a future block number, could you have a condition that allowed pubkey3...n to make the transaction unredeemable…
slider
  • 113
  • 3
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…
1
vote
1 answer

What opcodes are supported on Liquid but not yet on Bitcoin?

What opcodes are supported in Liquid as of today (September 2021) but not (yet) on Bitcoin? What is the rationale for including these particular opcodes but not others?
Michael Folkson
  • 14,337
  • 3
  • 11
  • 45
0
votes
1 answer

Is there any workaround exist to restrict spending output address from Bitcoin Script?

Hey folks, I know this question is pretty much similar to the one, that was asked 5 years ago. I'd like to share my research and ask, if there are any movements in this fields since then? Or maybe workarounds? So, basically, the basic answer is no,…
as_ter
  • 1
0
votes
1 answer

Is it possible to design a recursive covenant opcode that results in a full node stuck in an infinite verification loop?

Is it possible to design a new opcode enabling recursive covenants that could result in a full node stuck in an infinite loop of verifying transactions? (Obviously this would never be considered for a Bitcoin soft fork, I'm just wondering about the…
Michael Folkson
  • 14,337
  • 3
  • 11
  • 45