scripted-diff: Rename SteadyClockContext to FakeSteadyClock #35559

pull HowHsu wants to merge 1 commits into bitcoin:master from HowHsu:fake-steady-clock changing 5 files +9 −9
  1. HowHsu commented at 7:17 AM on June 18, 2026: contributor

    See: #35536 (comment)

    SteadyClockContext and FakeNodeClock are both LimitOne RAII helpers that mock a clock in tests -- the steady clock and the node clock, respectively. Rename the former so the two follow a consistent FakeXClock naming scheme.

  2. scripted-diff: Rename SteadyClockContext to FakeSteadyClock
    SteadyClockContext and FakeNodeClock are both LimitOne RAII helpers that mock a
    clock in tests -- the steady clock and the node clock, respectively. Rename the
    former so the two follow a consistent FakeXClock naming scheme.
    
    -BEGIN VERIFY SCRIPT-
    sed -i 's/SteadyClockContext/FakeSteadyClock/g' $(git grep -l SteadyClockContext)
    -END VERIFY SCRIPT-
    855a3fee88
  3. DrahtBot added the label Refactoring on Jun 18, 2026
  4. DrahtBot commented at 7:17 AM on June 18, 2026: contributor

    <!--e57a25ab6845829454e8d69fc972939a-->

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

    <!--006a51241073e994b41acfe9ec718e94-->

    Code Coverage & Benchmarks

    For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/35559.

    <!--021abf342d371248e50ceaed478a90ca-->

    Reviews

    See the guideline for information on the review process.

    Type Reviewers
    ACK maflcko

    If your review is incorrectly listed, please copy-paste <code>&lt;!--meta-tag:bot-skip--&gt;</code> into the comment that the bot should ignore.

    <!--5faf32d7da4f0f540f40219e4f7537a3-->

  5. maflcko commented at 7:34 AM on June 18, 2026: member

    Can you please remove the script from the pull message? I haven't tested this, but the pull message will be the commit message of the merge commit, and a script without a marker will likely lead to lint failures after merge.

  6. maflcko commented at 7:36 AM on June 18, 2026: member

    lgtm ACK 855a3fee8829447ca580d01fb96bff8d4eaf30db

    Small diff to use a single naming scheme.

  7. HowHsu commented at 7:58 AM on June 18, 2026: contributor

    Can you please remove the script from the pull message? I haven't tested this, but the pull message will be the commit message of the merge commit, and a script without a marker will likely lead to lint failures after merge.

    Thanks.

  8. HowHsu commented at 8:00 AM on June 18, 2026: contributor

    I think this should be updated and merged after https://github.com/bitcoin/bitcoin/pull/35536


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-06-20 23:51 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me