Why Nostr? What is Njump?
2024-09-19 03:53:38
in reply to

vnprc on Nostr: When a new block comes in each node validates that the transactions in that block ...

When a new block comes in each node validates that the transactions in that block spend UTXOs that exist in the UTXO set. If a tx input does not exist in the UTXO set the block is invalid. But you'd have a hard time even constructing such a block template under normal circumstances because nodes also validate each tx input when they first see a transaction come across the p2p network. If the input does not exist in the UTXO set or in the mempool (or I suppose in the same package now that packages are a thing) that tx will get dropped and won't propagate through the network. So really it happens at the block level but practically speaking it happens at the mempool level.
Author Public Key
npub16vzjeglr653mrmyqvu0trwaq29az753wr9th3hyrm5p63kz2zu8qzumhgd