You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CertifiedBlock is a Block with acquired quorum. ID() implementation is wrong as it doesn't cover the quorum certificate, a byzantine consensus node can change the QC without being noticed by other nodes. The usage of this data structure should be reviewed to be proven safe.
Problem description
CertifiedBlock
is aBlock
with acquired quorum.ID()
implementation is wrong as it doesn't cover the quorum certificate, a byzantine consensus node can change the QC without being noticed by other nodes. The usage of this data structure should be reviewed to be proven safe.flow-go/model/flow/block.go
Lines 77 to 84 in edf27b0
flow-go/model/flow/block.go
Lines 100 to 104 in edf27b0
flow-go/model/flow/quorum_certificate.go
Lines 3 to 23 in edf27b0
Proposed solution
Change implementation of
ID()
so that it hashes the quorum certificate tooThe text was updated successfully, but these errors were encountered: