CodeChain-io / CodeChain-io/foundry

Make UpdateConsensus to choose the proposer

Aperta
#603 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Rust
Stelle
36
Fork
11
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Foundry host eventually has to use the 0th validator given by `UpdateConsensus`, as the proposer.
This will remove old CodeChain proposer selection logic https://github.com/CodeChain-io/foundry/pull/602#pullrequestreview-556853470.
And also, to express complicated staking rule considering tendermint process, we have to pass the current view (round) to the module, via `block_opened()`.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Locate the UpdateConsensus and block_opened entry points, then read the linked pull request review for the existing proposer-selection context. Trace how the current view is passed into the module and how validators are returned. Done means UpdateConsensus exposes the proposer through its validator result and the old host-side selection logic is removed.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
rust
Ambito
blockchain
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.