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

Add max_retries option to sendTransaction and commitment option to get_transaction #165

Merged
merged 6 commits into from
Jan 8, 2022

Conversation

dpgry
Copy link
Contributor

@dpgry dpgry commented Jan 5, 2022

the sendTransaction method in json rpc API has 4 params that: skipPreflight, preflightCommitment, encoding, maxRetries, but the master has only 3 params, I have add the last maxRetries param to the master

@dpgry
Copy link
Contributor Author

dpgry commented Jan 6, 2022

the method of send_transaction has missed the param of commitment, this param is useful because of the finalized time delay is greater than confirmed

@michaelhly michaelhly requested a review from kevinheavey January 6, 2022 23:41
@codecov
Copy link

codecov bot commented Jan 6, 2022

Codecov Report

Merging #165 (c94dd77) into master (6bae7e4) will decrease coverage by 0.16%.
The diff coverage is 71.42%.

@@            Coverage Diff             @@
##           master     #165      +/-   ##
==========================================
- Coverage   91.06%   90.89%   -0.17%     
==========================================
  Files          37       37              
  Lines        2696     2702       +6     
==========================================
+ Hits         2455     2456       +1     
- Misses        241      246       +5     

@dpgry
Copy link
Contributor Author

dpgry commented Jan 7, 2022

lint types fixed

@michaelhly
Copy link
Owner

lint types fixed

Can you also run make format?

@michaelhly michaelhly changed the title add maxRetries when sendTransaction Add max_retries option to sendTransaction and commitment option to get_transaction Jan 8, 2022
@michaelhly michaelhly merged commit 4611d3e into michaelhly:master Jan 8, 2022
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

Successfully merging this pull request may close these issues.

3 participants