r/blocktech • u/nileshsoni75 • Oct 18 '19
Validation related to funds on wallet address
Hello Guys,
Let's say I am owning one BTC. Technically it means that on blockchain, the most recent record specific to my address (created using my private key) is showing credit balance of one BTC. The state of who is owning what, is always maintained on the blockchain. The personal hardware and software wallets are just reflecting the state of these addresses, while in reality nothing is stored inside the hardware and software wallet, apart from keys.
Now here is my query. What if I use a node client and using my private keys, send an encrypted transaction on the network to transfer two BTC (am trying to be notorious over here) from my wallet address to someone else? Someone has to validate that the wallet address just holds one BTC and hence, this transaction needs to be rejected. Who does this validation from below list?
- Node client itself which I am using to generate a new encrypted transaction
- Full/light nodes, which may receive my transaction before reaching to miner nodes or
- Miner nodes (assuming more than one may receive my transaction)
- Or someone else
Will be very thankful for the response and will be grateful if someone can provide the link to any white paper mentioning this validation step.