Questions tagged [address]

Tells a user how to pay a recipient. Bitcoin addresses are strings consisting of numbers and letters that begin with '1', '3', or 'bc1'. Addresses encode the recipient's output script that includes either a public key or a hash of a public key or script. Bitcoin addresses should not be confused with mailing addresses or IP addresses.

A Bitcoin address is an encoding the hash of an ECDSA public key or a script. Addresses are give out to others so that Bitcoin can be sent to the owner of the address.

Addresses encode a specific type of output and output script to the wallet.

An address that begins with a 1 is a Pay-To-Public-Key-Hash address. It is the Base58 Check Encoding of the RIPEMD160 of the SHA256 of an ECDSA public key. It tells the wallet that the output script should be of the form OP_DUP OP_HASH160 <pubkey hash> OP_EQUALVERIFY OP_CHECKSIG.

An address that begins with a 3 is a Pay-To-Script-Hash address. It is the Base58 Check Encoding of the RIPEMD160 of the SHA256 of a script, known as the redeemScript. It tells the wallet that the output script should be of the form OP_HASH160 <script hash> OP_EQUAL.

An address that begins with the string bc1 is the BIP 173 (bech32) encoding of a witness version number and either a public key hash or a script hash. If the address is decoded to a data part that consists of 20 bytes and a version number of 0, it refers to a Pay-To-Witness-Public-Key-Hash output. These addresses specify that the output script be a native segwit output of the form OP_0 <public key hash> The <public key hash is the same hash as in a P2PKH address explained above.

If the address is decoded to a data part that consists of 32 bytes and a version number of 1, it refers to a Pay-To-Witness-Script-Hash output. These addresses specify that the output script be a native segwit output of the form OP_0 <script hash>. The script hash is the SHA256 of the witness script.

1065 questions
140
votes
11 answers

Is it possible to brute force bitcoin address creation in order to steal money?

Bitcoin users frequently generate new addresses for each transaction they make, which greatly increases the number of bitcoin addresses being used to receive money. Would it be possible (and profitable) for someone to find collisions in the bitcoin…
nmat
  • 11,479
  • 14
  • 50
  • 78
73
votes
4 answers

What is a compressed Bitcoin key?

The standard Bitcoin client in version 0.6 apparently introduces compressed keys. What are they? Are there any drawbacks to using them? Any incompatibilities with older software? Reductions in cryptographic strength?
Thilo
  • 4,751
  • 5
  • 25
  • 37
69
votes
5 answers

What happens if your bitcoin client generates an address identical to another person's?

Here's a what-if scenario: Person A has a Bitcoin address with 25BTC. Person B opens up their Bitcoin client: which may or may not have the complete blockchain (the latter would mean no copies of Person A's transactions) Person B presses "New…
Austin Burk
  • 1,109
  • 2
  • 9
  • 15
52
votes
3 answers

What's the difference between a wallet and an address?

Bitcoin seems to have the concept of a wallet and an address. Are they the same thing? If not, how do they differ?
Colin Dean
  • 7,014
  • 3
  • 30
  • 58
45
votes
3 answers

Why does Bitcoin send the "change" to a different address?

For example I have an address (A) with 20 BTC and send 9 BTC to address (B). Bitcoin will create a "change" portion of the transaction where the remaining 11 BTC goes to address (C). Why not send the change back to A? Instead of: Initial balance:…
DeathAndTaxes
  • 8,747
  • 2
  • 36
  • 65
42
votes
7 answers

What happens if I mistype the address when making a payment?

I sent bitcoins to an address, but I think I made a typo when I copied it. Where did these bitcoins go. Can I get them back?
lemonginger
  • 5,392
  • 4
  • 36
  • 55
39
votes
3 answers

What is a stealth address?

Stealth addresses are mentioned in the context of privacy of bitcoin transactions. What are they and how would they work? Can they provide 100% anonymity?
Emre Kenci
  • 3,158
  • 2
  • 19
  • 45
39
votes
2 answers

What are Green Addresses?

What are Green Addresses? Is it true that they can solve the "confirmation delay" problem, and how does that work? Are there any drawbacks?
Thilo
  • 4,751
  • 5
  • 25
  • 37
37
votes
10 answers

How is it possible to launder bitcoins?

Some services, such as bitcoinlaundry.com, claim that they can launder your bitcoins. Since all bitcoin transactions are publicly logged, how is this done? Wouldn't it be possible to trace back the transactions and find out the initial address?
nmat
  • 11,479
  • 14
  • 50
  • 78
35
votes
1 answer

Why are Bitcoin addresses hashes of public keys?

Currently, Bitcoin addresses and their checksums are constructed from the public key by a using repeated hashing with SHA256 and RIPEMD160. Now I understand the reasoning behind using hashing for constructing the checksum, but why wasn't just the…
Noah
  • 1,469
  • 12
  • 19
33
votes
3 answers

Why does Bitcoin use two hash functions (SHA-256 and RIPEMD-160) to create an address?

Why do we use 2 hash functions (both SHA and RIPEMD) to create an address? Why not just use one hash function?
anapaso
  • 783
  • 1
  • 7
  • 10
30
votes
5 answers

How are public & private keys in an address created?

I understand the high level concept I am more interested specific details. How is a private key generated. How exactly is public key generated, how is address generated from public key.
DeathAndTaxes
  • 8,747
  • 2
  • 36
  • 65
27
votes
2 answers

How many Bitcoin addresses are/have been carrying a balance?

Bitcoin addresses can be generated at will, and the theoretical limit to their number is high. Addresses are constantly being generated to receive funds or balance transactions, but they are also being emptied. How many addresses are carrying a…
Joseph Tanenbaum
  • 490
  • 4
  • 10
26
votes
1 answer

How secure is blockchain.info?

How secure is using a wallet on blockchain.info? How do you evaluate the different sites that provide wallets?
B Seven
  • 871
  • 2
  • 9
  • 19
24
votes
3 answers

Why does Bitcoin support both compressed and uncompressed keys/addresses?

My question is about the difference between compressed keys and addresses, and i know it was addressed in another question but my question is less about the theory and more about how the keys are used practically in Bitcoin. So heres what I did: I…
leximus prime
  • 445
  • 3
  • 6
1
2 3
70 71