Skip to content
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

reth/db: make code more readable #7094

Merged
merged 3 commits into from Mar 11, 2024
Merged

Conversation

jsvisa
Copy link
Contributor

@jsvisa jsvisa commented Mar 11, 2024

make the code more readable:

  1. use variable db_log_level to avoid duplicated;
  2. make freelist_size calculate more understandable;
  3. return error of the segment info

Signed-off-by: jsvisa <delweng@gmail.com>
Signed-off-by: jsvisa <delweng@gmail.com>
@jsvisa jsvisa requested a review from onbjerg as a code owner March 11, 2024 10:19
@DaniPopes DaniPopes added this pull request to the merge queue Mar 11, 2024
Merged via the queue into paradigmxyz:main with commit 5ce8034 Mar 11, 2024
27 checks passed
@jsvisa jsvisa deleted the reth-db-dry branch March 11, 2024 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants