serai/substrate/primitives/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
..
account.rs Move serai-client off serai-runtime, MIT licensing it 2023-12-07 02:30:09 -05:00
amount.rs Replace bincode with borsh (#452) 2023-11-25 04:01:11 -05:00
balance.rs Resolve latest clippy and a couple no longer needed fmt notes 2024-01-22 22:13:37 -05:00
block.rs Replace bincode with borsh (#452) 2023-11-25 04:01:11 -05:00
lib.rs Median by Position (#533) 2024-02-19 20:50:04 -05:00
networks.rs Correct a couple years of accumulated typos 2023-12-17 02:06:51 -05:00
tx.rs Document immunity to https://github.com/paritytech/polkadot-sdk/issues/2947 now that I have permission to disclose it 2024-01-16 12:06:08 -05:00