Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
have verify_account_authority check passed-in keys #1384
Thank you @abitmore for partially answering a question I had.
Is the purpose of this function to prove that the public keys are valid? Or is this function saying "If you send a transaction signed by the private keys related to these public keys, it will go through"?
If you want to prove that those public keys are related to this account, well, I think I am done.
If you want to take in to account multi-auth accounts, then more will need to be added. And now with projects being worked on that make keys more granular, I believe it would depend on what type of transaction you are doing as to if such a signature would pass or fail.
If my thinking and assumptions on the last paragraph are correct, perhaps it would be best to pause working on this issue until those features are added.
In the latest approach, I am using graphene::chain::verify_authority with a transfer operation and the passed in account and keys. I have not tested with a multi-level signature account. I will take that on next, unless someone raises their hand and says this approach is also invalid.