Handle rename failure in DumpMempool(...) by using the RenameOver(...) return value. Add [[nodiscard]] to RenameOver(...). #20519

pull practicalswift wants to merge 2 commits into bitcoin:master from practicalswift:renameover-nodiscard changing 2 files +4 −2
  1. practicalswift commented at 12:48 PM on November 27, 2020: contributor

    Handle rename failure in DumpMempool(...) by using the RenameOver(...) return value.

    Add [[nodiscard]] to RenameOver(...) to reduce the risk of similar rename issues in the future.

  2. Handle rename failure in DumpMempool(...) by using RenameOver(...) return value 9429a398e2
  3. Add [[nodiscard]] to RenameOver(...) ce9dd45422
  4. vasild approved
  5. vasild commented at 1:09 PM on November 27, 2020: member

    ACK ce9dd454

    This was the only place where the return value of RenameOver() was not inspected.

    Would be useful to print the reason for the rename failure, but that's out of the scope of this PR.

  6. DrahtBot added the label Utils/log/libs on Nov 27, 2020
  7. DrahtBot added the label Validation on Nov 27, 2020
  8. theStack approved
  9. theStack commented at 4:17 PM on November 29, 2020: member

    ACK ce9dd45422e1f4ecce6df68da086b8bfc2100756 🏷️

  10. luke-jr approved
  11. luke-jr commented at 6:07 PM on November 30, 2020: member

    utACK

  12. MarcoFalke merged this on Dec 1, 2020
  13. MarcoFalke closed this on Dec 1, 2020

  14. sidhujag referenced this in commit 161efc874a on Dec 1, 2020
  15. practicalswift deleted the branch on Apr 10, 2021
  16. PastaPastaPasta referenced this in commit f8fa18037f on Jun 27, 2021
  17. PastaPastaPasta referenced this in commit 7a09b5d635 on Jun 28, 2021
  18. PastaPastaPasta referenced this in commit d6e7776f25 on Jun 29, 2021
  19. PastaPastaPasta referenced this in commit c548bdd5f3 on Jul 1, 2021
  20. PastaPastaPasta referenced this in commit fc54ece0a1 on Jul 1, 2021
  21. PastaPastaPasta referenced this in commit aa566e5d88 on Jul 15, 2021
  22. PastaPastaPasta referenced this in commit 7920dce8bc on Jul 15, 2021
  23. PastaPastaPasta referenced this in commit 5bda1b9398 on Sep 17, 2021
  24. PastaPastaPasta referenced this in commit d8a9d791e5 on Sep 19, 2021
  25. PastaPastaPasta referenced this in commit 1d8363e741 on Sep 21, 2021
  26. PastaPastaPasta referenced this in commit 4d8f035207 on Sep 24, 2021
  27. kittywhiskers referenced this in commit 78b174a666 on Oct 12, 2021
  28. Fabcien referenced this in commit 7bb25596e5 on Jan 26, 2022
  29. gades referenced this in commit aa651536ef on Apr 19, 2022
  30. DrahtBot locked this on Aug 16, 2022

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-13 15:14 UTC

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