-
Notifications
You must be signed in to change notification settings - Fork 37.7k
Doc: Fix copypasted comment #9216
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
I remember some rule that comments should not describe what the code does, but rather why the code does (some weird) stuff. I don't think (de)serialization is weird, so you might as well remove those altogether? |
@MarcoFalke I do not have problem with that. Will wait for other comments. |
ACK f26da35. |
Yes, in this case, it documents the contents of the file being read. |
Fine, just going to merge this. |
f26da35 Fix copypasted comment. (Pavel Janík)
f26da35 Fix copypasted comment. (Pavel Janík)
f26da35 Fix copypasted comment. (Pavel Janík)
f26da35 Fix copypasted comment. (Pavel Janík)
…+ Add file syncing logging and error handling d593e7e Migrate remaining FLATDATA serialization, we are natively supporting it now. (furszy) 051970d addrdb: Remove temporary files created in SerializeFileDB. Fixes non-determinism in unit tests. (practicalswift) 4be426f Add logging and error handling for file syncing (Wladimir J. van der Laan) 8662fb3 Remove unused double_safe_addition & double_safe_multiplication functions. (furszy) a7c3885 Add native support for serializing char arrays without FLATDATA (Pieter Wuille) 459ecb9 Deduplicate addrdb.cpp and use CHashWriter/Verifier (Pieter Wuille) a5d2f8a Fix copypasted comment. (Pavel Janík) Pull request description: Digging down the peers and ban databases commits path in upstream found some good stuff, back ported the following PRs: * bitcoin#9216. * bitcoin#10248. * bitcoin#12740. * bitcoin#13039. * bitcoin#16212. ACKs for top commit: random-zebra: ACK d593e7e Fuzzbawls: ACK d593e7e Tree-SHA512: 8d567c68a2c36f43c749d5faa4b7f8a299dbfdda133495df434ac642c1a2ac96dc2259123ad85decc9039c62c46602665f6be4aadf6d5bf729344c51692ec60e
The deserialization stuff was copied from peers.dat...