<h2>Terminology</h2>
<p>Using non-standard terminology leads to confusion. Your question uses terms like &quot;client&quot;, &quot;web-based&quot;. &quot;read&quot; and &quot;write&quot; in ways that are not commonly used when discussing Bitcoin.</p>
<h2>Web based client</h2>
<p>To me a web-based application is an application that is presented to a human user using a web-browser that uses HTML and CSS perhaps with Javascript and which acts as an HTTP client to communicate with a HTTP server. This is a client-server model of communication. Bitcoin itself primarily uses a peer to peer model. Full-node Bitcoin applications such as Bitcoin-core do not use HTTP they use a peer to peer protocol usually based on TCP port 8333.</p>
<p>This sort of web based application isn't a Bitcoin node and does not participate in the Bitcoin network. It typically communicates in a proprietary way with some 3rd party service who own some Bitcoin. The user of such a web based application owns no money as far as the Bitcoin network is concerned.</p>
<p>Bitcoin was invented to avoid the need for this sort of 3rd party intermediary who has to be trusted.</p>
<h2>Balances</h2>
<p>Each full node accumulates all the data it needs to calculate a balance for a human. The Bitcoin network itself has no knowledge of balances. Nodes don't need to know balances to interoperate or to validate transactions.</p>
<p>For example, Bitcoin core can present a person with a &quot;balance&quot;. But to calculate that it peruses the transaction journal, adds credits and subtracts debits for each &quot;address&quot; of interest. Obviously this total can be cached in persistent storage for efficiency.</p>
<p>So the node read from by a person interested in a balance is typically the local node they run themselves.</p>
<p>For people who don't own Bitcoin themselves but who give money to third parties in return for an IOU denominated in Bitcoin, there is no Bitcoin node that knows money is owed to them and such people have to use proprietary software to consult with the business that issued the IOU. Usually these businesses provide software that creates the illusion that their customers have direct control of Bitcoin.</p>
<hr />
<h2>Things to remember</h2>
<ul>
<li>Bitcoin is cash, not a bank account.</li>
<li>No single person, organisation or consortium owns the Bitcoin network</li>
<li>No single person, organisation or consortium controls Bitcoin standards</li>
<li>No one is in charge of the Bitcoin system</li>
<li>bitcoin.org is just an information site about Bitcoin, with links to various wallet software. It doesn't develop, intermediate, serve, or interact in any way with Bitcoin wallets software except guiding users who want to download one (ref PW comment below).</li>
<li>The system was originally designed so that each person keeps their money under their own control using only software they run on their own computer. It can still be used this way and many do.</li>
<li>This software is called a &quot;wallet&quot; - even though it never contains money. It allows the user to create Bitcoin transactions.</li>
<li>Other businesses sometimes call other things &quot;wallets&quot; even though they don't give the customer custody of their own money as a standard Bitcoin wallet does.</li>
<li>Miners don't really have any special privileges or rights.</li>
</ul>

CC BY-SA 4.0
2021-12-07T14:57:23.520Z
Got it. My confusion was about the third party thing. So, a client connected to bitcoin.org is buying BTCs through a third party. Hence, the transaction complies to the third party rules. This way the client is supposed to trust that third party (at least that it is updated), right?
Mohamad-Jaafar NEHME
CC BY-SA 4.0
2021-12-07T15:28:46.200Z
bitcoin.org is not involved in bitcoin transactions.
Claris
CC BY-SA 4.0
2021-12-07T15:54:12.157Z
bitcoin.org is just an information site about Bitcoin, with links to various wallet software. It doesn't develop, intermediate, serve, or interact in any way with Bitcoin wallets software except guiding users who want to download one.
Pieter Wuille
CC BY-SA 4.0
2021-12-07T20:05:37.740Z
@RedGrittyBrick, I don't know if this is a new feature, but bitcoin.org are selling on this link https://bitcoin.org/en/buy. they are selling through moonpay!
Mohamad-Jaafar NEHME
CC BY-SA 4.0
2021-12-07T10:53:39.580Z
2021-12-07T16:03:57.560Z
2021-12-07T16:03:57.560Z
RedGrittyBrick
<p>I can understand how Bitcoin replication mechanism work profoundly (<em>i.e.</em> the <code>write</code> operations). However, I don't understand the <code>read</code> operation from a client's point of view (a client is called a user in Nakamoto's paper).</p>
<p>For instance if a web-based client wants to check his balance, which node does he read from? Does he read from a single node (perhaps that node is not updated yet) or several nodes?</p>
<p>Links, citations and references are much appreciated.</p>

<bitcoin-core><client><balance><bip><thin-clients>
Where does a Client in Bitcoin Read From?
Mohamad-Jaafar NEHME
# Where does a Client in Bitcoin Read From?

(Asked by: username_0 on 2021-12-07)

I can understand how Bitcoin replication mechanism work profoundly (*i.e.* the `write` operations). However, I don't understand the `read` operation from a client's point of view (a client is called a user in Nakamoto's paper).

For instance if a web-based client wants to check his balance, which node does he read from? Does he read from a single node (perhaps that node is not updated yet) or several nodes?

Links, citations and references are much appreciated.

**Tags:** bitcoin-core, client, balance, bip, thin-clients


---

## 1 answers

### Answer by username_1 on 2021-12-07. Score: 2 | Accepted answer

## Terminology

Using non-standard terminology leads to confusion. Your question uses terms like "client", "web-based". "read" and "write" in ways that are not commonly used when discussing Bitcoin.

## Web based client

To me a web-based application is an application that is presented to a human user using a web-browser that uses HTML and CSS perhaps with Javascript and which acts as an HTTP client to communicate with a HTTP server. This is a client-server model of communication. Bitcoin itself primarily uses a peer to peer model. Full-node Bitcoin applications such as Bitcoin-core do not use HTTP they use a peer to peer protocol usually based on TCP port 8333.

This sort of web based application isn't a Bitcoin node and does not participate in the Bitcoin network. It typically communicates in a proprietary way with some 3rd party service who own some Bitcoin. The user of such a web based application owns no money as far as the Bitcoin network is concerned.

Bitcoin was invented to avoid the need for this sort of 3rd party intermediary who has to be trusted.

## Balances

Each full node accumulates all the data it needs to calculate a balance for a human. The Bitcoin network itself has no knowledge of balances. Nodes don't need to know balances to interoperate or to validate transactions.

For example, Bitcoin core can present a person with a "balance". But to calculate that it peruses the transaction journal, adds credits and subtracts debits for each "address" of interest. Obviously this total can be cached in persistent storage for efficiency.

So the node read from by a person interested in a balance is typically the local node they run themselves.

For people who don't own Bitcoin themselves but who give money to third parties in return for an IOU denominated in Bitcoin, there is no Bitcoin node that knows money is owed to them and such people have to use proprietary software to consult with the business that issued the IOU. Usually these businesses provide software that creates the illusion that their customers have direct control of Bitcoin.

---

## Things to remember

* Bitcoin is cash, not a bank account.
* No single person, organisation or consortium owns the Bitcoin network
* No single person, organisation or consortium controls Bitcoin standards
* No one is in charge of the Bitcoin system
* bitcoin.org is just an information site about Bitcoin, with links to various wallet software. It doesn't develop, intermediate, serve, or interact in any way with Bitcoin wallets software except guiding users who want to download one (ref PW comment below).
* The system was originally designed so that each person keeps their money under their own control using only software they run on their own computer. It can still be used this way and many do.
* This software is called a "wallet" - even though it never contains money. It allows the user to create Bitcoin transactions.
* Other businesses sometimes call other things "wallets" even though they don't give the customer custody of their own money as a standard Bitcoin wallet does.
* Miners don't really have any special privileges or rights.

> **Comments:**
> **username_0**: Got it. My confusion was about the third party thing. So, a client connected to bitcoin.org is buying BTCs through a third party. Hence, the transaction complies to the third party rules. This way the client is supposed to trust that third party (at least that it is updated), right?  
> **username_2**: bitcoin.org is not involved in bitcoin transactions.  
> **username_3**: bitcoin.org is just an information site about Bitcoin, with links to various wallet software. It doesn't develop, intermediate, serve, or interact in any way with Bitcoin wallets software except guiding users who want to download one.  
> **username_0**: @username_1, I don't know if this is a new feature, but bitcoin.org are selling on this link https://bitcoin.org/en/buy. they are selling through moonpay!  

---

