Chain::SetTip return type to void #5104

pull ghost wants to merge 1 commits into bitcoin:master from changing 2 files +4 −5
  1. ghost commented at 1:57 AM on October 20, 2014: none

    Setting the Chain::SetTip return type to void. No other use case identified.

  2. luke-jr commented at 2:15 AM on October 20, 2014: member

    Just because it's not used doesn't mean it should be void'd...

  3. laanwj commented at 9:23 AM on October 20, 2014: member

    I don't really have an opinion on this. On one hand it indeed makes no sense to return something that isn't used, on the other hand it's not like this allows removing a significant amount of dead code, and it may come in useful later.

  4. sipa commented at 6:07 PM on October 20, 2014: member

    utACK - I added the return value because it was cheap and sounded potentially useful, but I doubt it will be used.

    Please squash the commits though.

  5. Chain::SetTip return type to void b7ae2c172a
  6. ghost commented at 12:35 AM on October 21, 2014: none

    Squashed as requested.

  7. laanwj merged this on Oct 22, 2014
  8. laanwj closed this on Oct 22, 2014

  9. laanwj referenced this in commit 93cb689e52 on Oct 22, 2014
  10. 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-17 15:15 UTC

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