-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Multiple-URI support in parse_uri
and make_uri
#9756
Open
U65535F
wants to merge
58
commits into
monero-project:master
Choose a base branch
from
U65535F:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+615
−64
Open
Changes from 1 commit
Commits
Show all changes
58 commits
Select commit
Hold shift + click to select a range
7469d69
Multiple url functionality.
U65535F d1f69b9
Remove commented line.
U65535F 1b1e930
Fix error by removing repeated code block.
U65535F 168668a
fix no member named errors
U65535F ab0c39e
Add function overloads for make_uri to make it compatible with older …
U65535F 25b3ef2
Fix tests
U65535F a55f1f1
Fix function overloads
U65535F 246926a
Fix errors of parse_uri saying that m_wallet was not found.
U65535F bfa2c35
Add semi-colon
U65535F cd922c6
Update parse_uri to support single tx
U65535F 0fe95f9
fix parse_uri
U65535F a5750c5
fix errors
U65535F 4a83b22
fix make_uri
U65535F 6ca8ace
Slight imporvements and fix always failing test code.
U65535F dab6fe2
Fix tests that were using atomic units in URL. Add parameter consiste…
U65535F 20e6095
Fix failing python functional tests
U65535F 546fb29
fix improper size calc
U65535F 993ebfc
Move overloads to wallet2.cpp. Introduce backwards compatibility in w…
U65535F 577b7ee
Fix function declarations
U65535F faf7306
fix uri_data not found by replacing it with tools::wallet2::uri_data …
U65535F 48fe7eb
remove override keyword from wallet.h: make_uri and parse_uri
U65535F 9383f36
fix override issue
U65535F ca7b72e
add semi-colon.
U65535F a7fbf60
warning fix: loop variable 'entry' creates a copy.
U65535F df0021e
Merge branch 'master' of https://github.com/U65535F/monero
U65535F 400d812
add const keyword
U65535F d678eee
allow standalone payment ids (yet not recommended; fallback)
U65535F bd357c5
Exclude core_tests
U65535F f0de5c8
fix failing uri.py by properly calling make_uri and parse_uri. restor…
U65535F c489d7d
introduce a custom convert to url func instead of modifying existing …
U65535F 5911114
fix conver_to_url_format not declared by changing call to epee::net_u…
U65535F d9a56b8
Remove out of scope payment id check
U65535F cd59dfa
Introduce v2 versions of make_uri and parse_uri to ensure proper back…
U65535F 6f27307
add new-lines
U65535F 01d3a94
fix occurrences of uri funcs
U65535F 5b1f082
remove v2 uri funcs as C++ differs them through function overloading …
U65535F 0d7cb1a
fix make_uri_v2 and parse_uri_v2 calling make_uri and parse_uri in py…
U65535F 3562a50
fix uri.py not providing payment_id to one of the tests
U65535F 33ad3f0
remove extra new lines in wallet2_api.h
U65535F 1ebba43
Merge branch 'monero-project:master' into master
U65535F 71aa95e
only accept standard types as parameters
U65535F de28957
Merge branch 'master' of https://github.com/U65535F/monero
U65535F 44b70c1
update wallet2
U65535F eeb3051
fix typos and overlooked references to old variables
U65535F bbcc043
fix typos
U65535F a647610
add const keyword
U65535F c1964b1
fix const keyword dropping error
U65535F 707700d
remove override keyword
U65535F 952486e
add const keyword to wallet2 interface
U65535F cc6deca
add const keyword
U65535F 0d8698f
restore unnecessary edits and address sneedlewoods' comments
U65535F c6f16a6
remove some unnecessary edits and old references to removed variables…
U65535F 1f14a22
fix silly typos
U65535F 9158feb
Merge branch 'monero-project:master' into master
U65535F e4c0e63
Merge branch 'monero-project:master' into master
U65535F dedfcec
Merge branch 'monero-project:master' into master
U65535F b59fc59
Merge branch 'monero-project:master' into master
U65535F e74a7d4
Merge branch 'monero-project:master' into master
U65535F 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
fix no member named errors
commit 168668a4019b5bec41b4dffc303d6edcfb252f2e
There are no files selected for viewing
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
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.
WALLET_RPC_VERSION_MINOR
has to be bumped. Generally I'm unsure about this change since it seems incompatible. Wouldn't it make more sense to add a separateCOMMAND_RPC_MAKE_MULTI_URI
command instead of changing the existing one? I assume that would also reduce the diff in the tests.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.
Yes. It would reduce the difference. So the original tests will work as usual. But if there is a need for multi-URI, then the user has to call the separate RPC commands which accept multiple recipient parameters for URI.
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.
This is preferable over breaking all existing clients in my opinion.