MarcoFalke
fad943821e
scripted-diff: Rename touched member variables
...
-BEGIN VERIFY SCRIPT-
ren() { sed -i "s/\<$1\>/$2/g" $( git grep -l "$1" ./src/ ) ; }
ren nLastBlockTime m_last_block_time
ren nLastTXTime m_last_tx_time
ren nTimeConnected m_connected
-END VERIFY SCRIPT-
2021-12-13 13:32:08 +01:00
MarcoFalke
fad7ead146
refactor: Use type-safe std::chrono in net
2021-12-13 12:32:09 +01:00
Martin Ankerl
9fef832932
bench: make EvictionProtection.* work with any number of iterations
...
Moves copying of the setup into the benchmark loop so it is possible
to run the loop for an arbitrary number of times.
The overhead due to copying the candidates inside the loop is about 3%.
2021-09-21 14:45:48 +02:00
Jon Atack
e49d50cf40
bench: fix 32-bit narrowing warning in bench/peer_eviction.cpp
2021-07-15 23:05:10 +02:00
Jon Atack
5adb064574
bench: add peer eviction protection benchmarks
...
Co-authored-by: Vasil Dimov <vd@FreeBSD.org>
2021-07-08 12:28:23 +02:00