[BREAKGLASS] Append-only mirror of github.com/mempool/rust-electrum-client
Go to file
Alekos Filini 7e40dfd441
Merge bitcoindevkit/rust-electrum-client#80: Client: Drop script subscriptions to free lock
aa0b957818 Client: Drop script subscriptions to free lock (Sebastian Kung)

Pull request description:

  This fixes a supposed deadlock when the reader thread receives a script subscription notification from the server before it receives a subscribing response.

  I am not 100% sure if this actually fixes a deadlock, but I ran into this in a regtest setup where a bunch of subscriptions were made, while some script notifications could be processed in parallel. My test failed sporadically with the electrum client locking up completely and adding this drop made the tests consistently pass again.

ACKs for top commit:
  afilini:
    ACK aa0b957818, makes a lot of sense!

Tree-SHA512: b1bbea71fb56a189081b9aa602f768ef50d349a6ad6f3a3f64264259954a541fee85cad84461afeafe1ba17e11950c18fdcadb7c47a5fa1b3ce2fa2ac1cdcdc0
2022-08-18 11:42:34 +02:00
.github/workflows Add a test for connection timeouts 2021-02-22 14:51:25 +01:00
examples Implements retry, timeout, socks credential and others fixes 2020-11-24 12:03:51 +01:00
src Merge bitcoindevkit/rust-electrum-client#80: Client: Drop script subscriptions to free lock 2022-08-18 11:42:34 +02:00
.gitignore Release 0.1.0-beta.1 2020-02-06 18:15:22 +01:00
Cargo.toml Merge bitcoindevkit/rust-electrum-client#76: Implement timeout for socks connection 2022-08-08 11:51:00 +02:00
LICENSE Initial commit 2020-02-06 17:54:27 +01:00
README.md Update build badge to use GitHub badge 2022-07-24 15:46:34 +02:00

rust-electrum-client Build Status Latest Version

Bitcoin Electrum client library. Supports plaintext, TLS and Onion servers.