Add staking-miner bin (#7273)

* Add staking-miner bin

* Fix build and doc

---------

Co-authored-by: parity-processbot <>
This commit is contained in:
Chevdor
2023-05-24 15:23:34 +02:00
committed by GitHub
parent 5b1a230d23
commit 54584ee9f6
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -1,3 +1,7 @@
[[bin]]
name = "staking-miner"
path = "src/main.rs"
[package]
name = "staking-miner"
version.workspace = true
+1 -1
View File
@@ -16,7 +16,7 @@ staking-miner --help
You can build from the root of the Polkadot repository using:
```
cargo build --release --locked --package staking-miner
cargo build --profile production --locked --package staking-miner --bin staking-miner
```
## Docker