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

refactor(node): short-circuit transfers verification once the first o… #924

Merged

Conversation

bochaco
Copy link
Member

@bochaco bochaco commented Nov 1, 2023

…ne belonging to itself is found

Description

Summary generated by Reviewpad on 01 Nov 23 13:12 UTC

This pull request refactors the put_validation.rs file in the sn_node project. The change introduces a short-circuit mechanism that skips further verification once the first transfer belonging to itself is found. This improves the overall efficiency of the code.

@reviewpad reviewpad bot added Small Pull request is small waiting-for-review labels Nov 1, 2023
@bochaco bochaco force-pushed the refactor-short-circuit-transfers-verification branch 4 times, most recently from 34ee789 to 430e36b Compare November 1, 2023 14:22
@bochaco bochaco force-pushed the refactor-short-circuit-transfers-verification branch from 430e36b to f56f664 Compare November 1, 2023 14:28
@joshuef joshuef added this pull request to the merge queue Nov 1, 2023
Merged via the queue into maidsafe:main with commit 4ca83b1 Nov 1, 2023
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Small Pull request is small
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants