Skip to content

Conversation

domob1812
Copy link
Contributor

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

Replace literal occurances of the key "prefixes" 'c' and 'b' in txdb.cpp
by the respective constants.
@maflcko
Copy link
Member

maflcko commented Oct 13, 2015

utACK

@paveljanik
Copy link
Contributor

ACK

1 similar comment
@dcousens
Copy link
Contributor

ACK

@fanquake
Copy link
Member

utACK

@sipa
Copy link
Member

sipa commented Oct 14, 2015

ACK

@laanwj
Copy link
Member

laanwj commented Oct 15, 2015

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

utACK, checked that the values match

@laanwj laanwj merged commit f8f2ace into bitcoin:master Oct 15, 2015
laanwj added a commit that referenced this pull request Oct 15, 2015
f8f2ace trivial: use constants for db keys (Daniel Kraft)
@domob1812
Copy link
Contributor Author

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 domob1812 deleted the txdb-constants branch October 15, 2015 13:40
zkbot added a commit to zcash/zcash that referenced this pull request Jan 15, 2018
Bitcoin 0.12+ dbwrapper improvements

Cherry-picked from the following upstream PRs:

- bitcoin/bitcoin#6650
  - Only refactor - excludes obfuscation
- bitcoin/bitcoin#6777
  - Excluding obfuscation-related changes
- bitcoin/bitcoin#6865
- bitcoin/bitcoin#6823
- bitcoin/bitcoin#6873
- bitcoin/bitcoin#7927
  - Excluding first commit (already included) and second commit (obfuscation-related)
- bitcoin/bitcoin#8467

Part of #2074.
zkbot added a commit to zcash/zcash that referenced this pull request Apr 3, 2018
Bitcoin 0.12+ dbwrapper improvements

Cherry-picked from the following upstream PRs:

- bitcoin/bitcoin#6650
  - Only refactor - excludes obfuscation
- bitcoin/bitcoin#6777
  - Excluding obfuscation-related changes
- bitcoin/bitcoin#6865
- bitcoin/bitcoin#6823
- bitcoin/bitcoin#6873
- bitcoin/bitcoin#7927
  - Excluding first commit (already included) and second commit (obfuscation-related)
- bitcoin/bitcoin#8467

Part of #2074.
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants