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

Fixing large transaction inputs timeout #12337

Merged
merged 7 commits into from
Feb 5, 2024

Conversation

Whem
Copy link
Collaborator

@Whem Whem commented Feb 1, 2024

fixes: #12090

When we send transactions with many inputs to HW, sending the transaction to the device takes longer than usual, so I changed the timeout to dynamic.

Opinion:
A transaction with 1 input takes about 7-10 seconds
For 2 inputs, this number is 14-19 seconds

The current default timeout was 3 minutes. So if, say, in the case of 10 inputs, the number is about 100 seconds, given a safety margin, this should be good.

@Whem Whem assigned Whem and molnard and unassigned Whem Feb 1, 2024
Copy link
Collaborator

@molnard molnard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting. The user was talking about 45 seconds timeout. Are you sure that you are at the right request?

WalletWasabi.Fluent/Models/Wallets/HardwareWalletModel.cs Outdated Show resolved Hide resolved
@Whem
Copy link
Collaborator Author

Whem commented Feb 2, 2024

Interesting. The user was talking about 45 seconds timeout. Are you sure that you are at the right request?

Only at this point the program waits indefinitely

@Whem Whem requested a review from molnard February 2, 2024 10:52
Copy link
Collaborator

@molnard molnard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cACK

WalletWasabi.Fluent/Models/Wallets/HardwareWalletModel.cs Outdated Show resolved Hide resolved
@Whem Whem requested a review from molnard February 2, 2024 13:23
Copy link
Collaborator

@molnard molnard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove the comments.

@Whem Whem requested a review from molnard February 5, 2024 10:05
Copy link
Collaborator

@molnard molnard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK! gj

@molnard molnard merged commit 1f223c7 into WalletWasabi:master Feb 5, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Send function times out with Ledger Nano X - Too many inputs
2 participants