Bitcoin Forum
April 23, 2024, 10:46:30 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: Word of caution using Bitcoin-qt client and managing your own private keys  (Read 2775 times)
notme
Legendary
*
Offline Offline

Activity: 1904
Merit: 1002


View Profile
January 17, 2013, 01:54:06 AM
 #21

Your savior here is called the "keypool".   By default there will always be 100 unused keys in your wallet.  When you ask for a new address, it grabs one from this keypool (which has already been backed up hopefully) and then generates a new one to stick at the back of the queue.  There is a keypoolsize parameter you can set to alter the default size of 100 keys.

I disagree. He got lucky. The "keypool" is the reason there might have been a problem to begin with.

Deterministic wallets are clearly superior.

Sure deterministic wallets are superior, unless you are generating an abnormally large number of keys or have privacy concerns.

https://www.bitcoin.org/bitcoin.pdf
While no idea is perfect, some ideas are useful.
1713869190
Hero Member
*
Offline Offline

Posts: 1713869190

View Profile Personal Message (Offline)

Ignore
1713869190
Reply with quote  #2

1713869190
Report to moderator
1713869190
Hero Member
*
Offline Offline

Posts: 1713869190

View Profile Personal Message (Offline)

Ignore
1713869190
Reply with quote  #2

1713869190
Report to moderator
1713869190
Hero Member
*
Offline Offline

Posts: 1713869190

View Profile Personal Message (Offline)

Ignore
1713869190
Reply with quote  #2

1713869190
Report to moderator
If you want to be a moderator, report many posts with accuracy. You will be noticed.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713869190
Hero Member
*
Offline Offline

Posts: 1713869190

View Profile Personal Message (Offline)

Ignore
1713869190
Reply with quote  #2

1713869190
Report to moderator
BTCBlade
Newbie
*
Offline Offline

Activity: 59
Merit: 0


View Profile
January 17, 2013, 02:03:02 AM
 #22

Thank you for sharing you experience, now i will not be so stupid as to try messing around with private keys
lojabitcoin
Newbie
*
Offline Offline

Activity: 9
Merit: 0



View Profile WWW
January 17, 2013, 11:41:16 PM
 #23

This is, in my opinion, one of the more serious "non-obvious" problems with Bitcoin-QT for newcomers or non-experts.

Newcomer POV: "I know my wallet just stores my private key, and I backed-up my key and wallet, so I should be fine, right?"
Wrong!

It is non-intuitive and bad usability.

Bitcoin-QT could send the "change" back to the originating wallet by default, and have an option in the settings (for privacy-seekers) to send the change to another address.
As an alternative, users would be presented with the two options (and information) when starting the client.
DannyHamilton
Legendary
*
Offline Offline

Activity: 3374
Merit: 4597



View Profile
January 18, 2013, 12:09:32 AM
 #24

Bitcoin-QT could send the "change" back to the originating wallet by default
Be careful about your terminology. Bitcoin-QT already does this.

It seems to me that you meant to say:

Bitcoin-QT could send the "change" back to the originating address by default.

But what should it do if there are multiple inputs from multiple addresses for the transaction.  Which one should get the "change"?  Furthermore, re-using addresses decreases security since the public key becomes public knowledge when you spend an output associated with a particular address. Re-using addresses also reduces anonymity.

As an alternative, users would be presented with the two options
If this is what a user wants, I thought there were already other clients that allow this.
mintymark
Sr. Member
****
Offline Offline

Activity: 286
Merit: 251


View Profile
January 18, 2013, 12:23:49 AM
 #25

Something similar happened to me recently, which also had a happy ending. In essence my wallet.dat became corrupt and the backup I initially used was too old for a particularly large reception of bitcoins.

Luckily a newer backup existed. But this random generation of a hundred new addresses is something that happens behind the scenes, and you dont know about it.

I think its an appaling 'feature' of the qt client.

It could flash and say new keys generated, back up your wallet!! Better, it could actually do it.


[[ All Tips gratefully received!!  ]]
15ta5d1N8mKkgC47SRWmnZABEFyP55RrqD
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!