serai/substrate/node
akildemir 98190b7b83
Staking pallet (#373)
* initial staking pallet

* add staking pallet to runtime

* support session rotation for serai

* optimizations & cleaning

* fix deny

* add serai network to initial networks

* a few tweaks & comments

* fix some pr comments

* Rewrite validator-sets with logarithmic algorithms

Uses the fact the underlying DB is sorted to achieve sorting of potential
validators by stake.

Removes release of deallocated stake for now.

---------

Co-authored-by: Luke Parker <lukeparker5132@gmail.com>
2023-10-10 06:53:24 -04:00
..
src Staking pallet (#373) 2023-10-10 06:53:24 -04:00
build.rs Add an initial Substrate instantiation 2022-07-15 00:05:00 -04:00
Cargo.toml Merge branch 'dalek-4.0' into develop 2023-08-17 02:00:36 -04:00
LICENSE Update licenses 2023-01-11 23:05:31 -05:00