BitcreditProtocol / E-Bill

Core for Bitcredit project.
https://www.bit.cr/
MIT License
12 stars 2 forks source link

Check Blockstream asynchronously #161

Open zupzup opened 1 month ago

zupzup commented 1 month ago

When checking things on the Bitcoin blockchain, don't block the UI for the whole time, since this might take longer.

Option: We could check it asynchronously in the background and send the last time we got updated data to the frontend, which can then show it (and maybe a spinner, which indicates that it's fetched currently)

HubertusVIE commented 1 month ago

Removing the block is a good idea. Probably we can also check more selectively for old items.