I want to know the function of wallet.
Is the balance displayed in Wallet because it always keeps historical transaction data?
Or are you searching all past blocks every time and calculating the current balance from transactions related to my address?
If Wallet holds past transactions related to me or my balance, I do not think that non-tampering is not guaranteed.
However, it is difficult to refer to past transaction data every time because of speed and load problems.
I believe that Wallet has only private keys.
Then, where is the balance associated with that private key?