<p>A wallet is merely a collection of pairs of private/public keys. Every normal Bitcoin address is just a hash of a public key. The corresponding private key is needed to sign transactions that spend coins from the address.</p>

<p>So wallet security really is all about protecting your private keys - making sure you have access to them, and nobody else does. There are several ways to do this. A basic client software manages a wallet file for you and uses the keys within to sign transactions.</p>

<p>There are more advanced address that correspond to multisig or other scripts.</p>

<p>Re mining - almost true, instead of the miner finding the most complex block winning, every miner finding a sufficiently difficult block is rewarded. What is considered "sufficiently difficult" changes periodically.</p>

CC BY-SA 3.0
2014-02-07T20:58:12.577Z
How is a bitcoin assigned to an address? Simply by being recorded on the blockchain? And then how is the keys used to transfer those bitcoins?
Oxwivi
CC BY-SA 3.0
2014-02-09T12:16:51.120Z
@Oxwivi: The blockchain is built out of transactions. Every transaction moves bitcoins from some addresses to other addresses. For a transaction to be valid, its hash must be digitally signed with the key corresponding to the input addresses.
Meni Rosenfeld
CC BY-SA 3.0
2014-02-06T20:51:17.087Z
2014-02-06T20:51:17.087Z
Meni Rosenfeld
<p>Wallets don't exist, simply put, for each address you have a public and private key, a wallet is just a local ledger of all of these. Some people use multiple different wallets for different places they've received bitcoins (And/or different aliases, such as Work, Online, Investment, etc...), but, to anyone's eye's past yours (And your bitcoin client), the wallet doesn't exist.</p>

<p>Addresses are really the only thing that exist, and, a wallet is just a local collection of said addresses, as, not to confuse them with other addresses for different uses.</p>

<p>EDIT:- Just a note, if you own the public/private keys to multiple addresses, you can combine then on a transaction, it's not like a bank where if you need to pay half on one 'account' (address), and, half on another, you have to send two payments, you can just create a transaction referencing both, then, sign it with both private keys. In fact, the addresses don't even have to be on the same wallet, if me and my friend want to go 50/50 on a subscription fee for watchvideoswithbitcoins.tld, then, I can create a transaction referencing his TXIN (transaction input, where he got money) and the same for mine, sign it with my address, then, give him the transaction (Which at this point is still invalid, as, only one of the two inputs agree to pay) and let him sign his part of the transaction, then broadcast it. Currently, however, lots of people assume "Oh, if you signed both you must both be the same owner", which, is what "coinjoin" is based on:-
<a href="https://bitcointalk.org/index.php?topic=279249.0" rel="nofollow">https://bitcointalk.org/index.php?topic=279249.0</a></p>

CC BY-SA 3.0
2014-02-07T21:00:54.170Z
Sorry you lost me with the multiple addresses. I don't really get your point there. What exactly happen when you, say for example, send two bitcoins addressed to two wallet/hashes/whateveryouwanttocallit? A bitcoin goes to either of them?
Oxwivi
CC BY-SA 3.0
2014-02-06T19:59:03.613Z
2014-02-06T20:04:14.040Z
2014-02-06T20:04:14.040Z
Automatic
<p>You are correct on the Mining.</p>

<p>A wallet provides a secure place to store your bitcoins but it can also be more. You can encrypt messages with your bitcoin address and send it to someone. This will show the reciever that you are the holder of that bitcoin address. </p>

<p>However, The main purpose is to send and receive bitcoins.</p>

CC BY-SA 3.0
2014-02-06T19:57:49.903Z
2014-02-06T19:57:49.903Z
SimplePi
<p>I'm trying to get involved in bitcoins, but first it seems I need further clarification on the concepts involved in bitcoins.</p>

<p>First let me clarify what I know (at least what I believe to be correct): miners race to solve mathematical problems, and whoever (or whatever pool) manages to solve the most complex block at a given time is awarded the bitcoins to their wallet address.</p>

<p>Now, what I want to know is, what exactly makes a wallet wallet? Other than providing an address, what does it do? A pair of cryptographic keys make up a wallet, which I understand, is used to transact the bitcoins associated with an address; but is that all? Other than safeguarding the private key, is there anything else to mind about a wallet, i.e. does it record anything else?</p>

<p>I did not find anything explanatory aside from the key-pair mention on the Wikipedia article, and I do not have enough technical expertise to go through the bitcoin protocol to understand the concepts. Please help me with understanding wallets.</p>

CC BY-SA 3.0
2014-02-06T23:27:32.557Z
Mining: neither racing for a given time nor for the most complex. Racing to solve a problem of given difficulty until one randomly stumbles upon the answer after on average 10 minutes (currently 8 if you're nitpicking).
Jannes
<wallet><security>
What is the role of bitcoin wallets?
Oxwivi
# What is the role of bitcoin wallets?

(Asked by: username_0 on 2014-02-06)

I'm trying to get involved in bitcoins, but first it seems I need further clarification on the concepts involved in bitcoins.

First let me clarify what I know (at least what I believe to be correct): miners race to solve mathematical problems, and whoever (or whatever pool) manages to solve the most complex block at a given time is awarded the bitcoins to their wallet address.

Now, what I want to know is, what exactly makes a wallet wallet? Other than providing an address, what does it do? A pair of cryptographic keys make up a wallet, which I understand, is used to transact the bitcoins associated with an address; but is that all? Other than safeguarding the private key, is there anything else to mind about a wallet, i.e. does it record anything else?

I did not find anything explanatory aside from the key-pair mention on the Wikipedia article, and I do not have enough technical expertise to go through the bitcoin protocol to understand the concepts. Please help me with understanding wallets.

**Tags:** wallet, security

> **Comments:**
> **username_1**: Mining: neither racing for a given time nor for the most complex. Racing to solve a problem of given difficulty until one randomly stumbles upon the answer after on average 10 minutes (currently 8 if you're nitpicking).  

---

## 3 answers

### Answer by username_2 on 2014-02-06. Score: 2

A wallet is merely a collection of pairs of private/public keys. Every normal Bitcoin address is just a hash of a public key. The corresponding private key is needed to sign transactions that spend coins from the address.

So wallet security really is all about protecting your private keys - making sure you have access to them, and nobody else does. There are several ways to do this. A basic client software manages a wallet file for you and uses the keys within to sign transactions.

There are more advanced address that correspond to multisig or other scripts.

Re mining - almost true, instead of the miner finding the most complex block winning, every miner finding a sufficiently difficult block is rewarded. What is considered "sufficiently difficult" changes periodically.

> **Comments:**
> **username_0**: How is a bitcoin assigned to an address? Simply by being recorded on the blockchain? And then how is the keys used to transfer those bitcoins?  
> **username_2**: @username_0: The blockchain is built out of transactions. Every transaction moves bitcoins from some addresses to other addresses. For a transaction to be valid, its hash must be digitally signed with the key corresponding to the input addresses.  

---

### Answer by username_3 on 2014-02-06. Score: 0

Wallets don't exist, simply put, for each address you have a public and private key, a wallet is just a local ledger of all of these. Some people use multiple different wallets for different places they've received bitcoins (And/or different aliases, such as Work, Online, Investment, etc...), but, to anyone's eye's past yours (And your bitcoin client), the wallet doesn't exist.

Addresses are really the only thing that exist, and, a wallet is just a local collection of said addresses, as, not to confuse them with other addresses for different uses.

EDIT:- Just a note, if you own the public/private keys to multiple addresses, you can combine then on a transaction, it's not like a bank where if you need to pay half on one 'account' (address), and, half on another, you have to send two payments, you can just create a transaction referencing both, then, sign it with both private keys. In fact, the addresses don't even have to be on the same wallet, if me and my friend want to go 50/50 on a subscription fee for watchvideoswithbitcoins.tld, then, I can create a transaction referencing his TXIN (transaction input, where he got money) and the same for mine, sign it with my address, then, give him the transaction (Which at this point is still invalid, as, only one of the two inputs agree to pay) and let him sign his part of the transaction, then broadcast it. Currently, however, lots of people assume "Oh, if you signed both you must both be the same owner", which, is what "coinjoin" is based on:-
<https://bitcointalk.org/index.php?topic=279249.0>

> **Comments:**
> **username_0**: Sorry you lost me with the multiple addresses. I don't really get your point there. What exactly happen when you, say for example, send two bitcoins addressed to two wallet/hashes/whateveryouwanttocallit? A bitcoin goes to either of them?  

---

### Answer by username_4 on 2014-02-06. Score: 0

You are correct on the Mining.

A wallet provides a secure place to store your bitcoins but it can also be more. You can encrypt messages with your bitcoin address and send it to someone. This will show the reciever that you are the holder of that bitcoin address.

However, The main purpose is to send and receive bitcoins.


---

