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

Increase network read timeout when sending transactions #636

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

NicolasFlamel1
Copy link

These changes increase the network read timeout from 20 seconds to 5 minutes when sending transactions to avoid timing out too early when exchanging a slate with a device that takes longer than 20 seconds to generate a reply.

This will improve interoperability with wallets that support the Grin dependent Ledger app since that app takes approximately 90 seconds to generate a bulletproof on current Ledger hardware wallets.

@yeastplume
Copy link
Member

Thank you for looking into this. I agree that time timeout can be too short, particularly over the famously slow TOR network. However, I'm not sure the answer is to set it as high as 5 minutes by default in case of genuine timeouts.

Don't have a definitive answer here. Do you think it would be worth making this a configurable parameter?

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.

None yet

2 participants