mirror of
https://github.com/logos-blockchain/logos-blockchain-specs.git
synced 2026-01-26 00:43:11 +00:00
block verification
This commit is contained in:
parent
f935a93fe2
commit
4a1a1b2cab
@ -353,10 +353,11 @@ class Carnot:
|
||||
# Update the highest voted view
|
||||
self.highest_voted_view = max(self.highest_voted_view, block.view)
|
||||
|
||||
# Determine the recipient based on committee membership
|
||||
# if self.overlay.is_member_of_root_committee(self.id):
|
||||
# recipient = self.overlay.leader(block.view + 1)
|
||||
# else:
|
||||
# After block verification, votes are sent to committee members.
|
||||
# When a QC is formed from 2/3rd of subtree votes, it's forwarded to the parent committee.
|
||||
# If a Type 1 timeout occurs, a QC is built from available votes and QCs and sent to the parent.
|
||||
# Subsequent votes are forwarded to the parent committee members.
|
||||
|
||||
recipient = self.overlay.my_committee(self.id)
|
||||
|
||||
# Return a Send event to the appropriate recipient
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user