Blockstream / electrs

An efficient re-implementation of Electrum Server in Rust
MIT License
321 stars 131 forks source link

Don't use RPC batching with bitcoind #33

Open shesek opened 3 years ago

shesek commented 3 years ago

This actually hurts performance because the batched response has to be bueffered, as @TheBlueMatt explains in https://github.com/romanz/electrs/issues/373#issuecomment-785533444.

Instead, send multiple RPC requests in parallel using a thread pool.

Also see https://github.com/romanz/electrs/pull/374.