CodeChain-io / CodeChain-io/codechain

Optimize the gossip method by modifying peer states

Open
#1,897 0 comments 0 reactions 0 assignees View on GitHub
consensus experimental
Dominant language
Rust
Stars
256
Forks
50
PR merge metrics
No merged PRs in 30d

Description

In the VRF-based randomized leader election, the method `request_proposal_to_any` is awkward. If the tendermint module introduce a new peer state "priority", it can request proposals only to the nodes whose priorities are the highest.

Contributor guide

Open the contributing guide

Research direction

Start at the `request_proposal_to_any` method and trace the VRF-based randomized leader-election flow into the Tendermint peer-state handling. Determine how a new `priority` state and highest-priority proposal requests should be specified, then document the expected behavior and tests needed to show that gossip targets only eligible high-priority nodes.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
blockchain, distributed-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.