* Add happy-path consensus engine * tmp * Fit types from spec (#124) * Match types to spec * Remove Output import * Consensus engine rework (#126) * rework * fix test * clippy happy --------- Co-authored-by: Giacomo Pasini <Zeegomo@users.noreply.github.com> * Adapt carnot network adapter interfaces and implementations * Fix errors * Update network with engine types * Fit types yet again * Remove leadership and old overlay Create carnot event builder Added some adjustments * Add view to vote * Fix serde derive in consensus-engine * Add serde feature for engine in core * Use view in tally * Move carnot tally to consensus service * Add new view msg * Fit engine types in adapter * Missing serde feature in consensus service * Implement carnot event builder * Implement even builder run main tasks * Fill up view resolver * Fix errors on network adapter implementations * Clippy happy * Extract event handling to independent methods in View * Fix test * Refactor carnot event builder (#135) * refactor * format * Discriminate proposal messages (#136) * Derive block id from wire format (#139) * Derive block id from wire format * Derive id on block creation * Use compile time hash size * Add leader role (#138) * add leadership stub * fix gather_new_views * fmt * actually build qc * remove redundant fields * add flat overlay (#143) * add flat overlay * fix * sort imports * fix tests * Unhappy tally (#137) * Refactor tally module * Implement tally for new view messages * Assess pr comments * Fix rebase * simplify tally --------- Co-authored-by: Giacomo Pasini <g.pasini98@gmail.com> * Working node (#149) * fix gather_new_views * working node * fix unhappy path * remove leftover * fix comments * update waku (#146) * update waku * Fix waku update --------- Co-authored-by: danielsanchezq <sanchez.quiros.daniel@gmail.com> * little fixes * Consensus tasks cancellation (#147) * fix * Create view cancel and cancel cache * Attach cancellation to consensus tasks * Fix view binds --------- Co-authored-by: Giacomo Pasini <g.pasini98@gmail.com> --------- Co-authored-by: danielsanchezq <sanchez.quiros.daniel@gmail.com> * Remove clones on consts --------- Co-authored-by: Al Liu <scygliu1@gmail.com> Co-authored-by: Giacomo Pasini <g.pasini98@gmail.com> Co-authored-by: Giacomo Pasini <Zeegomo@users.noreply.github.com>
33 lines
916 B
TOML
33 lines
916 B
TOML
[package]
|
|
name = "nomos-consensus"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
async-trait = "0.1"
|
|
async-stream = "0.3"
|
|
bytes = "1.3"
|
|
chrono = "0.4"
|
|
consensus-engine = { path = "../../consensus-engine", features = ["serde"] }
|
|
futures = "0.3"
|
|
nomos-network = { path = "../network" }
|
|
nomos-mempool = { path = "../mempool" }
|
|
nomos-core = { path = "../../nomos-core" }
|
|
overwatch-rs = { git = "https://github.com/logos-co/Overwatch", branch = "main" }
|
|
rand_chacha = "0.3"
|
|
rand = "0.8"
|
|
serde = { version = "1", features = ["derive"] }
|
|
thiserror = "1.0"
|
|
tokio = { version = "1", features = ["sync"] }
|
|
tokio-stream = "0.1"
|
|
tokio-util = "0.7"
|
|
tracing = "0.1"
|
|
waku-bindings = { version = "0.1.0-rc.2", optional = true}
|
|
|
|
[features]
|
|
default = []
|
|
waku = ["nomos-network/waku", "waku-bindings"]
|
|
mock = ["nomos-network/mock"]
|