CodeChain-io/codechain

Register self generated proposal priority early

HoOngEe opened this issue · 0 comments

Current design treats self generated proposals and the proposals generated by others identically. Priorities can be calculated without generating the block. If a node registers its Priority to the proposal state variable, it can reject lower priority proposals early to save computation power needed to verify and import blocks.