hyperledger-iroha / iroha

Iroha - A simple, enterprise-grade decentralized ledger
https://wiki.hyperledger.org/display/iroha
Apache License 2.0
438 stars 280 forks source link

Validation after consensus #4950

Open mversic opened 2 months ago

mversic commented 2 months ago
          However, validating on deserialization is redundant once the block has become part of the blockchain. Clients and peers should rely on the integrity of the blockchain. In that case, I agree that all block check should be done only at the time of consensus. Never again later. I can make a separate ticket to discuss that?

_Originally posted by @mversic in https://github.com/hyperledger/iroha/pull/4928#discussion_r1708817431_

mversic commented 2 months ago

maybe not all checks, but some checks might be redundant