How to check the balance of a person when his public keys are different on different input transactions?

0

A person can use a different public key/private key generated from his eWallet for each transaction. How the miner check the balance of that person from his multi-input transactions with different public keys?

Cambridge Wong

Posted 2018-02-19T03:17:55.940

Reputation: 1

Welcome to Bitcoin.SE! You can help the site by marking quality answers as accepted so that the question does not remain as "unanswered".Willtech 2018-02-19T11:33:21.423

Answers

4

Contrary to popular belief, Bitcoin does not use an accounts system with balances nor do addresses actually exist on a technical level.

A transaction spends transaction outputs and it creates transaction outputs. It directly references which transaction outputs it is spending, so when verifying a transaction, you just need to lookup what the previous transaction output is. There is no need to know any balances (except that of the transaction output which is provided in the output itself) nor anything else about the wallet of the sender(s).

Andrew Chow

Posted 2018-02-19T03:17:55.940

Reputation: 40 910