mirror of
https://github.com/Cuprate/cuprate.git
synced 2024-11-17 00:07:55 +00:00
d7798328b6
Instead of asking for one block at a time, we ask for batches of blocks, which significantly speeds up getting blocks.
37 lines
No EOL
1.1 KiB
TOML
37 lines
No EOL
1.1 KiB
TOML
[package]
|
|
name = "monero-consensus"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "A crate implimenting all Moneros consensus rules."
|
|
license = "MIT"
|
|
authors = ["Boog900"]
|
|
repository = "https://github.com/Cuprate/cuprate/tree/main/consensus"
|
|
|
|
[features]
|
|
default = ["binaries"]
|
|
binaries = ["rpc", "dep:tokio", "dep:tracing-subscriber", "tower/retry", "tower/balance", "tower/buffer"]
|
|
rpc = ["dep:futures", "dep:serde_json", "dep:serde"]
|
|
|
|
[dependencies]
|
|
hex = "0.4"
|
|
thiserror = "1"
|
|
tower = {version = "0.4", features = ["util"]}
|
|
tracing = "0.1"
|
|
|
|
crypto-bigint = "0.5"
|
|
|
|
randomx-rs = "1"
|
|
monero-serai = {git="https://github.com/Cuprate/serai.git", rev = "84b77b1"}
|
|
|
|
cuprate-common = {path = "../common"}
|
|
cryptonight-cuprate = {path = "../cryptonight"}
|
|
|
|
# used for rpc
|
|
futures = {version = "0.3", optional = true}
|
|
serde_json = {version = "1", optional = true}
|
|
serde = {version = "1", optional = true, features = ["derive"]}
|
|
# used in binaries
|
|
tokio = { version = "1", features = ["rt-multi-thread", "macros"], optional = true }
|
|
tracing-subscriber = {version = "0.3", optional = true}
|
|
# here to help cargo to pick a version - remove me
|
|
syn = "2.0.37" |