Skip to content
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

Speed: Too many http calls to getInfo and getBlock in pushTransactions #36

Open
n13 opened this issue Sep 6, 2020 · 0 comments
Open

Comments

@n13
Copy link
Contributor

n13 commented Sep 6, 2020

Currently trying to solve very slow transaction speed for push transactions on EOS Dart, so these are just some inefficiencies that I found. Investigating further

Multiple redundant calls into chain

  • pushTransactions calls getInfo and getBlock, then calls _pushTransactionArgs
  • _pushTransactionArgs calls getRequiredKeys
  • getRequiredKeys calls getInfo and getBlock again

It would be better to pass around info and block objects since this all happens inside one pushTransactions call

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant