-
Notifications
You must be signed in to change notification settings - Fork 57
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
chore(client): remove price tolerance at the client #824
Merged
Conversation
This file contains 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
joshuef
force-pushed
the
RemoveAPIIndirectionAtClient
branch
from
October 11, 2023 11:47
ddd0f45
to
f05d0a4
Compare
bochaco
approved these changes
Oct 11, 2023
bochaco
force-pushed
the
RemoveAPIIndirectionAtClient
branch
from
October 11, 2023 12:32
f05d0a4
to
9e356b3
Compare
joshuef
force-pushed
the
RemoveAPIIndirectionAtClient
branch
from
October 16, 2023 10:29
9e356b3
to
f01202c
Compare
reviewpad
bot
added
Medium
Medium sized PR
and removed
Small
Pull request is small
labels
Oct 16, 2023
joshuef
force-pushed
the
RemoveAPIIndirectionAtClient
branch
3 times, most recently
from
October 17, 2023 10:13
71b60c0
to
ac4094e
Compare
joshuef
force-pushed
the
RemoveAPIIndirectionAtClient
branch
5 times, most recently
from
October 17, 2023 14:21
a7d16ee
to
a0aa382
Compare
joshuef
force-pushed
the
RemoveAPIIndirectionAtClient
branch
2 times, most recently
from
October 17, 2023 18:57
f442278
to
7b77c7b
Compare
This should no longer be needed with repayments reusing existing payments This also removes some client indirection
Remove payment which makes upload valid, instead only pay 0 tokens and that's it.
BREAKING CHANGE: updates client register creation APIs
joshuef
force-pushed
the
RemoveAPIIndirectionAtClient
branch
from
October 18, 2023 08:25
bc0cb8d
to
7ceb986
Compare
…notes" This reverts commit 9eb32bb.
@@ -205,6 +207,8 @@ | |||
all_data_payments: BTreeMap<XorName, Vec<(MainPubkey, NanoTokens)>>, | |||
verify_store: bool, | |||
) -> WalletResult<NanoTokens> { | |||
// TODO: |
Check notice
Code scanning / devskim
A "TODO" or similar was left in source code, possibly indicating incomplete functionality Note
Suspicious comment
github-merge-queue
bot
removed this pull request from the merge queue due to failed status checks
Oct 18, 2023
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.
This should no longer be needed with repayments reusing existing payments
This also removes some client indirection## Description
Summary generated by Reviewpad on 11 Oct 23 07:55 UTC
This pull request includes two patches.
The first patch removes the price tolerance at the client and some client indirection. The
get_store_costs_at_address
method is removed from theClient
struct, as it is no longer needed with repayments reusing existing payments.The second patch ensures that only the closest nodes are used for pricing. The
get_closest_peers
method now limits the number of close nodes toCLOSE_GROUP_SIZE
and sorts the close nodes based on their distance to the record address before truncating the list. This ensures that only the closest nodes are used for pricing calculations.