Rename Interval() to DifficultyAdjustmentInterval() #5799

pull shaulkf wants to merge 1 commits into bitcoin:master from shaulkf:rename-difficulty-adjustment changing 3 files +6 −6
  1. shaulkf commented at 1:59 PM on February 17, 2015: contributor

    Rename following discussion in #5739 (comment)

  2. Rename Interval() to DifficultyAdjustmentInterval() e5ece053da
  3. shaulkf commented at 7:07 PM on February 17, 2015: contributor

    Tests are passing locally. Does anyone know of a way to locally reproduce the Travis environment?

  4. paveljanik commented at 7:19 PM on February 17, 2015: contributor

    read-ACK. The Travis bug seems to be random.

  5. laanwj commented at 10:20 AM on February 18, 2015: member

    Very much agree with this, but won't ACK unless it at least passes travis. I'll look into it.

    The failure in https://travis-ci.org/bitcoin/bitcoin/jobs/51080203 is triggered by the comparison tool detecting that the node disconnected

    02:07:41 14 BitcoindComparisonTool$1.onPeerDisconnected: bitcoind node disconnected!
    

    The subsequent log however shows that the tool is the one that disconnects, and then a normal shutdown procedure follows.

    2015-02-17 14:07:42 socket closed
    2015-02-17 14:07:42 disconnecting peer=1
    2015-02-17 14:07:42 Shutdown: In progress...
    

    It's hard to filter out what is happening with the amount of lock-related low-level noise in that log. It may be. It may be that the interesting part of the log precedes that part of the tail that is printed ....

  6. laanwj commented at 11:49 AM on February 18, 2015: member

    The travis respin made it pass. There's nothing in this change that could believably introduce intermittent errors, so ACK.

  7. fanquake commented at 12:03 PM on February 18, 2015: member

    ACK

  8. laanwj merged this on Feb 18, 2015
  9. laanwj closed this on Feb 18, 2015

  10. laanwj referenced this in commit 8d0418720c on Feb 18, 2015
  11. shaulkf deleted the branch on Mar 17, 2015
  12. MarcoFalke locked this on Sep 8, 2021

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-04-29 03:16 UTC

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