In a blockchain, every transaction is recorded. Lets say User A is sending money to User B.How to check if User A has sufficient balance, if User A is not using the same public address that was used when purchasing the coin.
My question:
We are able to create a address just for sending the transaction from User A to User B. It may be for anonymity purpose. How does blockchain check for balance in this case.
Will the creation of public key for transferring still be able to relate to original public key. if yes, in what ways?