monero/contrib
Jeffrey 330df2952c Trim fat from misc_language.h and refactor net_peerlist.h
The following were removed from misc_language.h:
* Includes to `<limit>` and `<functional>`
* Macros `STD_TRY_BEGIN` and `STD_TRY_CATCH`
* Function `get_max_t_val`
* Iterator-related functions `move_it_forward` and `move_it_backward`
* struct `less_as_pod`
* memory compare function `is_less_as_pod`

All the above were unmentioned throughout the rest of the project except for `move_it_backward`,
which was mentioned 3 times in `net_peerlist.h`. However, the same exact behaviour can be
acheived with `std::advance()`, so I unloaded the iterator logic into a private static inline
method `peerlist_manager::get_nth_latest_peer()`. Personally, I think this has the side effect
of making the functions `get_white_peer_by_index()`, `get_gray_peer_by_index()`, and
`get_random_gray_peer()` clearer in their implementation.
2022-03-07 11:24:34 -06:00
..
brew Doc: Add ccache to README.md and Brewfile 2021-03-30 06:13:20 +02:00
depends Fix Android OpenSSL build 2021-11-30 04:15:48 +00:00
epee Trim fat from misc_language.h and refactor net_peerlist.h 2022-03-07 11:24:34 -06:00
fuzz_testing fuzz_tests: add a test for utf8canonical 2020-12-14 19:40:24 +00:00
gitian Add copy commands for compiled binaries 2021-12-02 16:54:04 +00:00
lsan contrib: add a suppressions file for leak sanitizer 2019-08-29 11:11:59 +00:00
rlwrap remove obsolete save_graph skeleton code 2019-05-10 14:17:18 +00:00
tor add a convenience script to start monero with inbound tor 2020-10-28 22:38:27 +00:00
valgrind easylogging++: faster access to logging 2018-11-27 13:55:21 +00:00
CMakeLists.txt Test: Enable coverage for external repositories 2021-04-01 19:50:54 +02:00