serai/substrate/dex/pallet/src
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
..
benchmarking.rs Remove redundant fields from dex-pallet, add cargo machete ignores 2023-12-11 07:47:23 -05:00
lib.rs Median by Position (#533) 2024-02-19 20:50:04 -05:00
mock.rs Median by Position (#533) 2024-02-19 20:50:04 -05:00
tests.rs Median by Position (#533) 2024-02-19 20:50:04 -05:00
types.rs Median by Position (#533) 2024-02-19 20:50:04 -05:00
weights.rs Dex improvements (#422) 2023-11-12 06:37:31 -05:00