chore(core)!: rename SyncResult to SyncResponse#1732
Merged
notmandatory merged 2 commits intobitcoindevkit:masterfrom Nov 21, 2024
Merged
Conversation
998fc61 to
1411cb8
Compare
notmandatory
approved these changes
Nov 19, 2024
Member
notmandatory
left a comment
There was a problem hiding this comment.
ACK 1411cb8
Looks good, all SyncResults renamed.
Collaborator
|
Would it make sense to apply the same reasoning to |
Collaborator
Author
Good point! I think it does make sense, added a new commit with the changes so I can either squash it or drop it depending on other opinions. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fixes #1647
Description
As mentioned in #1647 issue, the usage of
Resultin Rust is conventionally meant to be an enum type with error variant, and it's appropriate here.It should be
SyncResponseinstead, as it's the most appropriate alongside the other typesSyncRequestandSyncProgressalready being used.Notes to the reviewers
Changelog notice
bdk_core::spk_client'sSyncResulttoSyncResponse.Checklists
All Submissions:
cargo fmtandcargo clippybefore committingNew Features:
Bugfixes: