diff options
author | MacroFake <falke.marco@gmail.com> | 2022-05-12 10:04:18 +0200 |
---|---|---|
committer | MacroFake <falke.marco@gmail.com> | 2022-05-12 10:04:54 +0200 |
commit | dd9f61a184d4d395591ee3e9f1e839473e88ffd0 (patch) | |
tree | 9b95e2730f4468a3be0850218fd4ce217ad433b0 /test/functional/feature_dirsymlinks.py | |
parent | e3bab43329e78e93e13b8f55330b183c3a3c954e (diff) | |
parent | fab9e8a29c2cdeab6cf1ae7c1fc0e0a3af783b17 (diff) |
Merge bitcoin/bitcoin#25102: Remove unused GetTimeSeconds
fab9e8a29c2cdeab6cf1ae7c1fc0e0a3af783b17 Remove unused GetTimeSeconds (MacroFake)
Pull request description:
Seems confusing to have this helper when it is possible to get the system time in a type-safe way by simply calling `std::chrono::system_clock::now` (C++11).
This patch replaces `GetTimeSeconds` and removes it:
* in `bitcoin-cli.cpp` by `system_clock`
* in `test/fuzz/fuzz.cpp` by `steady_clock`
ACKs for top commit:
laanwj:
Code review ACK fab9e8a29c2cdeab6cf1ae7c1fc0e0a3af783b17
naumenkogs:
ACK fab9e8a29c2cdeab6cf1ae7c1fc0e0a3af783b17
Tree-SHA512: 517e300b0baf271cfbeebd4a0838871acbea9360f9dd23572a751335c20c1ba261b1b5ee0aec8a36abd20c94fab83ce94f46042745279aca1f0ca2f885a03b6e
Diffstat (limited to 'test/functional/feature_dirsymlinks.py')
0 files changed, 0 insertions, 0 deletions