forked from ghostchain/ghost-node
eviction trait added
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
parent
8252107e96
commit
0dd27d6429
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "ghost-traits"
|
||||
version = "0.3.32"
|
||||
version = "0.3.33"
|
||||
license.workspace = true
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
3
pallets/traits/src/evictor.rs
Normal file
3
pallets/traits/src/evictor.rs
Normal file
@ -0,0 +1,3 @@
|
||||
pub trait StakingEvictor<AccountId> {
|
||||
fn try_evict_validator(who: &AccountId) -> bool;
|
||||
}
|
||||
@ -2,3 +2,4 @@
|
||||
|
||||
pub mod exposure;
|
||||
pub mod networks;
|
||||
pub mod evictor;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user