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

Handle HttpExceptions at block handler #6429

Merged

Conversation

HenrikJannsen
Copy link
Collaborator

No description provided.

@HenrikJannsen HenrikJannsen force-pushed the handle-rpc-errors-gracefully branch 2 times, most recently from 35d4d2c to 4648f31 Compare November 25, 2022 22:57
@ghost
Copy link

ghost commented Nov 26, 2022

Testing in progress..

…andler.

It seems that a reorgs or if a new block arrives quickly after another, that bitcoind is not ready
for a request and throws an RPC error, also the blockhandler throws that if the new block came too fast.
We try to request again with increasing delays up to 1 min. If after 10 attempts its still failing we
do a reorg and start parting again.
@HenrikJannsen HenrikJannsen force-pushed the handle-rpc-errors-gracefully branch from 4648f31 to 0b07c10 Compare November 27, 2022 22:49
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

Did a few rounds of testing / revision with @HenrikJannsen .
Seednodes have been stable past 5 days, will ACK now and keep an eye on it in the future.

Copy link
Contributor

@ripcurlx ripcurlx left a comment

Choose a reason for hiding this comment

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

utACK - based on #6429 (review)

@ripcurlx ripcurlx added this to the v1.9.7 milestone Dec 1, 2022
@ripcurlx ripcurlx merged commit 16166c4 into bisq-network:master Dec 1, 2022
@HenrikJannsen HenrikJannsen deleted the handle-rpc-errors-gracefully branch December 4, 2022 18:21
@ghost ghost mentioned this pull request Dec 6, 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.

2 participants