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

More merkle.rs cleanup #329

Merged
merged 5 commits into from
Oct 26, 2023
Merged

More merkle.rs cleanup #329

merged 5 commits into from
Oct 26, 2023

Conversation

richardpringle
Copy link
Contributor

  • Make remove and get use the same logic
  • Make get_mut and get share the same logic
  • Consolidate node-fetching logic

There's still a little more work to do, but the testing logic isn't trival so I left a TODO

firewood/src/db.rs Outdated Show resolved Hide resolved
firewood/src/merkle.rs Outdated Show resolved Hide resolved
firewood/src/merkle.rs Outdated Show resolved Hide resolved
firewood/src/merkle.rs Outdated Show resolved Hide resolved
shale/src/lib.rs Outdated Show resolved Hide resolved
shale/src/lib.rs Show resolved Hide resolved
@richardpringle richardpringle force-pushed the more-cleanup branch 3 times, most recently from 9a451e1 to a9aa6b3 Compare October 25, 2023 21:27
firewood/src/merkle.rs Show resolved Hide resolved
@richardpringle richardpringle merged commit 1ed24f3 into main Oct 26, 2023
5 checks passed
@richardpringle richardpringle deleted the more-cleanup branch October 26, 2023 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants