-
Notifications
You must be signed in to change notification settings - Fork 790
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
Verify Signatures API Call #1674
Comments
…atures_args to conform to auth interface used by ops #1674
The commit history needs cleaned up as a result of review in #1726 in order to facilitate comprehensive auditing of critical consensus code. There are two design requirements that motivated the design that exists.
The design is to template the current auth verification to work on any objects that implement the following interface or a void get_required_authorities( vector<authority>& )const;
void get_required_active_authorities( flat_set<account_name_type>& )const;
void get_required_posting_authorities( flat_set<account_name_type>& )const;
void get_required_owner_authorities( flat_set<account_name_type>& )const; The transformation from the current source code to the properly abstracted source code should be logical, incremental, and build-able at each stage (to prove compatibility via CI). |
These updates now need to be merged back in to develop. |
Is there a reason this ticket is still open? |
Sorry, I meant master. An older version of this was merged to master. The develop PR is the one that you had problems with, which forced a refactor of the branch. That now needs to be merged back in to master. |
The API will be in database_api (For master and develop) with the following format:
The hash can be of anything. For any given hash, set of signatures, set of accounts, and authority level the API will return if the signatures are sufficient based on the account's authorities. To match behavior of steemd transaction signing, it will fail on duplicate signatures, but will throw an exception on that failure rather than silently fail by returning false.
The text was updated successfully, but these errors were encountered: