SebastianElvis / ebft

ISC License
2 stars 0 forks source link

wire: message `MsgVote` for voting and announcing unique blocks #8

Closed SebastianElvis closed 2 years ago

SebastianElvis commented 2 years ago

Problem

To finalise a block, ORazor requires nodes to certify the block and announce the uniqueness of the block. To this end, we need a new type of message MsgVote. It contains three fields:

Description

Alternatives

Additional context

jianyu-niu commented 2 years ago

We can simplify it into one by including one bit to denote the types of votes. (As for realization, we can reuse codes of generating transactions interface. Need discussion)

SebastianElvis commented 2 years ago

We can simplify it into one by including one bit to denote the types of votes. (As for realization, we can reuse codes of generating transactions interface. Need discussion)

Agree

SebastianElvis commented 2 years ago

Things to note when implementing a new message type: