CodeChain-io/codechain

Import the highest proposal only

HoOngEe opened this issue · 1 comments

In the current randomized leader election, the consensus client imports valid proposals after verifications. It seems natural in the previous Tendermint design, because there is only one valid proposal in a round. However in the randomized leader election, importing all valid proposals seems waste of resources.

Some verification can only be performed during the importing process. If a client imports the highest proposal only, the runtime erroneous proposal can be a problem. It is natural to select the next highest proposal in prevote step but the handling would be much more tricky than importing all candidate blocks. I'll close this issue.