You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge bitcoin#27405: util: Use steady clock instead of system clock to measure durations
fa83fb3 wallet: Use steady clock to calculate number of derive iterations (MarcoFalke)
fa2c099 wallet: Use steady clock to measure scanning duration (MarcoFalke)
fa97621 qt: Use steady clock to throttle GUI notifications (MarcoFalke)
fa1d804 test: Use steady clock in index tests (MarcoFalke)
fa454dc net: Use steady clock in InterruptibleRecv (MarcoFalke)
Pull request description:
`GetTimeMillis` has multiple issues:
* It doesn't denote the underlying clock type
* It isn't type-safe
* It is used incorrectly in places that should use a steady clock
Fix all issues here.
ACKs for top commit:
willcl-ark:
ACK fa83fb3
martinus:
Code review ACK bitcoin@fa83fb3, also ran all tests. All usages of the steady_clock are just for duration measurements, so the change to a different epoch is ok.
Tree-SHA512: 5ec4fede8c7f97e2e08863c011856e8304f16ba30a68fdeb42f96a50a04961092cbe46ccf9ea6ac99ff5203c09f9e0924eb483eb38d7df0759addc85116c8a9f
0 commit comments