aboutsummaryrefslogtreecommitdiff
path: root/src/validationinterface.h
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2022-01-06 13:37:20 +0100
committerMarcoFalke <falke.marco@gmail.com>2022-01-06 13:37:26 +0100
commit06209574da794e949ed2515516326cf38d89d43e (patch)
tree75044c901ad05812e44a25df84592e7409012a5c /src/validationinterface.h
parent799fd7a488362c155cbe730f9a9e85e0c2109fcc (diff)
parentfe86eb50c986f7b5ccce63f984d8a51cd9ee9e2c (diff)
Merge bitcoin/bitcoin#23832: Refactor: Changes time variables from int to chrono
fe86eb50c986f7b5ccce63f984d8a51cd9ee9e2c Refactor: Uses c++ init convention for time variables (Shashwat) 6111b0d7fac89b7a0a03284ca6ec030ca7f30b99 Refactor: Changes remaining time variable type from int to chrono (Shashwat) Pull request description: This PR is a follow-up to #23801. This PR aims to make the following changes to all the time variables in **net_processing.cpp** wherever possible. - Convert all time variables to `std::chrono.` - Use `chorno::literals` wherever possible. - Use `auto` keywords wherever possible. - Use `var{val}` convention of initialization. This PR also minimizes the number of times, serialization of time `count_seconds(..)` occurs. ACKs for top commit: MarcoFalke: re-ACK fe86eb50c986f7b5ccce63f984d8a51cd9ee9e2c 🏕 Tree-SHA512: c8684c0c60a11140027e36b6e9706a45ecdeae6b5ba0bf267e50655835daee5e5410e34096a8c4eca005f327caae1ac258cc7b8ba663eab58abf131f6d2f4d42
Diffstat (limited to 'src/validationinterface.h')
0 files changed, 0 insertions, 0 deletions