MacroFake dd9f61a184
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
2022-05-12 10:04:54 +02:00
..
2021-12-30 19:36:57 +02:00
2021-05-11 10:38:18 +02:00
2021-12-30 19:36:57 +02:00
2022-02-21 14:32:53 +01:00
2021-12-30 19:36:57 +02:00
2022-04-28 10:24:06 +02:00
2022-05-05 20:50:24 +02:00
2022-05-05 20:50:24 +02:00
2022-04-05 13:30:06 +02:00
2022-05-05 20:50:24 +02:00
2022-05-11 16:39:23 +02:00
2022-05-11 16:39:23 +02:00
2021-12-30 19:36:57 +02:00