When in tick-less mode, no longer continuously hash on the background thread. That mode is just used for testing and genesis log generation, and those extra hashes are just noise. Note that without the extra hashes, with lose the duration between events. Effectively, we distinguish proof-of-order from proof-of-time.
57 lines
1.2 KiB
TOML
57 lines
1.2 KiB
TOML
[package]
|
|
name = "silk"
|
|
description = "A silky smooth implementation of the Loom architecture"
|
|
version = "0.3.3"
|
|
documentation = "https://docs.rs/silk"
|
|
homepage = "http://loomprotocol.com/"
|
|
repository = "https://github.com/loomprotocol/silk"
|
|
authors = [
|
|
"Anatoly Yakovenko <aeyakovenko@gmail.com>",
|
|
"Greg Fitzgerald <garious@gmail.com>",
|
|
]
|
|
license = "Apache-2.0"
|
|
|
|
[[bin]]
|
|
name = "silk-historian-demo"
|
|
path = "src/bin/historian-demo.rs"
|
|
|
|
[[bin]]
|
|
name = "silk-client-demo"
|
|
path = "src/bin/client-demo.rs"
|
|
|
|
[[bin]]
|
|
name = "silk-testnode"
|
|
path = "src/bin/testnode.rs"
|
|
|
|
[[bin]]
|
|
name = "silk-genesis"
|
|
path = "src/bin/genesis.rs"
|
|
|
|
[[bin]]
|
|
name = "silk-genesis-demo"
|
|
path = "src/bin/genesis-demo.rs"
|
|
|
|
[[bin]]
|
|
name = "silk-mint"
|
|
path = "src/bin/mint.rs"
|
|
|
|
[badges]
|
|
codecov = { repository = "loomprotocol/silk", branch = "master", service = "github" }
|
|
|
|
[features]
|
|
unstable = []
|
|
asm = ["sha2-asm"]
|
|
|
|
[dependencies]
|
|
rayon = "1.0.0"
|
|
sha2 = "0.7.0"
|
|
sha2-asm = {version="0.3", optional=true}
|
|
generic-array = { version = "0.9.0", default-features = false, features = ["serde"] }
|
|
serde = "1.0.27"
|
|
serde_derive = "1.0.27"
|
|
serde_json = "1.0.10"
|
|
ring = "0.12.1"
|
|
untrusted = "0.5.1"
|
|
bincode = "1.0.0"
|
|
chrono = { version = "0.4.0", features = ["serde"] }
|