Replace literal occurances of the key "prefixes" 'c' and 'b' in txdb.cpp by the respective constants.
[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-
domob1812 commented at 6:27 PM on October 13, 2015: contributor
-
f8f2aceadd
trivial: use constants for db keys
Replace literal occurances of the key "prefixes" 'c' and 'b' in txdb.cpp by the respective constants.
-
MarcoFalke commented at 6:35 PM on October 13, 2015: member
utACK
-
paveljanik commented at 6:43 PM on October 13, 2015: contributor
ACK
-
dcousens commented at 10:46 PM on October 13, 2015: contributor
ACK
-
fanquake commented at 11:49 PM on October 13, 2015: member
utACK
-
sipa commented at 12:49 AM on October 14, 2015: member
ACK
-
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
- laanwj merged this on Oct 15, 2015
- laanwj closed this on Oct 15, 2015
- laanwj referenced this in commit fa6b405f05 on Oct 15, 2015
-
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.
- domob1812 deleted the branch on Oct 15, 2015
- zkbot referenced this in commit 068e82e00a on Jan 15, 2018
- litecoinz-project referenced this in commit 54754bbe08 on Mar 15, 2018
- zkbot referenced this in commit 564119eb31 on Apr 3, 2018
- zkbot referenced this in commit 77669b952b on Apr 3, 2018
- DrahtBot locked this on Sep 8, 2021