[BREAKGLASS] Append-only mirror of github.com/mempool/rust-electrum-client
Go to file
Riccardo Casatta f200b7fc61
Implements retry, timeout, socks credential and others fixes
Retry works by checking if an non-protocol error happened during the call, if so an attempt to take a write lock on the client is made and a new client attempted
if both operationare succesfull the old_client is substituted with the new one.

Timeout is a single parameter for connect,read and write TCP timeouts, special handling is required for the following situation: cannot set a timeout with a proxy and cannot set timeout with multipl SocketAddrs

Since configurations parameter grow, a Config struct with a builder has been introduced

Some new errors variant has been introduced

Errors in reading input in the reader thread now warns other eventual threads with ChannelMessage::Error

Add github actions equivalent to travis cause travis is slow
2020-11-24 12:03:51 +01:00
.github/workflows Implements retry, timeout, socks credential and others fixes 2020-11-24 12:03:51 +01:00
examples Implements retry, timeout, socks credential and others fixes 2020-11-24 12:03:51 +01:00
src Implements retry, timeout, socks credential and others fixes 2020-11-24 12:03:51 +01:00
.gitignore Release 0.1.0-beta.1 2020-02-06 18:15:22 +01:00
.travis.yml Test against mainnet servers 2020-07-16 14:06:25 +02:00
Cargo.toml Release 0.3.0-beta.1 2020-09-30 11:28:58 +02:00
LICENSE Initial commit 2020-02-06 17:54:27 +01:00
README.md add crate and travis badges 2020-02-12 09:50:15 +01:00

rust-electrum-client Build Status Latest Version

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