-
Notifications
You must be signed in to change notification settings - Fork 191
fix: Fix voucher verification and data transfer limits in Circuit Relay v2 #698
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
Merged
Merged
Changes from all commits
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
75b6a10
init
guha-rahul 6bfbdce
Merge branch 'main' into 679_voucher
seetadev 7a9b021
Merge branch 'main' into 679_voucher
seetadev 20f252a
fix test and typeerror
guha-rahul d391f73
Merge branch 'main' into 679_voucher
seetadev 0d44632
some fixes and logging
guha-rahul 51a405e
Merge branch 'main' into 679_voucher
guha-rahul 65bb710
Merge branch 'main' into 679_voucher
seetadev 60d88fb
add newsfragment
guha-rahul 0fcfbc5
Merge branch 'main' into 679_voucher
seetadev d3e311e
Merge branch 'main' into 679_voucher
seetadev cafc298
Merge branch 'main' into 679_voucher
seetadev 15ce97b
Merge branch 'main' into 679_voucher
seetadev 54e39c8
add multihop protection and add test
guha-rahul 7284168
Merge branch 'main' into 679_voucher
guha-rahul 85a5bb1
Merge branch 'main' into 679_voucher
guha-rahul 8037071
Merge branch 'main' into 679_voucher
seetadev 774a7f3
Merge branch 'main' into 679_voucher
seetadev a0904fe
Merge branch 'main' into 679_voucher
seetadev f1019a5
Merge branch 'main' into 679_voucher
seetadev 474965a
Merge branch 'main' into 679_voucher
seetadev 8137069
Merge branch 'main' into 679_voucher
seetadev 0bcba4c
Merge branch 'main' into 679_voucher
seetadev 4714054
Merge branch 'main' into 679_voucher
seetadev 82f3390
Merge branch 'main' into 679_voucher
seetadev 670d630
Merge branch 'main' into 679_voucher
seetadev 5aeb690
Merge branch 'main' into 679_voucher
seetadev 9d9da91
Merge branch 'main' into 679_voucher
seetadev 862e28a
Merge branch 'main' into 679_voucher
seetadev 5633d7b
Merge branch 'main' into 679_voucher
seetadev bc3fc57
Merge branch 'main' into 679_voucher
seetadev b639315
Merge branch 'main' into 679_voucher
seetadev a231987
Merge branch 'main' into 679_voucher
seetadev 4c643c5
Merge branch 'main' into 679_voucher
seetadev 45ea250
Merge branch 'main' into 679_voucher
seetadev 5cecc74
Merge branch 'main' into 679_voucher
seetadev 372790b
Merge branch 'main' into 679_voucher
seetadev 2c8c59f
Merge branch 'main' of https://github.com/guha-rahul/py-libp2p into 6…
guha-rahul 6659c7b
Merge branch 'main' into 679_voucher
seetadev e0538f0
Merge branch 'main' into 679_voucher
guha-rahul 9e5d47b
Merge branch 'main' into 679_voucher
seetadev c43d58f
Merge branch 'main' into 679_voucher
seetadev 8de2ced
fix: Fix NetStream peer ID access and make senderRecord validation no…
Winter-Soren b51cf0b
Merge branch 'main' into 679_voucher
Winter-Soren 850c6d1
fix: RelayResourceManager constructor signature and type issues after…
Winter-Soren b0da1d1
fix: test_circuit_v2_verify_reservation by adding mock host for signa…
Winter-Soren 5fe9a39
Merge branch 'main' into 679_voucher
seetadev 5971aaa
Merge branch 'main' into 679_voucher
seetadev 93530b8
Merge branch 'main' into 679_voucher
Winter-Soren d63c449
fix: increase wait time in test_handle_prune to accommodate 3s heartb…
Winter-Soren f0ba32a
Merge branch '679_voucher' of https://github.com/guha-rahul/py-libp2p…
Winter-Soren File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a suggestion. Can we have a
self.resource_manager._reservations.get(peer_id)check at start, and if it fails, then we can directly reject the request withNO_RESERVATION = 204status. (similar to other implementations).