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

Feature Request: Add a -rpcwaittimeout parameter to limit time spent waiting #2346

Closed
barton2526 opened this issue Sep 22, 2021 · 0 comments · Fixed by #2349
Closed

Feature Request: Add a -rpcwaittimeout parameter to limit time spent waiting #2346

barton2526 opened this issue Sep 22, 2021 · 0 comments · Fixed by #2349

Comments

@barton2526
Copy link
Member

barton2526 commented Sep 22, 2021

Bitcoin merged this feature in June (bitcoin/bitcoin#21056):

Adds a new numeric -rpcwaittimeout that can be used to limit the
time we spend waiting on the RPC server to appear. This is used by
downstream projects to provide a bit of slack when bitcoinds RPC
interface is not available right away.

This makes the -rpcwait argument more useful, since we can now limit
how long we'll ultimately wait, before potentially giving up and reporting
an error to the caller.

I think it would be a welcome addition to the Gridcoin wallet. The caveat, however, is that in order to implement the above feature we also need upstream's rpcwait parameter. Reference bitcoin/bitcoin#3283.
Both of these will likely need to be ported together.

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

Successfully merging a pull request may close this issue.

1 participant