Bitcoin Forum
June 20, 2025, 09:45:13 PM *
News: Latest Bitcoin Core release: 29.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Hash of public key as address  (Read 417 times)
highperspective (OP)
Member
**
Offline Offline

Activity: 87
Merit: 10


View Profile
September 19, 2017, 06:10:36 PM
 #1

Is it correctly understood, that the transaction creator (A sends money to B) A, addresses the transaction to the hash of B's public key? In order for B to redeem this transaction later, he has to proof that his public key hashes to the same hash, as A addressed the value to.
And by this and the "sig", B redeems the right to the value, previously addressed to him/her.
HeRetiK
Legendary
*
Offline Offline

Activity: 3332
Merit: 2289


Top-tier crypto casino and sportsbook


View Profile
September 19, 2017, 07:00:31 PM
Merited by ABCbits (1)
 #2

Is it correctly understood, that the transaction creator (A sends money to B) A, addresses the transaction to the hash of B's public key? In order for B to redeem this transaction later, he has to proof that his public key hashes to the same hash, as A addressed the value to.
And by this and the "sig", B redeems the right to the value, previously addressed to him/her.

Pretty much, yeah.

In order for B to redeem this transaction, they first have to reveal the public key of said address. The public key is verified by hashing it the same way that the address was originally created, meaning the hashed public key should equal the BTC address.

Secondly they have to sign the transaction with the corresponding private key. Now that the public key of said address is known and verified, miner / nodes can use this public key to verify whether the transaction was signed with the correct private key.

Btw the BTC address is slightly more than just a simple hash of the public key. For more details, refer to this wiki page:

https://en.bitcoin.it/wiki/Technical_background_of_version_1_Bitcoin_addresses

██████▄██▄███████████▄█▄
█████▄█████▄████▄▄▄█
███████████████████
████▐███████████████████
███████████▀▀▄▄▄▄███████
██▄███████▄▀███▀█▀▀█▄▄▄█
▀██████████▄█████▄▄█████▀██
██████████▄████▀██▄▀▀▀█████▄
█████████████▐█▄▀▄███▀██▄
███████▄▄▄███▌▌█▄▀▀███████▄
▀▀▀███████████▌██▀▀▀▀▀█▄▄▄████▀
███████▀▀██████▄▄██▄▄▄▄███▀▀
████████████▀▀▀██████████
.BETFURY.....█████████████
███████████████
███████████████
██▀▀▀▀█▀▀▄░▄███
█▄░░░░░██▌▐████
█████▌▐██▌▐████
███▀▀░▀█▀░░▀███
██░▄▀░█░▄▀░░░██
██░░░░█░░░░░░██
███▄░░▄█▄░░▄███
███████████████
███████████████
░░█████████████
█████████████
███████████████
███████████████
██▀▄▄▄▄▄▄▄▄████
██░█▀░░░░░░░▀██
██░█░▀░▄░▄░░░██
██░█░░█████░░██
██░█░░▀███▀░░██
██░█░░░░▀░░▄░██
████▄░░░░░░░▄██
███████████████
███████████████
░░█████████████
monkeydominicorobin
Full Member
***
Offline Offline

Activity: 294
Merit: 104


✪ NEXCHANGE | BTC, LTC, ETH & DOGE ✪


View Profile
September 21, 2017, 05:23:18 AM
 #3

Is it correctly understood, that the transaction creator (A sends money to B) A, addresses the transaction to the hash of B's public key? In order for B to redeem this transaction later, he has to proof that his public key hashes to the same hash, as A addressed the value to.
And by this and the "sig", B redeems the right to the value, previously addressed to him/her.

You are right about that. This is almost similar in principle as that of Multi-signature wallets.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!