Skip to content

build: update dependencies to prevent unnecessary bitcoind ZMQ timeouts #3284

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

Merged
merged 1 commit into from
Jul 12, 2019
Merged

build: update dependencies to prevent unnecessary bitcoind ZMQ timeouts #3284

merged 1 commit into from
Jul 12, 2019

Conversation

wpaulino
Copy link
Contributor

@wpaulino wpaulino commented Jul 9, 2019

  • We address an issue where we would unnecessarily time out bitcoind ZMQ connections if there are no messages to be read. This would cause connections to be torn down, which would then trigger the reconnection logic and prevent us from detecting this issue.

  • A new sanity check within the wallet is done to prevent adding unconfirmed transactions that the wallet has already recognized as confirmed.

@wpaulino wpaulino added bitcoind Bitcoin Core backend bug fix v0.7.1 P2 should be fixed if one has time labels Jul 9, 2019
@wpaulino wpaulino added this to the 0.7.1 milestone Jul 9, 2019
Copy link
Contributor

@cfromknecht cfromknecht left a comment

Choose a reason for hiding this comment

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

LGTM 🏆

@halseth
Copy link
Contributor

halseth commented Jul 12, 2019

Can be updated to the latest btcwallet commit now?

@wpaulino
Copy link
Contributor Author

It already is.

@halseth
Copy link
Contributor

halseth commented Jul 12, 2019

Looks like btcsuite/btcwallet#633 was merged after.

* We address an issue where we would unnecessarily time out bitcoind ZMQ
  connections if there are no messages to be read. This would cause
  connections to be torn down, which would then trigger the reconnection
  logic and prevent us from detecting this issue.

* A new sanity check within the wallet is done to prevent adding
  unconfirmed transactions that the wallet has already recognized as
  confirmed.
Copy link
Contributor

@halseth halseth left a comment

Choose a reason for hiding this comment

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

LGTM 🇳🇿

@halseth halseth merged commit e593c5e into lightningnetwork:master Jul 12, 2019
@wpaulino wpaulino deleted the bitcoind-zmq-unnecessary-timeouts branch July 12, 2019 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bitcoind Bitcoin Core backend bug fix P2 should be fixed if one has time
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants