-
Notifications
You must be signed in to change notification settings - Fork 36.3k
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
refactor: Remove unused CDataStream::rdbuf method #26258
The head ref may contain hidden characters: "2210-no-rdbuf-\u{1F365}"
Conversation
It is unused and seems unlikely to be ever used.
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 fabbbe3
Seems like this method was introduced by Satoshi and hasn't been used for >10 years (last use was removed with commit 5ce4c2a) has never been used 👀
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.
ACK fabbbe3
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.
Compact()
also seems unused, can remove that too?
Was this ever used? Looks like the commit you link to was a call to |
As opposed to rdbuf one could imagine a use case for this, so I kept it for now. But happy to drop as well if reviewers want that. |
Oh you're right, it seems the method you removed was indeed never used then 🤔 |
fabbbe3 Remove unused CDataStream::rdbuf method (MacroFake) Pull request description: It is unused and seems unlikely to be ever used. ACKs for top commit: theStack: Code-review ACK fabbbe3 aureleoules: ACK fabbbe3 Tree-SHA512: 5804642658f96a0fb51482ebf3a062bb0f997c1e0527455afa4aceeeb6c1ad139a98b14a7c8a0909daba733a83bdc24fcadad45060ead4be6eb3dc3e66c129e2
It is unused and seems unlikely to be ever used.