-
Notifications
You must be signed in to change notification settings - Fork 649
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
Add get_signed_transaction_signers or similar command to CLI #1210
Comments
@abitmore May I request you help me refine the user story? If I understand correctly, the return value you desire from this new feature is the set of account names that signed the given transaction. It is possible to change the active authority set over time, so currently the |
No, public keys. |
Example: on testnet the |
Alright, I understand the requirement now. Historically BitShares has hidden the keys, representing them by the account name, so my assumption was wrong. I would find value in knowing the set of signers providing their signatures (by name), their weight and the associated key used. The active weight and key may change over time, so the return values must be at the time of the transaction validation (not when queried). Should this feature be expanded to include userID, signingWeight and pubKey? |
It's just hard to expand with node API only, so this issue is only for public keys (lack of data is better than wrong data). Perhaps can do something with ES when get the keys, but out of this issue's scope. |
@bitshares/core-dev Please review this Issue and update:
@OpenLedgerDev intends to claim this Issue and begin working on it. |
Added Estimates from @OpenLedgerDev:
Still awaiting comment from @bitshares/core-dev |
My estimation on this issue is 2-5 hours. |
Here's our detailed estimation. This includes expanded version, not only public key.
Also, 4 hours to add automated smoke tests is actually done by our QA, not developer, so this work was incorrectly set as a developer, I am sorry. Having only public keys instead of more expanded would take about 2 times fewer hours. We would be happy to see @abitmore detailed estimation so that we can compare to ours. |
To implement the feature described in this issue, we need to add a cli command/API, which calls |
@ryanRfox I think our developers estimated the extended way of this change request as I mentioned before. So here is our estimation for impelementing public keys only:
Although our developers are quite familiar with BitShares, they are not intimately familiar with 100% of all the code. Neither is anyone in this world, because it's quite a complicated system that has been in the development by many people over the last 3 years. Moreover, as I already mentioned in our development process it's crucial that we run tests after every change that we make. We have a set of tests that run in the test framework on the testnet that we run specifically after a change. And this leaves us with 6 hours, which is quite close to 5 hours abit quoted. Could we skip 4 hours of research? definitely not. Generally, I don't see any other ways of decreasing the development time. Thanks, |
Thanks Denis for the details. This will really help for our upcoming voice call. My current understanding is OpenLedger proposes to develop an implementation for this Issue as a team, which is both welcome and novel for how Issues have been estimated historically as Community Claims (CC) against the Core Team WP. I believe this allows us to have a conversation about how we track and compensate a team's efforts. In the revised estimate @OpenLedgerApp allocates hours to multiple Roles: Business Analyst (4), Developer (6) QA Tester (4) and Project Manager (2) totaling 16 hours. Specific to Developer hours, you are just beyond the upper range of the estimate @abitmore provided. However, historically, CC by individual devs have included the QA Testing in their estimates, so I assume his estimate included that. We may be farther apart on estimates as a result. Typically the Core team is doing the BA work within the Issue for the CC devs and I've been doing some of the PM work and Core Team does another round of QA prior to merge. I value all of these roles as contributors within a highly functioning development team; that's why the Core Team is comprised of all of these (plus a documentation specialist). I believe we will arrive at solution to receive your team's contributions and properly compensate them for the effort. Look forward to chatting, Ryan |
Just a remark, |
This can be done in a client or standalone tool. No need for an API call. |
We have made PR - #1635 |
Resolved by #1635 |
User Story
As a
user
I wantto know a signed transaction is signed by whom
, specifically, the corresponding public keys of the private keys used to sign the transaction. It'sable to get the public keys from signatures
.Additional Context (optional)
After got the keys, can use
get_key_references
API to search for related accounts, but it's not always accurate becauseget_key_references
only queries current state. This is out of scope of this issue.CORE TEAM TASK LIST
The text was updated successfully, but these errors were encountered: