-
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
Review subscription API #777
Comments
I guess we don't have enough time to finish this in next milestone. Moving to future milestone. |
The following implementation details may help with the related tickets. There are 3 collections that have to do with subscriptions, according to the
The The |
@ryanRfox @abitmore @jmjatlanta I want to claim this issue, is it possible ? |
Updated status to "gathering requirements". Not ready for development IMHO. @cogutvalera to claim this, need to work out the requirements first. Thanks. |
@abitmore Thanks ! OK will wait this issue later then :-) |
@cogutvalera you can help gather requirements as well. |
@abitmore yes sure ! Thanks ! |
Assigning @cogutvalera to get us started. Perhaps this Issues becomes the Task List ticket and references three (3) new Task Issues, one for each collection @jmjatlanta described above. I'd like to see these new Issues contain specific details within. Also, easier to estimate smaller scopre of effort. Each are likely able to be merged separately to provide incremental value, rather than all at once in a single Issue/PR. I'm open to suggestions how best to represent this. |
@ryanRfox I've invited @cogutvalera to the organization. After he accepted, we can assign issues/PRs to him directly. |
@abitmore Thank you very much ! I've accepted your invitation ! Very appreciate it ! Thanks a lot ! |
After some researches and according to the next code & comment:
As mentioned in bitshares/bitshares-ui#1338 (comment), the node is probably pushing unwanted data to the client:
So default behavior (as mentioned in code & comment above) of the node is to So guys should we change the default behavior ? If YES, then flag TRUE must work the same way as flag FALSE, no difference between both Thanks ! |
Also according to @abitmore comment here:
IMHO we need to change this logic in event of flag is set to TRUE value in order to have some limitations against DDoS public API servers. Should we add time limitations or maybe some other limitations in this logic against DDoS attacks if we don't want to remove fully and completely current logic when flag is set to TRUE ? What are your thoughts guys ? Thanks ! |
@cogutvalera I believe your comments above will be addressed with #1049. |
Do we have any related Issues for the Task List #777 (comment) @jmjatlanta outlined above? |
Added an overview here to keep track through bitsharesjs |
This issue is a real blocker for performance improvements on the reference UI. I would like to request:
Sorry for jumping the gun here, how quick could this be supported? |
IIRC subscribed object IDs are stored in a |
Ah, thank you! Just the opt out then? Possible a |
@sschiessl-bcp that's what we were discussing in #726 |
Sorry, should have read more details on it, that would be a big help. To ensure proper UX in the frontend we would need fine-control what subscribes and what not, thus the optional parameter in every call, also the |
This is a priority issue identified by the UI Team. I’m looking for a Core Team Member to self assign this one. @MichelSantos is most up to date following conversations with @sschiessl-bcp and @startailcoon |
Found some bugs, added to OP, fixed in #1731. A new API These topics haven't been addressed in #1731, since we haven't made a decision: If we want to be able to optionally subscribe on every API call, we can't add a parameter to the old APIs (so far), instead, we need to add new APIs with new parameter list, otherwise it will break existing client applications. It would need some efforts to make APIs support variable number of arguments. If we want to be able to unsubscribe to
|
OK, APIs now support variable number of arguments: bitshares/bitshares-fc#126 |
As mentioned in bitshares/bitshares-ui#1338 (comment), the node is probably pushing unwanted data to the client.
This ticket is a place holder for reviewing all the related issues. Please create new tickets for individual issues, and refer to this ticket.
issues found:
Solution: subscribe.
lookup_accounts
will always and only subscribe to the 2nd last account in the returned vector whenlimit > 1
andsizeof(returned vector)>=limit-1
, but won't subscribe to any account whenlimit == 1
Solution: subscribe only when
limit == 1
get_key_references
will subscribe to keys and addresses derived from keys, but the subscription is not used anywhereSolution: don't subscribe
get_balance_objects
will subscribe to addresses, but the subscription is not used anywhereSolution: don't subscribe
CORE TEAM TASK LIST
The text was updated successfully, but these errors were encountered: