New answers tagged

0

Not specific to bitcoin, but IBM released a homomorphic encryption toolkit in June 2020.


1

If you are using the GUI (the visual window interface), you should be able to do all of those things. If you only installed the command line version, type bitcoin-cli help into your terminal to see a list of commands. bitcoin-cli help <command> will give you info on what each command does.


1

Yes you can read and try things mentioned in those articles using Bitcoin Core Also refer to this link: https://bitcoin.stackexchange.com/a/98433/103136


0

This is a work in progress in answer based on a conversation between the creator of Minsc (shesek) and me. I am paraphrasing so any errors are my own. Minsc has a runtime environment with a Policy data type that gets constructed as the result of evaluating the program. The program evaluation could be considered part of the compilation process, in which case ...


4

Yes, if you lose the redeemscript, the funds are going to be locked forever. In order to spend a p2sh output, you need to both reveal the redeemscript that hashed to the address and then satisfy the conditions of that redeemscript. If the script cannot be recovered, it cannot be satisfied and the funds will not be spendable.


2

BIP 342 does exactly this (Thanks Pieter)


1

No because the opcode 186 (0xba) is undefined for SegWit version 0 spends. You can only take advantage of this opcode in SegWit version 1 spends. If you included this opcode in your SegWit version 0 transaction script any attempt to spend it would encounter this script error.


2

Since it was set to an error by Satoshi and not a SUCCESS, this would be a hardfork for all clients in-between no matter if this was already used onchain before. Just imagine a miner with the new software (which redefines VER as SUCCESS) mining a transaction containing such an OP. All the clients between 0.3.5 and the new one would refuse the block, while ...


3

The mapping between Miniscript and Script will never change. (At least, not without a major version bump of this library and at this point, probably a "Miniscript 2" which is billed as a different language.) The mapping from Policy to Miniscript may change even between successive runs of the compiler. Currently, the Miniscript compiler produces ...


4

For all intents and purposes, Bitcoin has no such opcodes. Very early versions of Bitcoin's reference implementation did, until version 0.3.10 (August 2010) when they were disabled together with a number of other opcodes. New opcodes with identical functionality could be re-introduced now with a softfork, but the fact that similar opcodes existed ...


1

You can try to miniscript compiler http://bitcoin.sipa.be/miniscript/ with the policy or(pk(K1),thresh(3,pk(K2),pk(K3),pk(K4),pk(K5),pk(K6))) to get a corresponding Script. However, to the best of my knowledge there are no user-friendly wallets supporting this as of now. But there is work being done on trying to get Miniscript into bitcoin core that can ...


Top 50 recent answers are included