0
I'm trying to see how much bitcoins I've received via bitcoind's one method, getreceivedbyaddress specifying a certain address, and after knowing the amount of bitcoins, I soon realized that such as block explorer services, blockchain.info or blockcypher indicates the different amount of bitcoins. It's interesting that when I specified another address, both bitcoind and block explorer services indicated the same amount.
Since I'm developing a crypto exchange, I need to know a user's deposited amount of bitcoins in order to calculate how much a user has bitcoins rightly, even after letting other users withdraw their bitcoins.
So which is exactly right and reliable?
So you mean even if I send send bitcoins back to my address repeatedly, bitcoind won’t peform as block explorer websites do? – 西田龍 – 2018-06-21T22:19:09.787
1I only meant to provide a potential example of how one block explorer website may interpret and display blockchain data in a different way than some other block explorer website. The important point is: there is one absolute record of the transactions that have happened, and that is the blockchain. You can run a node so you have your own copy, and then use this data to determine an address' balance (by summing UTXOs). You don't need to (and shouldn't) rely on a 3rd party block explorer to get this info (they could lie to you, or an error in their system could present incorrect data, etc). – chytrik – 2018-06-21T23:34:39.933