2 ms·
That is called tracing. It’s also not hard - every node does it to verify blocks.
by lazide 11mo ago
That is called tracing. It’s also not hard - every node does it to verify blocks.
- charcircuit 11mo agoWhen blocks are verified it just needs to validate that sum of the outputs isn't more than the sum of the inputs. It doesn't care about tracking what went where.
- lazide 11mo agoExcept I can literally pull up a full node and see a wallets current balance - which is because it traces all the transactions through the blockchain, verifying all of them. Literally the only way anyone can see their wallet balance is by doing this.
- charcircuit 11mo agoYou can find your balance by looking at the UTXO set and seeing if your adress can spend it. There is no need to trace where those UTXO came from.
- lazide 11mo agoBut every full node does, because it is required to validate the chain. Near as I can tell, you just don’t know how Bitcoin actually works?
- charcircuit 11mo agoI will say it again. When validating the chain all it cares about is that the sum of the output UTXO for a transaction are <= the sum of the input UTXO. All the input UTXO are no longer valid once spent and can be forgotten.