user9945: I am a merchant that accepts bitcoins, and I'm building my own desktop client for receiving them in Java.
When I receive a transaction, I would like to be able to see in my client how much bitcoin is stored in the address that I am receiving from.
I have the full blockchain downloaded on my computer.
How can I access the balance of an address from the blockchain? I would like to be able to do this offline by accessing the blockchain stored on my hard drive.
Thanks in advance

user8728: Perhaps you can look at the source code of full-mode bitcoin implementations in Java, such as bitsofproof (BOF).
It seems bitcoinj also has a full-mode but it is experimental only and not really suitable for prod.
Hope this helps...

9945: <p>I am a merchant that accepts bitcoins, and I'm building my own desktop client for receiving them in Java.</p>

<p>When I receive a transaction, I would like to be able to see in my client how much bitcoin is stored in the address that I am receiving from.</p>

<p>I have the full blockchain downloaded on my computer.</p>

<p>How can I access the balance of an address from the blockchain? I would like to be able to do this offline by accessing the blockchain stored on my hard drive.</p>

<p>Thanks in advance</p>
 8728: <p>Perhaps you can look at the source code of full-mode bitcoin implementations in Java, such as <a href="https://github.com/bitsofproof/supernode" rel="nofollow">bitsofproof (BOF)</a>.</p>

<p>It seems <a href="http://code.google.com/p/bitcoinj/" rel="nofollow">bitcoinj</a> also has a <a href="http://code.google.com/p/bitcoinj/wiki/FullVerification" rel="nofollow">full-mode</a> but it is experimental only and not really suitable for prod.</p>

<p>Hope this helps...</p>
