aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee/include/rolling_median.h
Commit message (Collapse)AuthorAgeFilesLines
* epee: allow copying a rolling_median_t objectmoneromooo-monero2022-04-101-1/+14
|
* Copyright: Update to 2022mj-xmr2022-03-041-1/+1
|
* Fixed issues found by static analysisSChernykh2020-12-081-1/+0
| | | | | | - rolling_median: tried to free uninitialized pointer in a constructor - net_node.inl: erase-remove idiom was used incorrectly. remove_if doesn't actually remove elements, see http://cpp.sh/6fcjv - bulletproofs.cc: call to sizeof() instead of vector.size(), luckily it only impacts performance and not code logic there
* Fix overflow issue in epee:misc_utils::rolling_median_t and median(), with ↵koe2020-07-231-1/+3
| | | | unit test
* Update copyright year to 2020SomaticFanatic2020-05-061-1/+1
| | | | Update copyright year to 2020
* blockchain: keep a rolling long term block weight medianmoneromooo-monero2019-05-021-0/+236