-
Notifications
You must be signed in to change notification settings - Fork 148
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
Allow tx without budget #2846
Open
yontyon
wants to merge
44
commits into
vmware:privacy-feature
Choose a base branch
from
yontyon:allow-tx-without-budget
base: privacy-feature
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.
Open
Allow tx without budget #2846
Changes from 1 commit
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
e47cd6f
extend replica api to return some necessry objects needed for utt
yontyon 8a156f9
Add INTERNAL_FLAG to message's flags
yontyon e939276
Add INTERNAL_FLAG to message's flags
yontyon 5b61892
Fix internal flags issues
yontyon 8762dbf
fix compilation error
yontyon e9dbf59
add pragma once
yontyon 60d1573
add some necessary libutt api
yontyon da746f2
Fix an error with randomness when creating a coin by the replicas
yontyon ae5f62e
add an option to create determisitc coin commitment for coins created…
yontyon 9f486ff
Separate the wallet in its own source file
24f3186
The wallet now assumes only a single user. The user id is provided as…
d889deb
WIP budget, mint, transfer, burn operations
956d153
wallet fixes
b56ae6f
utt client api user now has more consistent error handling by throwin…
72912a2
Add support for mint transactions originating from the wallet
a34418f
Add number of outputs to utt::Transaction
7ac2db1
TestUTTClientApi now relies on the fact that updateBurnTx and updateM…
54de749
Multiplex multiple users in the same wallet for initial testing purposes
17ac7b9
Rename wallet command 'info' to 'show'
66c7c22
Add a way to pre-create budget tokens in the sample wallet
e44dbe1
Fix creation of budget locally to not happen before registration
c639459
Check if the wallet exists when processing commands
8f8b876
Add comment about the workaround dealing with the wallet service not …
95c257a
Add public balance to wallet-cli
17b3d46
Refactor wallet cli app to avoid excessive nesting when validating in…
2982b1e
Rework wallet-cli to use a bi-directional stream for all wallet requests
e36b04d
Fix pki was referenced as a local variable. Renaming
fdf54e4
Initial split of the privacy-admin-cli application with just the depl…
6d85b56
Transform the deploy command into a configure command in the wallet-c…
a1c93be
Use the public config obtained from the privacy contract
126abb6
Make wallet-cli single user by providing a user-id as an argument
12c7110
Add full validation capabilites
yontyon 70c9e36
Fix a bug where the new api transaction object exposes the input coins
yontyon 916eab9
Cleanup admin and wallet cli outputs. Demote some loginfo to logdbg s…
e596644
Improve the new utt api testing framework, integrating it with gtest …
yontyon 9044b5f
Fix clang-tidy checks
yontyon d1f1a78
Add getter for partial signatures map from the complete signature mes…
yontyon df5d5be
complete rebase
yontyon eaaec88
Add debug logs to user in utt-client-api
304afac
Allow transaction without budget in libutt
yontyon db42d35
Allow transaction without budget in clientAPI
yontyon 6608a17
Improve the input for budget policy in the admin cli
yontyon 312455f
clean some redundent comments
yontyon c512040
remove defaults and beautify the code
yontyon 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 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
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
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
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
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
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
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
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
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
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
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
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.
Should this PR also include a change to the wallet app?
as it checks
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.
Isn't it more elegant to define the non-budget configuration as a budget coin with infinite value?
It will eliminate the need for
if - else
on the transaction and will reduce the configuration changesThere 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.
It's more elegant for the code but will it be more elegant for the system if we still need to create and manage a 'hidden infinite' budget coin? And how does it reduce the configuration changes?