Re: [bitcoin-dev] Multisig with hashes instead of pubkeys

2016-12-23 Thread Matthew Roberts via bitcoin-dev
The following won't be directly applicable to your question without some kind of tremendous hacking on your part: but in cryptography there is actually a way to sign a message using only hash functions. If you're interested look up the definition for "Lamport Signatures." It's an algorithm for mas

Re: [bitcoin-dev] Multisig with hashes instead of pubkeys

2016-12-23 Thread Nick ODell via bitcoin-dev
The first issue is that doing two OP_SWAP's in a row will just return you to the original state. The second issue is that all of them end up hashing the same key, so anyone on the network can spend this output. (See https://en.bitcoin.it/wiki/Script for a good resource on opcodes and what each of t

[bitcoin-dev] Multisig with hashes instead of pubkeys

2016-12-22 Thread Andrew via bitcoin-dev
Hi Is there a worked out scriptPubKey for doing multisig with just hashes of the participants? I think it is doable and it is more secure to a compromised ECDSA. I'm thinking something like this for the scriptPubKey: 2 OP_SWAP OP_SWAP OP_SWAP OP_DUP OP_HASH160 OP_EQUALVERIFY OP_DUP OP_HASH160 O