bc453b686f
* 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>
35 lines
914 B
TOML
35 lines
914 B
TOML
[package]
|
|
name = "nomos-core"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
authors = [
|
|
"Daniel Sanchez Quiros <danielsq@status.im>"
|
|
]
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
async-trait = { version = "0.1" }
|
|
blake2 = { version = "0.10" }
|
|
bytes = "1.3"
|
|
consensus-engine = { path = "../consensus-engine", features = ["serde"]}
|
|
futures = "0.3"
|
|
nomos-network = { path = "../nomos-services/network", optional = true }
|
|
raptorq = { version = "1.7", optional = true }
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
thiserror = "1.0"
|
|
bincode = "1.3"
|
|
once_cell = "1.0"
|
|
indexmap = { version = "1.9", features = ["serde"] }
|
|
serde_json = { version = "1", optional = true }
|
|
|
|
[dev-dependencies]
|
|
rand = "0.8"
|
|
tokio = { version = "1.23", features = ["macros", "rt"] }
|
|
|
|
|
|
[features]
|
|
default = []
|
|
raptor = ["raptorq"]
|
|
mock = ["nomos-network/mock", "serde_json"]
|