Implement the mining software

This commit is contained in:
2024-03-24 13:09:29 +01:00
parent 2f3216a0c4
commit 825b07bc11
7 changed files with 608 additions and 7 deletions

13
miner/Cargo.toml Normal file
View File

@@ -0,0 +1,13 @@
[package]
name = "carrotcoin_miner"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
base64 = "0.22.0"
clap = { version = "4.5.3", features = ["derive"] }
num_cpus = "1.16.0"
rand = "0.8.5"
sha2 = "0.10.8"