0

So far as I understand it, a Bitcoin transaction is signed with a private key and the rest of the network can then use the public key to verify that it is indeed signed by the right private key. However, as public keys are hashed, how do I use them to verify the private key?

1 Answer 1

4

When an output is spent, the corresponding public key is disclosed and used in the verification.

2
  • Ah okay, so whenever you send something you show the public keys. I assume that is only why you should not use the same addresses multiple times?
    – no nein
    Commented Aug 21, 2017 at 20:21
  • @nonein: That's one of the reasons, yes. Specifically, reusing addresses opens a vulnerability to quantum computers. Commented Aug 21, 2017 at 21:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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