what if a coin is spendable by multiple keys?

1

it seems like the scripting language could allow multiple private keys to spend a coin?

what if i send a coin to someone, but also allow it to be spendable by me. would their wallet still show they received the $?

Farzher

Posted 2018-08-05T02:35:55.940

Reputation: 173

Answers

3

Depends on the wallet. To recognise the transaction at all, their wallet would have to have the script / multisig address in it too. They'd have to have done that themselves, you can't generally trick someone because their wallet simply wouldn't see the transaction at all.

MeshCollider

Posted 2018-08-05T02:35:55.940

Reputation: 8 735

right, obviously depends on the wallet. i was asking about the current popular ones. you're saying they wouldn't recognize it, because it's a weird format? that's good!Farzher 2018-08-05T03:13:58.517

Yep! A multisig address starts with a 3 and is indistinguishable from any other address starting with a 3 unless you have the corresponding scriptMeshCollider 2018-08-05T03:15:21.347

do you need a multisig address to do something like this? you can't lock a coin for 1 of 2 normal bitcoin addresses?Farzher 2018-08-05T03:16:34.437

@StephenBugsKamenar That's essentially what a multisig does. You supply m public keys, and say an output can be spent by n of those keys signing the tx (an n of m multisig).Raghav Sood 2018-08-05T04:07:38.487