mirror of
https://github.com/serai-dex/serai.git
synced 2024-12-24 20:49:27 +00:00
f6f945e747
It's largely unoptimized, and not yet exclusive to validators, yet has basic sanity (using message content for ID instead of sender + index). Fixes bugs as found. Notably, we used a time in milliseconds where the Tributary expected seconds. Also has Tributary::new jump to the presumed round number. This reduces slashes when starting new chains (whose times will be before the current time) and was the only way I was able to observe successful confirmations given current surrounding infrastructure.
23 lines
602 B
TOML
23 lines
602 B
TOML
[package]
|
|
name = "tendermint-machine"
|
|
version = "0.2.0"
|
|
description = "An implementation of the Tendermint state machine in Rust"
|
|
license = "MIT"
|
|
repository = "https://github.com/serai-dex/serai/tree/develop/coordinator/tendermint"
|
|
authors = ["Luke Parker <lukeparker5132@gmail.com>"]
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
async-trait = "0.1"
|
|
thiserror = "1"
|
|
|
|
hex = "0.4"
|
|
log = "0.4"
|
|
|
|
parity-scale-codec = { version = "3", features = ["derive"] }
|
|
|
|
futures = "0.3"
|
|
tokio = { version = "1", features = ["sync", "time"] }
|
|
|
|
[dev-dependencies]
|
|
tokio = { version = "1", features = ["rt-multi-thread", "macros"] }
|