-
Notifications
You must be signed in to change notification settings - Fork 336
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
Documentation of new market API #582
Comments
With regard to #500, the API is simply to open up methods from the fc crypto suite, which themselves are not documented. This was at the request of @bytemaster With regard to #503, @xeroc, in what ways does the documentation need to be better? None of the methods are ground breaking from a market perspective, and the parameterization is consistent with the rest of the API with the exception of referencing assets by string instead of id, which was a primary motivation behind the new API calls. |
Maybe just copy Polo's docs to docs.bitshares.org? |
And what are the blog_post APIs? Why are they here? |
While these are a good start it's a shame none of the "all markets" methods were implemented. We desperately need a way to poll for active markets and obtain some stats about them. Approximate equivalents of these two would have been great:
|
@mvandeberg In regards to in-code documents, by a simple comparation of crypto api code to other APIs' code, anyone can see there are big differences. |
@svk31 We simply have much much more markets than other exchanges, so a "all market" API is not practicable imo. However a "top X volume markets" API would be better. |
Yea that's why I said approximate equivalent. Even just the top 10 by volume would be amazing, but of course the more the better... |
@svk31 The market volume is being calculated every call. We are currently not saving that information in the database, so there is no quick way for sort on it and look up top 10 markets. That would require modification of how we store markets and orders and is beyond the scope of what I was asked to do. |
@abitmore I am not sure what specific differences you are referring to. Of course the APIs are different, they are different APIs. The point of the crypto API was to expose cryptographic utility methods through the network layer for utilization by the web client. All of the implementation is in fc elliptic. Unfortunately there is no documentation on those methods and I was only given a list of methods to expose. I assumed they were commonly understood methods to anyone familiar with elliptic curve cryptography. |
@mvandeberg thanks anyway.. I have no idea about these functions at all. Maybe it need to be done by others. @bytemaster @pmconrad? Thanks. |
Sorry, I didn't follow this discussion - can you provide a list? Which methods do you want to expose, which need documentation? |
@pmconrad Please see graphene/libraries/app/include/graphene/app/api.hpp Lines 199 to 235 in fd09669
|
blind_sign and unblind_signature belong to this: https://bitsharestalk.org/index.php/topic,17315.msg220421.html#msg220421 I don't know anything about the range stuff nor the blind_factor stuff. |
This issue was moved to bitshares/bitshares-core#171 |
According to @xeroc comment in #500 the API implemented in #500 #503 needs to be better documented. Discussion of that documentation effort should take place in this ticket.
The text was updated successfully, but these errors were encountered: