This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Staking Miner #3141
Merged
Merged
Staking Miner #3141
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
36502dc
Companion for Decouple Staking and Election - Part 3: Signed Phase
coriolinus 1e509e9
Merge remote-tracking branch 'origin/master' into prgn-companion-for-…
coriolinus 9638fcf
Merge remote-tracking branch 'origin/master' into prgn-companion-for-…
coriolinus 59646c2
Merge branch 'prgn-companion-for-7910' of github.com:paritytech/polka…
kianenigma 271d351
Template added
kianenigma 7e21f24
Add stuff
kianenigma 61cf070
First working version
kianenigma 95b6ea0
revamp rpc stuff
kianenigma 1709494
remove all the stale js stuff
kianenigma 0c10c66
Major updates, closer to completion.
kianenigma a4aa730
removing my generic WIP for tidyness.
kianenigma 72db361
add --at
kianenigma dc1a623
ass measure snapshot
kianenigma 5fa5a3f
some new little debugging thigs
kianenigma 138e8b9
pre-merge
kianenigma c3cfe94
Merge branch 'master' of github.com:paritytech/polkadot into kiz-stak…
kianenigma 863ea3a
Master.into()
kianenigma 3980e85
Fix
kianenigma d1ba0cb
revert dep update
kianenigma fe76cee
update to master
kianenigma 3777a8a
revert all the toml shit
kianenigma 64c22d9
Apply suggestions from code review
kianenigma bcd394d
cleanup
kianenigma e74218e
Fix more
kianenigma 3ce287f
Fix era
kianenigma 7dd7e64
Apply suggestions from code review
kianenigma ab87195
Few fixes
kianenigma c77bf51
Better reward scheme
kianenigma b25ee40
y
kianenigma 10508ae
Update utils/staking-miner/src/main.rs
kianenigma f83ddb6
Update utils/staking-miner/src/dry_run.rs
kianenigma 913e75a
Update utils/staking-miner/src/dry_run.rs
kianenigma 89e0a38
Update utils/staking-miner/src/monitor.rs
kianenigma dcbe582
More chnages
kianenigma f10f00b
Merge branch 'kiz-staking-miner' of github.com:paritytech/polkadot in…
kianenigma df8725b
Fix
kianenigma 1e4f6be
Master.into()
kianenigma 01e92c4
Make it restart automatically.
kianenigma 979cfcc
Final touches
kianenigma File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
*.key | ||
*.bin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
[package] | ||
name = "staking-miner" | ||
version = "0.9.0" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
edition = "2018" | ||
|
||
[dependencies] | ||
codec = { package = "parity-scale-codec", version = "2.0.0" } | ||
tokio = { version = "0.2", features = ["macros"] } | ||
log = "0.4.11" | ||
env_logger = "0.8.3" | ||
structopt = "0.3.0" | ||
jsonrpsee-ws-client = { version = "0.2.0", default-features = false, features = ["tokio02"] } | ||
jsonrpsee-types = { version = "0.2.0" } | ||
jsonrpsee = "=0.2.0-alpha.6" | ||
serde_json = "1.0" | ||
serde = "1.0.0" | ||
hex = "0.4.0" | ||
lazy_static = "1.4.0" | ||
paste = "1.0.5" | ||
thiserror = "1.0.0" | ||
|
||
remote-externalities = { git = "https://github.com/paritytech/substrate", branch = "master" } | ||
|
||
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } | ||
sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } | ||
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } | ||
sp-npos-elections = { git = "https://github.com/paritytech/substrate", branch = "master" } | ||
sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" } | ||
|
||
|
||
frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" } | ||
frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" } | ||
frame-election-provider-support = { git = "https://github.com/paritytech/substrate", branch = "master" } | ||
pallet-election-provider-multi-phase = { git = "https://github.com/paritytech/substrate", branch = "master" } | ||
pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "master" } | ||
pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master" } | ||
|
||
core-primitives = { package = "polkadot-core-primitives", path = "../../core-primitives" } | ||
|
||
runtime-common = { package = "polkadot-runtime-common", path = "../../runtime/common" } | ||
polkadot-runtime = { path = "../../runtime/polkadot" } | ||
kusama-runtime = { path = "../../runtime/kusama" } | ||
westend-runtime = { path = "../../runtime/westend" } | ||
|
||
[dev-dependencies] | ||
sp-version = { git = "https://github.com/paritytech/substrate", branch = "master" } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.