CodeChain-io / CodeChain-io/foundry
Tendermint consensus does not generate blocks if the network is disabled
- Lingua principale
- Rust
- Stelle
- 36
- Fork
- 11
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
If we use the solo consensus engine, it can generate blocks even though the network is disabled. The Tendermint consensus engine, however, does not generate blocks if the network is disabled.
Actually, since a normal network will be able to enable the network, this is not an important issue. If a user wants to run a network with only one Tendermint node to test some feature, this can matter.
What I mean by disabling/enabling the network is changing the "disable" value in the config file: https://github.com/CodeChain-io/foundry/blob/bb58de0b9beb652714a48fb102e52036ebebc08b/foundry/config/presets/config.dev.toml#L19
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Start with the config.dev.toml setting at the linked line and reproduce a single-node Tendermint network with the network disabled. Compare its block-generation behavior with the solo consensus engine; done means the expected block generation behavior is established for the disabled-network case.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- rust
- Ambito
- blockchain, distributed-systems
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100