serai/substrate/primitives
Luke Parker 6f5d794f10
Median by Position (#533)
* use median price instead of the highest sustained

* add test for lexicographically reversing a byte slice

* fix pr comments

* fix CI fail

* fix dex tests

* Use a fuzz-tested list of prices

* Working median algorithm based on position + lints

---------

Co-authored-by: akildemir <aeg_asd@hotmail.com>
2024-02-19 20:50:04 -05:00
..
src Median by Position (#533) 2024-02-19 20:50:04 -05:00
Cargo.toml Median by Position (#533) 2024-02-19 20:50:04 -05:00
LICENSE Correct the LICENSE files in serai-primitives and validator-sets-primitives 2023-12-06 07:10:36 -05:00