* implement quic * simpler names * simplify worker logic * simplify gpu configuration logic * miner initiates and picks random start nonce * remove mining service * clean up logs and remove unused engines * clean up metrics * metrics fix * shared worker pool, cpu driven cancellation just 10x the gpu thru-put, no more batch-size on gpu * fmt * non-local git * taplo derp * fix the benches * handle stale results correctly in gpu * more accurate gpu hashrate * fmt * remove unused * handle duplicate solutions, cli controls gpu cancel frequency * put plonky2 back * demote noisy log
32 lines
768 B
TOML
32 lines
768 B
TOML
[package]
|
|
name = "engine-cpu"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
publish = false
|
|
description = "CPU mining engine implementation for the Quantus External Miner"
|
|
|
|
[lib]
|
|
path = "src/lib.rs"
|
|
crate-type = ["rlib"]
|
|
|
|
[features]
|
|
# Default to the baseline/reference implementation; enable others as needed.
|
|
default = ["baseline"]
|
|
|
|
# Map engine features to pow-core features so engine-cpu consumers can toggle them.
|
|
baseline = ["pow-core/baseline"]
|
|
simd-poseidon2 = ["pow-core/simd-poseidon2"]
|
|
|
|
[dependencies]
|
|
pow-core = { path = "../pow-core" }
|
|
primitive-types = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
hex = { workspace = true }
|
|
criterion = "0.5"
|
|
rand = { workspace = true, features = ["std", "std_rng"] }
|
|
|
|
[[bench]]
|
|
name = "cpu_engine_bench"
|
|
harness = false
|