-
Notifications
You must be signed in to change notification settings - Fork 37.7k
refactor: VectorWriter and SpanReader without nVersion #28912
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. Code CoverageFor detailed information about the code coverage, see the test coverage report. ReviewsSee the guideline for information on the review process.
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
Shares its first commit with #28892 |
fabac1f
to
86aea1c
Compare
86aea1c
to
7f1b4b6
Compare
The field is unused, so remove it. This is also required for future commits.
The remaining places are handled easier outside a scripted-diff. -BEGIN VERIFY SCRIPT- sed --regexp-extended -i 's/CDataStream ([0-9a-zA-Z_]+)\(SER_[A-Z]+, [A-Z_]+_VERSION\);/DataStream \1{};/g' $( git grep -l CDataStream) sed -i 's/, CDataStream/, DataStream/g' src/wallet/walletdb.cpp -END VERIFY SCRIPT-
7f1b4b6
to
fae76a1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code review ACK fae76a1
What are the places where CDataStream is still needed after this and what will happen to these? |
Should end up removed completely in #28451. |
ACK fae76a1 |
The serialize version is unused, so remove it. This also allows to remove
GCS_SER_VERSION
and allows a scripted-diff to remove most ofCDataStream
.