RGB-WG / rgb-node

RGB node - the official server-side implementation
https://rgb.tech
MIT License
148 stars 43 forks source link

fix electrum-client usage for lib bug #227

Closed zoedberg closed 1 year ago

zoedberg commented 1 year ago

Using iris we've found a bug on electrum-client 0.10.2 (should be alredy fixed from 0.11.0 onwards) that prevents using a Client instance more than once. This PR recreates a new instance each time it's needed as a fix for the 0.8 series. It also introduces a timeout for the electrum client and a new ElectrumConnectivity error.

zoedberg commented 1 year ago

@dr-orlovsky yes please. thank you

dr-orlovsky commented 1 year ago

@zoedberg done