nomos-node/consensus/carnot-engine/Cargo.toml

33 lines
694 B
TOML
Raw Permalink Normal View History

[package]
name = "carnot-engine"
version = "0.1.0"
edition = "2021"
[dependencies]
Consensus orchestrator (#128) * 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>
2023-05-22 12:56:56 +00:00
serde = { version = "1.0", features = ["derive"], optional = true }
blake2 = "0.10"
bls-signatures = "0.14"
digest = "0.10"
derive_more = "0.99"
integer-encoding = "3"
sha2 = "0.10"
rand = "0.8"
rand_chacha = "0.3"
thiserror = "1"
fraction = { version = "0.13" }
nomos-utils = { path = "../../nomos-utils" }
2023-10-31 09:20:04 +00:00
utoipa = { version = "4.0", optional = true }
serde_json = { version = "1.0", optional = true }
[features]
default = []
serde = ["dep:serde", "nomos-utils/serde"]
simulation = []
openapi = ["dep:utoipa", "serde_json", "serde"]
2023-10-31 09:20:04 +00:00
[dev-dependencies]
proptest = "1.2.0"
proptest-state-machine = "0.1.0"