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

RPC:SendSignedTransaction can be optimized #1973

Open
HoOngEe opened this issue May 28, 2020 · 0 comments
Open

RPC:SendSignedTransaction can be optimized #1973

HoOngEe opened this issue May 28, 2020 · 0 comments
Labels
performance Something is slow rpc

Comments

@HoOngEe
Copy link
Contributor

HoOngEe commented May 28, 2020

When the RPC SendSignedTransaction is called, the client tries to construct SignedTransaction from an untrustedRlp. It carries out a computationally heavy job (e.g. public key recovery). However, add_transactions_to_pool accepts only UnVerifiedTransaction, SignedTransaction is converted to the untrusted one again. so the signature verification step should be repeated again.
We can reduce the repeated verification steps.

@HoOngEe HoOngEe added rpc performance Something is slow labels May 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Something is slow rpc
Projects
None yet
Development

No branches or pull requests

1 participant