mirror of
https://github.com/Cuprate/cuprate.git
synced 2024-12-22 19:49:28 +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>
39 lines
No EOL
1.2 KiB
TOML
39 lines
No EOL
1.2 KiB
TOML
[package]
|
|
name = "cuprate-consensus-rules"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
license = "MIT"
|
|
authors = ["Boog900"]
|
|
|
|
[features]
|
|
default = []
|
|
proptest = ["dep:proptest", "dep:proptest-derive"]
|
|
rayon = ["dep:rayon"]
|
|
|
|
[dependencies]
|
|
cuprate-helper = { path = "../../helper", default-features = false, features = ["std"] }
|
|
cryptonight-cuprate = {path = "../../cryptonight"}
|
|
|
|
monero-serai = { workspace = true, features = ["std"] }
|
|
multiexp = { workspace = true, features = ["std", "batch"] }
|
|
dalek-ff-group = { workspace = true, features = ["std"] }
|
|
curve25519-dalek = { workspace = true, features = ["alloc", "zeroize", "precomputed-tables"] }
|
|
|
|
rand = { workspace = true, features = ["std", "std_rng"] }
|
|
|
|
hex = { workspace = true, features = ["std"] }
|
|
hex-literal = { workspace = true }
|
|
crypto-bigint = { workspace = true }
|
|
|
|
tracing = { workspace = true, features = ["std"] }
|
|
thiserror = { workspace = true }
|
|
|
|
rayon = { workspace = true, optional = true }
|
|
|
|
proptest = {workspace = true, optional = true}
|
|
proptest-derive = {workspace = true, optional = true}
|
|
|
|
[dev-dependencies]
|
|
proptest = {workspace = true}
|
|
proptest-derive = {workspace = true}
|
|
tokio = {version = "1.35.0", features = ["rt-multi-thread", "macros"]} |