Can I check balance of without downloading the block chain? Bitcoin Stack Exchange

blockchain error getting wallet balance

Get via App Store Read this postbode ter our app!

Can I check balance of wallet.dat without downloading the block chain?

I have bitcoin associated with a wallet that I am now moving from a server to outward storage for backup. Spil far spil I know, all I need to do is copy the wallet.dat opstopping to outer storage and I’m good (given that I won’t be doing any transactions te the foreseeable future).

My question is: once I budge the wallet.dat opstopping overheen, how do I check –without downloading the block chain — the balance associated with it to make sure all is well?

Two Answers

I think your question has an underlying misconception. The wallet only contains bitcoins ter an abstract sense: Te realitas the wallet only stores the private keys that enable you to spend the bitcoin balance that is associated with your addresses. Think of it this way: When you look into your wallet, you only see a number of little boxes. You know that all thesis boxes are yours, but from the outside all boxes look the same, regardless of what they contain. You can only know how much you have te this boxes, by opening each of the and counting their contents. This "looking into the boxes" step happens by looking up the balances of your addresses ter the public ledger (the block chain). The wallet.dat might contain the balance that wasgoed last counted when you compared to the blockchain, but can only be updated to the current state when counting the contents of the little boxes again.

So, without downloading the blockchain and having your software calculate your current balance, you could only check "if everything is alright" by looking up specific addresses. If you received your bitcoins te one transaction the balance is associated only with one address and this address could lightly be written down or memorized separately from the wallet. You could then proceed to look up the balance of it on a webstek such spil for example http://blockchain.informatie. This can be done securely, spil the address alone does not permit anyone to spend the bitcoins.

So, summing up: Just from the wallet.dat you cannot get an update on the balance without acquiring extra information. You can however check the balance of addresses directly by using publicly available information.

Regarding your followup question on how to list addresses. You might attempt something like

bitcoind listreceivedbyaddress 0 true

albeit I have no idea if that directive works without the utter blockchain being present. If it doesn’t do what you want, there’s also one called listaccounts .

Related movie: Bitcoin For Beginners – Learn How To Mine Bitcoin ! – Part 1

Leave a Reply