Skip to content

Conversation

fanquake
Copy link
Member

This PR simply renames GetSystemTimeInSeconds to GetTimeSeconds, for uniformity amongst our time handling functions (GetTimeMillis, GetTimeMicros). I have a branch that does a chunk of GetTime() -> GetSystemTimeInSeconds (GetTimeSeconds) / GetTime<T> migration, so we can eventually remove the (2 year) deprecated GetTime().

However, splitting this off and doing the renaming first while the number of GetSystemTimeInSeconds instances is small seems worthwhile.

-BEGIN VERIFY SCRIPT-
sed -i -e 's/GetSystemTimeInSeconds/GetTimeSeconds/g' $(git grep -l GetSystemTimeInSeconds src)
-END VERIFY SCRIPT-
@practicalswift
Copy link
Contributor

Concept ACK

2 similar comments
@kiminuo
Copy link
Contributor

kiminuo commented May 31, 2021

Concept ACK

@theStack
Copy link
Contributor

Concept ACK

@DrahtBot
Copy link
Contributor

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Conflicts

Reviewers, this pull request conflicts with the following ones:

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

Copy link
Contributor

@promag promag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review ACK feb72e5.

@practicalswift
Copy link
Contributor

cr ACK feb72e5: patch looks correct

@DrahtBot DrahtBot mentioned this pull request May 31, 2021
12 tasks
@fanquake fanquake merged commit 62d9ff9 into bitcoin:master Jun 1, 2021
@fanquake fanquake deleted the get_system_time_seconds_to_get_time_secomds branch June 1, 2021 03:31
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Jun 1, 2021
@bitcoin bitcoin locked and limited conversation to collaborators Jun 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants