Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Add staking-miner bin #7273

Merged
merged 3 commits into from
May 24, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
name = "polkadot"
path = "src/main.rs"

[[bin]]
name = "staking-miner"
path = "utils/staking-miner/src/main.rs"

[package]
name = "polkadot"
description = "Implementation of a `https://polkadot.network` node in Rust based on the Substrate framework."
Expand Down
4 changes: 4 additions & 0 deletions utils/staking-miner/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
[[bin]]
name = "staking-miner"
path = "src/main.rs"

[package]
name = "staking-miner"
version.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion utils/staking-miner/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 --bin staking-miner
```

## Docker
Expand Down