Skip to content

Testing and demonstrating immutability of blockfile #5051

Answered by denyeart
manavdeep asked this question in Q&A
Discussion options

You must be logged in to vote

The peer does not check old blocks at runtime, it just verifies blocks as they are processed and validates transactions relative to its state database.
To verify hashes of old blocks and verify the integrity relative to other peers, see the ledgerutil verify and compare commands:
https://hyperledger-fabric.readthedocs.io/en/latest/commands/ledgerutil.html

The important aspect is that an administrator cannot modify their peer data and successfully pass it off to other nodes. The other nodes would detect the compromised data, for example if the modified peer tried to endorse a subsequent transaction the other nodes would detect the endorsement difference and invalidate the subsequent transa…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by denyeart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants