[Trivial] Use constants for DB keys #6823

pull domob1812 wants to merge 1 commits into bitcoin:master from domob1812:txdb-constants changing 1 files +4 −4
  1. domob1812 commented at 6:27 PM on October 13, 2015: contributor

    Replace literal occurances of the key "prefixes" 'c' and 'b' in txdb.cpp by the respective constants.

  2. trivial: use constants for db keys
    Replace literal occurances of the key "prefixes" 'c' and 'b' in txdb.cpp
    by the respective constants.
    f8f2aceadd
  3. MarcoFalke commented at 6:35 PM on October 13, 2015: member

    utACK

  4. paveljanik commented at 6:43 PM on October 13, 2015: contributor

    ACK

  5. dcousens commented at 10:46 PM on October 13, 2015: contributor

    ACK

  6. fanquake commented at 11:49 PM on October 13, 2015: member

    utACK

  7. sipa commented at 12:49 AM on October 14, 2015: member

    ACK

  8. laanwj commented at 10:51 AM on October 15, 2015: member

    I don't get it, why wasn't this done when the constants were introduced?

    utACK, checked that the values match

  9. laanwj merged this on Oct 15, 2015
  10. laanwj closed this on Oct 15, 2015

  11. laanwj referenced this in commit fa6b405f05 on Oct 15, 2015
  12. domob1812 commented at 10:54 AM on October 15, 2015: contributor

    I think it was, but the recent iterator patch may have used the literals instead of the constants; that's my guess, but I'm not motivated to check it.

  13. domob1812 deleted the branch on Oct 15, 2015
  14. zkbot referenced this in commit 068e82e00a on Jan 15, 2018
  15. litecoinz-project referenced this in commit 54754bbe08 on Mar 15, 2018
  16. zkbot referenced this in commit 564119eb31 on Apr 3, 2018
  17. zkbot referenced this in commit 77669b952b on Apr 3, 2018
  18. DrahtBot 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-21 18:15 UTC

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