0

I understand that a pruned node needs to download all the blockchain in order to verify the blocks and construct the UTXO set.

But wouldn't be possible to download the headers only?
Let's say if the current block is 100 we download 100 headers and we consider the 94 first headers as valid. (100-6 = 94 , 6 is arbitrary and can be changed to prevent reorg) We download blocks 88 to 94 and consider their data as valid. And when receiving a transaction we check if this transaction is included in the blocks considered as valid.

And we constantly update that when a new header is added to the header chain. If the server is down then it won't notice the payment but that's another problem.

Can it work to receive payments ? I understand that as long as we never construct the UTXO set we can't create transactions and can't verify blocks. But does this idea of trusting proof of work only can work to receive payments?

or am I missing something ?

1 Answer 1

4

That's certainly possible, but this type of validation is called "lightweight verification" or "simplified payment verification" (SPV). There are several wallet implementations that use this principle, and it is in fact explained in section 8 of the Bitcoin whitepaper.

That is however not what a (pruned) full node does. The point of a full node is to fully validate every block and every transaction. Without full nodes, there would be no incentive for miners to construct honest blocks, and thus indirectly, this would also impact the security of lightweight clients.

1
  • Wow I did not made the link in my head with SPV. My bad Thanks for this clear answer !
    – leslie
    Aug 21, 2022 at 22:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.