-
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
get_full_account
only contains given withdrawal_permissions
#1654
Comments
Please use the "Feature request" template next time. |
Usually if a business is established, the operational account can have lots (e.g. thousands) of authorized withdraw permission objects, thus it's not good to query via There is already another API |
How about limiting the list in |
@pmconrad that's a good idea. IMHO all lists returned by |
We have a lot of lists so a flag for each into the full account object will be too much IMO. My suggestion is to only limit to default the |
My recommendation is to find out an appropriate value as default, even if it changes current behavior. Currently there are a few accounts (e.g. funkit-bithares) with hundreds even thousands of open orders in the system, lots of clients (e.g. reference UI) are already broken when fetching their accounts. API nodes are also under pressure. |
Ok, what do you think of:
Let me know what do you think to continue the development. Appreciated. |
@oxarbitrage I'm fine with your solution. @pm your opinion? |
By the way, after we have bitshares/bitshares-fc#126, we can add parameters to |
Yes, i considered that too but i think we should better discuss it in a new issue after the FC code is merged. |
These two don't go together. If you get 50 results you don't know if that's because of a low configured limit or because there aren't any more. |
I like that idea, also full accounts is getting abused because people are lazy. In default, full accounts could only return the count of objects instead of the actual objects (e.g. withdrawal permissions), which indicates to the UI that there is need to query if interested. If you add the flag to full account, you get the actual objects (up to X) together with the total object count to decide if further query is necessary |
@sschiessl-bcp's idea is good. @oxarbitrage: How about adding new |
Need the server info API in this case. #626 |
For the user it would be a "Load more" button, it's fine not to display the number of missing entries in case we only get a flag that there is more |
closed by #1749 |
If I get a full account via
get_full_accounts
call, I can see a list of objectswithdraws
which contains all givenwithdraw_permission
s.Full account should also contain all received ones (or contain nothing and a separate api call is necessary). One suggestion could be to call it
withdraw_permissions
, which is a list of received and given ones (giver/receiver defined by authorized account id).The text was updated successfully, but these errors were encountered: