trustbloc / sidetree-fabric

Implementation of Sidetree with a backing Hyperledger Fabric ledger
Apache License 2.0
26 stars 13 forks source link

Prevent anchor to be written by peer using an old protocol version #428

Closed bstasyszyn closed 4 years ago

bstasyszyn commented 4 years ago

A Sidetree peer's block height may be behind other peers and the batch writer on that peer may commit an anchor using an old protocol version. This may be mitigated at endorsement time by ensuring that the batch writer passes its current protocol version to the endorsing peers and the endorsing peers validate that the protocol version matches.