English 中文(简体)
Blockchain - Payment Verification
  • 时间:2024-11-03

Blockchain - Payment Verification


Previous Page Next Page  

Consider a case whereby as a vendor you may pke to verify a certain payment made in the past. As the blockchain you are holding on your machine contains only the block headers as shown in the earper figure, the transaction that you are searching for is missing in the copy of your blockchain.

You can now search backwards in your copy of the blockchain until you find a block in which the desired transaction is timestamped in. Now, request the merkle tree of the selected block and you will have the transaction that you are looking for. This is illustrated in below Figure −

Payment Verification

Here, we assume that you are looking for Tx103. Though you may not be able to see the contents of Tx103, you know that this has been accepted by the block to which it belongs and all subsequent blocks in the chain. Thus, you can safely trust this transaction and proceed with your business.

Advertisements