aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-10-08 11:38:36 +0200
committerMarcoFalke <falke.marco@gmail.com>2020-10-08 11:38:47 +0200
commit9dd4de2832e298398436b957375d62de67f0a928 (patch)
tree731dd3a10ba0cd8b3a134e49085c671699e5a088 /share
parent283a73d7eaea2907a6f7f800f529a0d6db53d7a6 (diff)
parentb6834e312a6a7bb395ec7266bc9469384639df96 (diff)
Merge #20027: Use mockable time everywhere in net_processing
b6834e312a6a7bb395ec7266bc9469384639df96 Avoid 'timing mishap' warnings when mocking (Pieter Wuille) ec3916f40a3fc644ecbbaaddef6258937c7fcfbc Use mockable time everywhere in net_processing (Pieter Wuille) Pull request description: The fact that net_processing uses a mix of mockable tand non-mockable time functions made it hard to write functional tests for #19988. I'm opening this as a separate PR as I believe it's independently useful. In some ways this doesn't go quite as far as it could, as there are now several data structures that could be converted to `std::chrono` types as well now. I haven't done that here, but I'm happy to reconsider that. ACKs for top commit: MarcoFalke: ACK b6834e312a 🌶 jnewbery: utACK b6834e312a6a7bb395ec7266bc9469384639df96 naumenkogs: utACK b6834e3 Tree-SHA512: 6528a167c57926ca12894e0c476826411baf5de2f7b01c2125b97e5f710e620f427bbb13f72bdfc3de59072e56a9c1447bce832f41c725e00e81fea019518f0e
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions