serai/substrate/client/tests
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
..
common Staking pallet (#373) 2023-10-10 06:53:24 -04:00
batch.rs Add Batch messages from processor, verify Batchs published on-chain 2023-09-29 03:51:01 -04:00
burn.rs Add Batch messages from processor, verify Batchs published on-chain 2023-09-29 03:51:01 -04:00
time.rs Support extracting timestamps from blocks 2023-04-16 00:31:54 -04:00
validator_sets.rs Staking pallet (#373) 2023-10-10 06:53:24 -04:00