mirror of
https://github.com/hinto-janai/cuprate.git
synced 2024-10-29 23:37:35 +00:00
Boog900
889e15738b
* change monero-consensus to cuprate-consensus-rules * document the context service * remove the mutex on blockchain context * comment the context caches * add back tokio * document block checks * typo * keep tha amount of outputs with a certain amount in the output cache * typo * nuke cross-block batch verification * remove RPC scanner * change how contextual data is got. * fmt & clippy fixes * typo * cargo update * restore Cargo.lock * add a verify tx test. + fixes an issue with verifying signatures after BPs * clippy * remove bad test * add mores tests and fix a couple bugs * typos * move tests and add some more * typo * remove scan_chain docs * fix check for duplicate txs when duplicates are not sequential * add a proptest for dup txs * cache tx verification state * doc updates + move `Vec` to `Arc<[]>` * clippy * misc changes * Apply suggestions from code review Co-authored-by: hinto-janai <hinto.janai@protonmail.com> Co-authored-by: SyntheticBird <118022351+SyntheticBird45@users.noreply.github.com> * fix fmt * review changes --------- Co-authored-by: hinto-janai <hinto.janai@protonmail.com> Co-authored-by: SyntheticBird <118022351+SyntheticBird45@users.noreply.github.com>
40 lines
No EOL
1.3 KiB
TOML
40 lines
No EOL
1.3 KiB
TOML
[package]
|
|
name = "cuprate-consensus"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "A crate implementing all Moneros consensus rules."
|
|
license = "MIT"
|
|
authors = ["Boog900"]
|
|
repository = "https://github.com/Cuprate/cuprate/tree/main/consensus"
|
|
|
|
[dependencies]
|
|
cuprate-helper = { path = "../helper", default-features = false, features = ["std", "asynch", "num"] }
|
|
cuprate-consensus-rules = { path = "./rules", features = ["rayon"] }
|
|
|
|
thiserror = { workspace = true }
|
|
tower = { workspace = true, features = ["util"] }
|
|
tracing = { workspace = true, features = ["std", "attributes"] }
|
|
futures = { workspace = true, features = ["std", "async-await"] }
|
|
|
|
randomx-rs = { workspace = true }
|
|
monero-serai = { workspace = true, features = ["std"] }
|
|
multiexp = { workspace = true }
|
|
dalek-ff-group = { workspace = true }
|
|
curve25519-dalek = { workspace = true }
|
|
|
|
rayon = { workspace = true }
|
|
thread_local = { workspace = true }
|
|
tokio = { workspace = true, features = ["rt"] }
|
|
tokio-util = { workspace = true }
|
|
|
|
hex = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
cuprate-test-utils = { path = "../test-utils" }
|
|
cuprate-consensus-rules = {path = "./rules", features = ["proptest"]}
|
|
|
|
hex-literal = { workspace = true }
|
|
|
|
tokio = { workspace = true, features = ["rt-multi-thread", "macros"]}
|
|
proptest = { workspace = true }
|
|
proptest-derive = { workspace = true } |