Bitcoin Forum
April 26, 2024, 12:44:02 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: Freaking linux Crash NIGHTMARE!!!!  (Read 3808 times)
ploum
Sr. Member
****
Offline Offline

Activity: 428
Merit: 253



View Profile WWW
May 09, 2011, 07:13:00 AM
 #21

It doesn't store the coins. They exist on the network. BUT, to spend them, you need the "keys". They are stored in your wallet. Lose the keys and those coins will never move again to another account.

Which means that you don't have to backup at every transaction but only when you create a new address? For example, imagine that FSF created an account only to receive donations on their website. They generated an address and pasted it on their website.

Then, they backuped their wallet.dat.

2 years of donations later, they loose everything in a disk crash. Will the 2 years old backup be enough to recover every transaction?

If yes, then it gives some room for efficient backup strategies (like generating enough addresses in advance before a backup). If no, what am I missing?

Also, why is Grondilu not seeing anything at all? It's very unlikely that he generated *every* address he ever used after backuping. At least the first 100 addresses should be there.

"If you don't want people to know you're a scumbag then don't be a scumbag." -- margaritahuyan
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
grondilu (OP)
Legendary
*
Offline Offline

Activity: 1288
Merit: 1076


View Profile
May 09, 2011, 07:40:44 AM
 #22

Still downloading the block chain.  Balance is still zero after block 105,000.

The wallet I restored is from may, the 4th.   Funny thing is that when I type "bitcoind listreceivedbyaccount" I see the details of my balance per account.

bitlotto
Hero Member
*****
Offline Offline

Activity: 672
Merit: 500


BitLotto - best odds + best payouts + cheat-proof


View Profile WWW
May 09, 2011, 07:45:08 AM
 #23

It doesn't store the coins. They exist on the network. BUT, to spend them, you need the "keys". They are stored in your wallet. Lose the keys and those coins will never move again to another account.

Which means that you don't have to backup at every transaction but only when you create a new address? For example, imagine that FSF created an account only to receive donations on their website. They generated an address and pasted it on their website.

Then, they backuped their wallet.dat.

2 years of donations later, they loose everything in a disk crash. Will the 2 years old backup be enough to recover every transaction?

If yes, then it gives some room for efficient backup strategies (like generating enough addresses in advance before a backup). If no, what am I missing?

Also, why is Grondilu not seeing anything at all? It's very unlikely that he generated *every* address he ever used after backuping. At least the first 100 addresses should be there.

That is correct, kind of. The backup will work no matter how many people *send* to you to those addresses. That is true if all you do is receive coins. Now, if the FSF was sending money during this time they would be using up more and more addresses and would have to do another backup sometime. Say they sent 100 BTC to someone. It's possible the software will sent more than 100 but return the extra back to you at another address. So to the user they sent 100. But in the network a "New" address contains those coins. If that new address isn't backed up in a wallet that has that group of 100 then you don't have that portion backed up. If that makes sense.

*Next Draw Feb 1*  BitLotto: monthly raffle (0.25 BTC per ticket) Completely transparent and impossible to manipulate who wins. TOR
TOR2WEB
Donations to: 1JQdiQsjhV2uJ4Y8HFtdqteJsZhv835a8J are appreciated.
ploum
Sr. Member
****
Offline Offline

Activity: 428
Merit: 253



View Profile WWW
May 09, 2011, 07:58:00 AM
 #24

So you mean that there's also "hidden addresses".

That's kind of annoying for backup purpose.

caveden
Legendary
*
Offline Offline

Activity: 1106
Merit: 1004



View Profile
May 09, 2011, 08:03:16 AM
 #25

It's the change feature. When you send money, bitcoin will use all inputs of the transaction entirely, and the amount exceeding what you intended to send will be sent back to a new address of yours.

I don't really see what's the point of this feature, but that's how the default client behaves.

Anyway, with the 100 addresses pool, you shouldn't need to back up every time, only when you use the entire pool.

@grondilu, Something's wrong, your backup should contain at least the transactions done before it... do you see your old receiving addresses in your address book? You could confirm them with the block explorer...
bitlotto
Hero Member
*****
Offline Offline

Activity: 672
Merit: 500


BitLotto - best odds + best payouts + cheat-proof


View Profile WWW
May 09, 2011, 08:08:20 AM
 #26

So you mean that there's also "hidden addresses".

That's kind of annoying for backup purpose.

Yes. And how many of those "hidden" ones you have are tricky to know.

*Next Draw Feb 1*  BitLotto: monthly raffle (0.25 BTC per ticket) Completely transparent and impossible to manipulate who wins. TOR
TOR2WEB
Donations to: 1JQdiQsjhV2uJ4Y8HFtdqteJsZhv835a8J are appreciated.
grondilu (OP)
Legendary
*
Offline Offline

Activity: 1288
Merit: 1076


View Profile
May 09, 2011, 08:19:35 AM
 #27

hum...  bitcoind isn't responding now (block is 109,000 or something), but it seems to be building an index as I can see the file blkindex.dat growing.

Hopefully I see some change once it's done.

grondilu (OP)
Legendary
*
Offline Offline

Activity: 1288
Merit: 1076


View Profile
May 09, 2011, 09:39:12 AM
 #28

Ok, most of my bitcoins have been recover.  I had to wait for the index to be built at block 120,000 or something.


Guys, the lesson I've learnt is: do not underestimate the importance of backups!

benjamindees
Legendary
*
Offline Offline

Activity: 1330
Merit: 1000


View Profile
May 09, 2011, 11:41:48 AM
 #29

Out of curiosity, what did your crash have to do with Linux?

Civil Liberty Through Complex Mathematics
JohnDoe
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250



View Profile
May 09, 2011, 02:38:54 PM
 #30

Ok, most of my bitcoins have been recover.  I had to wait for the index to be built at block 120,000 or something.


Guys, the lesson I've learnt is: do not underestimate the importance of backups!

Why didn't you recover all of them? Was it a wallet that had already used up the 100 addresses and you were just creating new ones on the go?

I believe you can create wallets with more keypairs than the default 100 by the way. Make a new one with 10 or 100 thousand and never worry about it again.
Garrett Burgwardt
Sr. Member
****
Offline Offline

Activity: 406
Merit: 256


View Profile
May 09, 2011, 03:07:49 PM
 #31

Ok, most of my bitcoins have been recover.  I had to wait for the index to be built at block 120,000 or something.


Guys, the lesson I've learnt is: do not underestimate the importance of backups!

Why didn't you recover all of them? Was it a wallet that had already used up the 100 addresses and you were just creating new ones on the go?

I believe you can create wallets with more keypairs than the default 100 by the way. Make a new one with 10 or 100 thousand and never worry about it again.

Potentially an error in recovering the wallet damaged some keys.
gigabytecoin
Sr. Member
****
Offline Offline

Activity: 280
Merit: 252


View Profile
May 10, 2011, 01:58:10 AM
 #32

Ok, most of my bitcoins have been recover.  I had to wait for the index to be built at block 120,000 or something.


Guys, the lesson I've learnt is: do not underestimate the importance of backups!

Lol, I am surprised that you did!
grondilu (OP)
Legendary
*
Offline Offline

Activity: 1288
Merit: 1076


View Profile
May 10, 2011, 03:45:25 PM
 #33

Ok, most of my bitcoins have been recover.  I had to wait for the index to be built at block 120,000 or something.


Guys, the lesson I've learnt is: do not underestimate the importance of backups!

Lol, I am surprised that you did!

Problem is that I was too lazy to think about a really good backup plan.

I did backup for very important stuffs, but I've lost most of my sweet config scripts on my linux box.   It's a pain in the ass now that I have to reconfigure everything  Sad

I will definitely try to make much proper backups in future.

mewantsbitcoins
Full Member
***
Offline Offline

Activity: 126
Merit: 100


View Profile
May 10, 2011, 03:49:47 PM
 #34

Buy an external drive and set a cron job. You'll never have to worry about it again  Wink
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!