Bitcoin Forum
December 06, 2016, 12:19:04 PM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Bitcoin wallet.  (Read 2596 times)
Nesetalis
Sr. Member
****
Offline Offline

Activity: 420



View Profile
May 17, 2011, 06:37:18 PM
 #1

I've read alot of threads about people having trouble accessing their wallet for one reason or another.
Others have talked about extracting information from a corrupted wallet.
So my question is, what would be the best way to turn the wallet in to a flat file with less risk of corruption, prior to backup?

ZOMG Moo!
1481026744
Hero Member
*
Offline Offline

Posts: 1481026744

View Profile Personal Message (Offline)

Ignore
1481026744
Reply with quote  #2

1481026744
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481026744
Hero Member
*
Offline Offline

Posts: 1481026744

View Profile Personal Message (Offline)

Ignore
1481026744
Reply with quote  #2

1481026744
Report to moderator
1481026744
Hero Member
*
Offline Offline

Posts: 1481026744

View Profile Personal Message (Offline)

Ignore
1481026744
Reply with quote  #2

1481026744
Report to moderator
Slimquick
Jr. Member
*
Offline Offline

Activity: 39



View Profile
May 19, 2011, 10:04:46 AM
 #2

I've read alot of threads about people having trouble accessing their wallet for one reason or another.
Others have talked about extracting information from a corrupted wallet.
So my question is, what would be the best way to turn the wallet in to a flat file with less risk of corruption, prior to backup?

Keep copies on other storage media and reduce the risk. At three copies, you'd be pretty safe from data corruption.

Casper


If you wouldn't mind saying–how does one create and switch between multiple wallets from within the BitCoin client? I don't see any wallet management options in the GUI…

Forum members with whom I have completed satisfactory transactions: klamathonsite.
lulzplzkthx
Sr. Member
****
Offline Offline

Activity: 322



View Profile WWW
May 19, 2011, 02:46:28 PM
 #3

I've read alot of threads about people having trouble accessing their wallet for one reason or another.
Others have talked about extracting information from a corrupted wallet.
So my question is, what would be the best way to turn the wallet in to a flat file with less risk of corruption, prior to backup?

Keep copies on other storage media and reduce the risk. At three copies, you'd be pretty safe from data corruption.

Casper


If you wouldn't mind saying–how does one create and switch between multiple wallets from within the BitCoin client? I don't see any wallet management options in the GUI…
1. Quit Bitcoin.
2. If you're on Linux go to ~/.bitcoin/, if you're on Windows go to %AppData%/Bitcoin, if you're on Mac then I can't help you.
3. Rename wallet.dat to wallet.dat.1
4. Start Bitcoin.

Bitcoin will automatically generate a new wallet called wallet.dat, and you can manage them however you'd like.

Slimquick
Jr. Member
*
Offline Offline

Activity: 39



View Profile
May 19, 2011, 04:11:51 PM
 #4

Thank you.

Forum members with whom I have completed satisfactory transactions: klamathonsite.
Nesetalis
Sr. Member
****
Offline Offline

Activity: 420



View Profile
May 25, 2011, 11:25:07 AM
 #5

still have no answer as to a non-binary wallet. I suspect though I may just have to play with the bitcoind software and figure it out :p

ZOMG Moo!
Mike Hearn
Legendary
*
expert
Offline Offline

Activity: 1526


View Profile
May 25, 2011, 12:00:05 PM
 #6

Wallet "corruption" doesn't happen because it uses binary. It's not actually about bit flipping.

It can happen at a logical level because the wallet gets out of sync with the status of the block chain, due to people copying wallets around and doing things that historically weren't well supported. You can't easily fix that with a text editor, you need a good understanding of what happened. It can usually be fixed with the latest version using a combination of command line flags and extra patches.
Nesetalis
Sr. Member
****
Offline Offline

Activity: 420



View Profile
May 25, 2011, 12:52:11 PM
 #7

There are a lot of compelling reasons to make the wallet a flat file instead of binary.
one of which being that you can actually see the stored data, and store it in a more personalized way so that it is less likely to be found.. also so you can store only what you need. Also, since its obfuscated in such a way people might assume its secure. Really some encryption method should be built in to the client to store an encrypted plain text wallet, one which is openable by a generic decryption if the person knows the method and the password. Forcing people to password protect their wallet might also give them a sense that this file is important from the start.

also.. more importantly, it can be easily rebuilt by hand if the need arises.

ZOMG Moo!
Mike Hearn
Legendary
*
expert
Offline Offline

Activity: 1526


View Profile
May 25, 2011, 01:39:33 PM
 #8

The wallet stores transactions, which are complex binary data structures. It's really not feasible to build a wallet by hand. It's programs or nothing.
thinkweis
Jr. Member
*
Offline Offline

Activity: 42


View Profile WWW
June 22, 2011, 03:41:23 AM
 #9

I made a guide on how to make a secure bitcoin wallet using Ubuntu. Don't be scared if you don't have any experience with that. I cover every step from installation of Ubuntu to using your secured wallet.

http://startbitcoin.com/how-to-create-a-secure-bitcoin-wallet/

Beginners guide to mining bitcoin http://startbitcoin.com Bitcoin mining for beginners
New Secure Wallet Guide http://startbitcoin.com/how-to-create-a-secure-bitcoin-wallet/
Order the Blockchain by mail on dvd http://startbitcoin.com/blockchain-on-dvd/
If you found this information helpful - Please Donate 1HbdRpinMDQ2cgUWsKiMPDN2icC8rNpS1i
memvola
Hero Member
*****
Offline Offline

Activity: 896


View Profile
June 22, 2011, 03:47:28 AM
 #10

still have no answer as to a non-binary wallet. I suspect though I may just have to play with the bitcoind software and figure it out :p

Before diving into bitcoind, you might want to check bitcoin-tools. I don't remember enough about it to tell if it will fully suit your need, but the source will be helpful for sure.
unk
Member
**
Offline Offline

Activity: 84


View Profile
June 22, 2011, 03:59:09 AM
 #11

The wallet stores transactions, which are complex binary data structures. It's really not feasible to build a wallet by hand. It's programs or nothing.

i may be reading the original poster incorrectly, but it may be that all he wants is something that dumps the internal berkeley db structure of wallet.dat to a flat 'textual' file.

if so, you can just use db_dump:  http://doc.gnu-darwin.org/dumpload/utility.html

as an additional backup of a wallet.dat, a textual serialization of the data structure can have some value, albeit a fairly marginal value in most cases. 'text' introduces potential character-encoding issues in theory, but in exchange, you get (1) some hedge against potential data-file incompatibilities in the future, and (2) perhaps, if you're smart and careful, a better opportunity to engage in redundant, fault-tolerant backups compared to treating the whole binary file as opaque.

i agree, overall, it's a relatively minor advantage, but i hope this helps.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!