Bitcoin Forum
April 16, 2024, 12:15:41 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: Help: The two wallet system  (Read 2871 times)
ADgordo (OP)
Member
**
Offline Offline

Activity: 203
Merit: 10

The World’s First Blockchain Core


View Profile
February 21, 2011, 05:27:38 PM
 #1

Hi guys, just got into Bitcoin thanks to GRC's Security-Now podcast.  Quick question that I haven't seen answered on the wiki.

It suggests creating a 2 wallets, one that has all the "savings" and one for the other normal transactions. 

1) If coins are sent from A to B, I need to close BTC, open it up with a B's wallet.dat, wait until payment is received, and then switch it back out correct?

2) What, in general, happens to coins that are sent to an account that is not online?  (From what I understand the blocks will catch you up right?)

3) How often should the "savings" wallet be updated with new blocks?  Sealing it away in an encrypted container can't possibly make it a proper wallet...right? 

4) All these blocks we're all getting, is this taking much bandwidth?

5) As I recall, losing your wallet.dat with any funds inside means those BTCs are gone forever - is this equivalent to burning a dollar bill or melting a penny?

▄▄▄▄▄▄▄▄▄▄▄ ▄ ■        SKYNET        ■ ▄ ▄▄▄▄▄▄▄▄▄▄▄
▐▬▬▬▬▬▬▬▬▬▬     PRIVATE SALE is LIVE     ▬▬▬▬▬▬▬▬▬▬▌
Whitepaper   Bounty   Bitcointalk  ■  Facebook   Twitter   Telegram
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713269741
Hero Member
*
Offline Offline

Posts: 1713269741

View Profile Personal Message (Offline)

Ignore
1713269741
Reply with quote  #2

1713269741
Report to moderator
1713269741
Hero Member
*
Offline Offline

Posts: 1713269741

View Profile Personal Message (Offline)

Ignore
1713269741
Reply with quote  #2

1713269741
Report to moderator
1713269741
Hero Member
*
Offline Offline

Posts: 1713269741

View Profile Personal Message (Offline)

Ignore
1713269741
Reply with quote  #2

1713269741
Report to moderator
hendi
Newbie
*
Offline Offline

Activity: 57
Merit: 0


View Profile
February 21, 2011, 05:40:14 PM
 #2

1) If coins are sent from A to B, I need to close BTC, open it up with a B's wallet.dat, wait until payment is received, and then switch it back out correct?
No, it's easier. You just start up your B "saving" instance once, so it creates a wallet.dat with the private key. Then, you write down your B's receiving address and backup your B wallet, and start your normal bitcoin client again. Whenever you want to save something, just create the transaction to B's receiving address. Then if the transaction is known to the network it's done. You could start your B instance like you describe to see the money you sent do yourself, but there's no need to do so. The transaction is known in the block chain, and is non-revocable. So even if you just start your B instance in 20 years, it would catch your transaction while scanning the new blocks.

2) What, in general, happens to coins that are sent to an account that is not online?  (From what I understand the blocks will catch you up right?)
Right, there's no need to be online while a transaction is done to be able to receive it.

3) How often should the "savings" wallet be updated with new blocks?  Sealing it away in an encrypted container can't possibly make it a proper wallet...right?
In your wallet.dat you have your keys, plus 100 new keys. So, you have to update your B wallet every 100 transactions that you do with your B instance. If you just receive money with one of your B wallet's addresses, there's no need to backup your wallet.dat file again.
So, just create your B wallet.dat, write down the receiving address, lock the B wallet.dat in an encrypted container and don't bother with it again until you want to withdraw from your saving account.

4) All these blocks we're all getting, is this taking much bandwidth?
Not much. Maybe a few MB per hour?

5) As I recall, losing your wallet.dat with any funds inside means those BTCs are gone forever - is this equivalent to burning a dollar bill or melting a penny?
Yes, it's totally gone, forever! It's like burning a dollar bill and swallowing the ashes ;-)
N12
Donator
Legendary
*
Offline Offline

Activity: 1610
Merit: 1010



View Profile
February 21, 2011, 05:43:46 PM
 #3

1) You don’t have to use wallet B if you just want to send it to B if you have B’s address. Check out blockexplorer if you want to see transactions without your client. Don’t forget to backup your wallet every time a transaction is done.

2) Right, all transactions are stored in the blocks, so you never have to be online.

3) You can update it however often you want, it doesn’t matter. If you load your wallet and all the blocks, you’ll have what you have been sent.

5) Yes, excactly. The private keys to your public key addresses are stored in the wallet. Once you lose it, you have no chance to get back your bitcoins.
theGECK
Sr. Member
****
Offline Offline

Activity: 411
Merit: 250



View Profile
February 21, 2011, 05:44:21 PM
 #4

Hi guys, just got into Bitcoin thanks to GRC's Security-Now podcast.  Quick question that I haven't seen answered on the wiki.

It suggests creating a 2 wallets, one that has all the "savings" and one for the other normal transactions. 

1) If coins are sent from A to B, I need to close BTC, open it up with a B's wallet.dat, wait until payment is received, and then switch it back out correct?

2) What, in general, happens to coins that are sent to an account that is not online?  (From what I understand the blocks will catch you up right?)

3) How often should the "savings" wallet be updated with new blocks?  Sealing it away in an encrypted container can't possibly make it a proper wallet...right? 

4) All these blocks we're all getting, is this taking much bandwidth?

5) As I recall, losing your wallet.dat with any funds inside means those BTCs are gone forever - is this equivalent to burning a dollar bill or melting a penny?

Good to meet a fellow SN listener!

From what I understand:

1) You don't have to have Bitcoin running to receive transactions. If you want to send from A to B, you open up Bitcoin with A's wallet, and send it to an address associated with B. If you don't know what that address is, then you will need to open B's wallet, copy it down, close bitcoin, copy A's wallet over, and then send the transactions.

2) The coins are received. To test it out, setup an account at mybitcoin.com, and transfer .01 BTC. Then shut down your bitcoin client, and transfer it to your client's address. Stay away as long as you can, and then bring it back up. As blocks are downloaded, you will see your transaction suddenly appear!

3) The savings wallet should be updated as frequently as you want. No transactions are lost, it will just take time to download the blocks that you are missing. I open/update mine every day because I want to be able to send BTC within a few minutes if I want.

4) Not from what I can tell. The only traffic is the getwork command and the report back. Other than that, it's just your CPU or GPU crunching numbers.

5) Yes, but without the ability for a government to issue more. It's more like vaporizing gold; the material is destroyed forever, until somebody figures out how to sort through all the molecules of the air and extract the gold particles to recombine them. Not an easy task.

Good luck, and glad to have you here!

Use my referral codes for Bitcoin faucets and I'll send you 30% of my referral bonus - Win/Win! PM for details on all sites available or use one of the links here.

FreeBitco.in | FreeDoge.co.in
ADgordo (OP)
Member
**
Offline Offline

Activity: 203
Merit: 10

The World’s First Blockchain Core


View Profile
February 21, 2011, 05:51:57 PM
 #5

First of all, thanks so much for the tips, this community is great.

But why is it I don't have to update the savings account at all if I just send to it, but as you guys say, I need to backup after every transaction?

Also, how long does it take to confirm the .05 coins I got from the appspot program by gavin?  If what I understand is right, the transaction needs to be verified by the hashes of more clients?   (8 connections is what I max out at if that has any bearing)

▄▄▄▄▄▄▄▄▄▄▄ ▄ ■        SKYNET        ■ ▄ ▄▄▄▄▄▄▄▄▄▄▄
▐▬▬▬▬▬▬▬▬▬▬     PRIVATE SALE is LIVE     ▬▬▬▬▬▬▬▬▬▬▌
Whitepaper   Bounty   Bitcointalk  ■  Facebook   Twitter   Telegram
N12
Donator
Legendary
*
Offline Offline

Activity: 1610
Merit: 1010



View Profile
February 21, 2011, 05:56:07 PM
 #6

But why is it I don't have to update the savings account at all if I just send to it, but as you guys say, I need to backup after every transaction?

Also, how long does it take to confirm the .05 coins I got from the appspot program by gavin?  If what I understand is right, the transaction needs to be verified by the hashes of more clients?   (8 connections is what I max out at if that has any bearing)
Well, actually you don’t even need to ever backup if you only use a single address in your bank, but that would make it less anonymous. As I said, the wallet stores your private keys to the addresses. The keypool has 100 addresses, so that means that if you use 100 addresses, you will have to backup. I would just backup after each transaction to make sure, I guess.

It takes one block to be produced (approximately 10 minutes, but that can vary a lot) and after that, you should be able to see the transaction in your client.
theGECK
Sr. Member
****
Offline Offline

Activity: 411
Merit: 250



View Profile
February 21, 2011, 06:05:43 PM
 #7

The reason I understood why people would say to backup your wallet after every transaction is because of address creation. If you have an old version of your wallet backed up, and then create a new address, receive 50 BTC to that address from somebody, and then your hard drive dies a few days later without another backup, the wallet.dat that you have backed up does not have the keys for that address you created. Your 50 BTC would be lost!

If I'm not right, please correct me.

Use my referral codes for Bitcoin faucets and I'll send you 30% of my referral bonus - Win/Win! PM for details on all sites available or use one of the links here.

FreeBitco.in | FreeDoge.co.in
ADgordo (OP)
Member
**
Offline Offline

Activity: 203
Merit: 10

The World’s First Blockchain Core


View Profile
February 21, 2011, 06:07:10 PM
 #8


[/quote]
It takes one block to be produced (approximately 10 minutes, but that can vary a lot) and after that, you should be able to see the transaction in your client.
[/quote]

Wow, that is one robust system...

Not that I worry, I assume this has all been figured out, but what happens to unconfirmed coins that are sent? 

▄▄▄▄▄▄▄▄▄▄▄ ▄ ■        SKYNET        ■ ▄ ▄▄▄▄▄▄▄▄▄▄▄
▐▬▬▬▬▬▬▬▬▬▬     PRIVATE SALE is LIVE     ▬▬▬▬▬▬▬▬▬▬▌
Whitepaper   Bounty   Bitcointalk  ■  Facebook   Twitter   Telegram
theymos
Administrator
Legendary
*
Offline Offline

Activity: 5166
Merit: 12864


View Profile
February 21, 2011, 06:39:19 PM
 #9

1) You don’t have to use wallet B if you just want to send it to B if you have B’s address. Check out blockexplorer if you want to see transactions without your client. Don’t forget to backup your wallet every time a transaction is done.

Bitcoin Block Explorer also has an RSS feature, so you can subscribe to the RSS feed of your savings address to make sure the funds are being delivered.

There's no need to backup your savings wallet more than once if you're using just one address in it and not making any sends. The problem is when new addresses are created. Counter-intuitively, the most common time when an address is created is when you send coins. They are not created when you receive coins. So you should back up after you make 100 sends from your savings account.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
Binford 6100
Hero Member
*****
Offline Offline

Activity: 504
Merit: 500


PGP OTC WOT: EB7FCE3D


View Profile
February 21, 2011, 06:59:57 PM
 #10

Also, how long does it take to confirm the .05 coins I got from the appspot program by gavin?  If what I understand is right, the transaction needs to be verified by the hashes of more clients?   (8 connections is what I max out at if that has any bearing)

if your client has downloaded all blocks in the chain, you would see any incoming payment instantly.
it would have 0 confirmations but you would see the payment as broadcasted in the network and waiting for confirmation.

as for why you do not see it, 'gavin' wrote somewhere that there's a limit of 120 transactions in 2 hours. if you were waiting, you were probably processed in the "next" round. post your address here or PM me and i send you two cents so that you can fool around (p.ex. send one of them to a mybitcoin like web wallet and send it back to you to see the speed of transactions)

the waiting for confirmation does not meat it did not happen.

You can't build a reputation on what you are going to do.
theGECK
Sr. Member
****
Offline Offline

Activity: 411
Merit: 250



View Profile
February 21, 2011, 07:05:54 PM
 #11


as for why you do not see it, 'gavin' wrote somewhere that there's a limit of 120 transactions in 2 hours.

You're talking about the BTC faucet, not the Bitcoin network as a whole, right? If that's all that Bitcoin can process, there's a serious bottleneck right there that could stop early adoption.

Use my referral codes for Bitcoin faucets and I'll send you 30% of my referral bonus - Win/Win! PM for details on all sites available or use one of the links here.

FreeBitco.in | FreeDoge.co.in
theymos
Administrator
Legendary
*
Offline Offline

Activity: 5166
Merit: 12864


View Profile
February 21, 2011, 07:10:24 PM
 #12

You're talking about the BTC faucet, not the Bitcoin network as a whole, right? If that's all that Bitcoin can process, there's a serious bottleneck right there that could stop early adoption.

He's talking about the faucet. The network will accept ~650 free transactions per hour, and ~6000 transactions at the normal paid rate per hour.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
Binford 6100
Hero Member
*****
Offline Offline

Activity: 504
Merit: 500


PGP OTC WOT: EB7FCE3D


View Profile
February 21, 2011, 08:28:05 PM
 #13

The network will accept ~650 free transactions per hour, and ~6000 transactions at the normal paid rate per hour.

wat? could you, please, provide me with a pointer to specs how the limits are imposed on the network?
is it the size limit of a block?

You can't build a reputation on what you are going to do.
theymos
Administrator
Legendary
*
Offline Offline

Activity: 5166
Merit: 12864


View Profile
February 21, 2011, 09:14:58 PM
 #14

wat? could you, please, provide me with a pointer to specs how the limits are imposed on the network?
is it the size limit of a block?

The fees are specified in GetMinFee in main.h.

27k of the block is available for free transactions, 250k is available for normal 0.01/k transactions, and 500k is available for higher-paid transactions (required fees are scaled after 250k). These limits overlap. Mainline Bitcoin therefore only fills the block to 500k, and blocks over 1000k will be rejected.

I used an average transaction size of 250 bytes, which is close to the real average of 254.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
Binford 6100
Hero Member
*****
Offline Offline

Activity: 504
Merit: 500


PGP OTC WOT: EB7FCE3D


View Profile
February 21, 2011, 09:43:46 PM
 #15

wat? could you, please, provide me with a pointer to specs how the limits are imposed on the network?
is it the size limit of a block?

The fees are specified in GetMinFee in main.h.

27k of the block is available for free transactions, 250k is available for normal 0.01/k transactions, and 500k is available for higher-paid transactions (required fees are scaled after 250k). These limits overlap. Mainline Bitcoin therefore only fills the block to 500k, and blocks over 1000k will be rejected.

I used an average transaction size of 250 bytes, which is close to the real average of 254.

thank you very much, sir.
i did not read the c/cpp sources of the bitcoin project. in my vildest dreams the number of transactions per hour was more or less unlimited (or at least 5 digits). i like to learn new stuff (even if it's marked with blood of dead concepts)

You can't build a reputation on what you are going to do.
theymos
Administrator
Legendary
*
Offline Offline

Activity: 5166
Merit: 12864


View Profile
February 21, 2011, 10:15:14 PM
 #16

thank you very much, sir.
i did not read the c/cpp sources of the bitcoin project. in my vildest dreams the number of transactions per hour was more or less unlimited (or at least 5 digits). i like to learn new stuff (even if it's marked with blood of dead concepts)

The limits will be increased once the network is mature enough to handle it.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
ADgordo (OP)
Member
**
Offline Offline

Activity: 203
Merit: 10

The World’s First Blockchain Core


View Profile
February 22, 2011, 01:25:21 AM
 #17

Hold on, if at any point you only have those 100 keypairs, how is money retained from key 3 to key 304 if each is signed by a given keypair?

▄▄▄▄▄▄▄▄▄▄▄ ▄ ■        SKYNET        ■ ▄ ▄▄▄▄▄▄▄▄▄▄▄
▐▬▬▬▬▬▬▬▬▬▬     PRIVATE SALE is LIVE     ▬▬▬▬▬▬▬▬▬▬▌
Whitepaper   Bounty   Bitcointalk  ■  Facebook   Twitter   Telegram
N12
Donator
Legendary
*
Offline Offline

Activity: 1610
Merit: 1010



View Profile
February 22, 2011, 01:36:19 AM
 #18

Hold on, if at any point you only have those 100 keypairs, how is money retained from key 3 to key 304 if each is signed by a given keypair?
The key pool is not a limit, it’s just that 100 addresses already exist. You generate them in the client, but technically they are already there, so the first 100 will always stay the same no matter which backup you’re using.
BitterTea
Sr. Member
****
Offline Offline

Activity: 294
Merit: 250



View Profile
February 22, 2011, 02:39:05 AM
 #19

Hold on, if at any point you only have those 100 keypairs, how is money retained from key 3 to key 304 if each is signed by a given keypair?
Your wallet contains keys for all of the addresses you've received bitcoin to, plus 100 that haven't been used. Your backup is good until you've used all 100 extra keys.
marcus_of_augustus
Legendary
*
Offline Offline

Activity: 3920
Merit: 2348


Eadem mutata resurgo


View Profile
February 24, 2011, 02:44:23 AM
 #20

Eventually I would like to see some bitcoin software featuring a SAFE and WALLET system.

Obviously, the safe stays at home on a system that has significantly higher security specs than the wallet.

By the same token, safes are designed to be harder to get into, even by the user, but hold more and are more rigourously backed-up.
Of the pair, the wallets are easy to open but only hold small amounts and can easily be moved around mobile devices.

Further out, there could be a VAULT for corporate holdings, or a vault for collective holdings held by a trusted security center for people who don't feel confident guarding their own safes.

Pages: [1] 2 »  All
  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!