forked from paritytech/substrate
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature/v0.6 staking (paritytech#247)
* Initial v0.6 * New_trustees * Quick sketch * Remove unused cert in xaccounts module * Need to resolve finalized paritytech#30 * Fixes unfinalized issue after 30 blocks * Avoid invoke pcx_move * Draft * Split out * Rebuild wasm * Init session validators * Ok to build * Threshold to be an validator * Check address * Move trustee intentions to xaccounts module * 50_000!!! * Transform revocations to kv style * Init tokens psedu intentions * 30 blocks per session * Update wasm * Tweak XDOT related * Replace IntentionImmutablePropertiesOf with IntentionNameOf * Extract convert_to_stake and price_for in tokens module * Introduce TrusteeEntity - TrusteeEntity could a pubkey or an address. * Filter these who should be punished * Force punished to be inactive * Add is_trustee in rpc * Force punished to be inactive first * Remove needless timestamp * Nits
- Loading branch information
1 parent
4aa2011
commit 846a71c
Showing
16 changed files
with
297 additions
and
307 deletions.
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 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 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 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 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
Oops, something went wrong.