vulpemventures / ocean

:ocean: Elements/Liquid wallet daemon
MIT License
5 stars 7 forks source link

[Electrum] Support batch requests #40

Closed altafan closed 1 year ago

altafan commented 1 year ago

Before this, the electrum scanner was always sending a single request and waiting for the related response even in case of multiple requests like subscribing for addresses. The changes introduced here allow the scanner to batch requests and send them all together. This new feature is used for addresses subscription and for getting their tx history. It significantly improves the performance of the scanner in terms of time.