vtnerd / monero-lws

Monero Light Wallet Server (scans monero viewkeys and implements mymonero API). Fast LMDB backend.
BSD 3-Clause "New" or "Revised" License
78 stars 29 forks source link

Switch from epee http client to boost::beast. All HTTP now non-blocking. #150

Open vtnerd opened 1 month ago

vtnerd commented 1 month ago

As the title suggests, this removes all blocking epee HTTP client code and moves to an async boost::beast implementation. The REST endpoint /login is now always non-blocking, even with account creation webhooks. The scanner no longer blocks for webhooks, and instead queues up requests. The rate exchange fetch code is also now async.

vtnerd commented 1 month ago

Forgot to include new files. Force pushed a change with them.

vtnerd commented 1 month ago

Force push some missing includes fixes.

vtnerd commented 1 week ago

Force pushed a rebase after PR merges. Also updated new io_service usage to io_context after last PR.