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 $?

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.

  • 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 Aug 5 '18 at 3:13
  • Yep! A multisig address starts with a 3 and is indistinguishable from any other address starting with a 3 unless you have the corresponding script – MeshCollider Aug 5 '18 at 3:15
  • 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 Aug 5 '18 at 3:16
  • @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 Aug 5 '18 at 4:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.