Commit Graph

16 Commits

Author SHA1 Message Date
jwinterm
97877eda27 Port monero-lws to wownero-lws
Adapts monero-lws for Wownero cryptocurrency:

- Rename all monero-lws-* binaries to wownero-lws-*
- Update submodule to point to official Wownero repo
- Use Wownero default ports (RPC: 34568, ZMQ: 34569)
- Update data directory to ~/.wownero/light_wallet_server
- Adapt next_difficulty() calls for Wownero API signature

Key technical changes for Wownero compatibility:

- BulletproofPlus (RCTTypeBulletproofPlus, type 8) commitment verification:
  Wownero stores BP+ commitments in 'divided by 8' form. Must call
  rct::scalarmult8() on outPk commitment before comparing with computed
  commitment (mask*G + amount*H). This is essential for amount decryption.

- Pass rct_type to decode_amount() for proper commitment handling

- Handle Wownero's ZMQ JSON format for ecdhTuple (32-byte mask/amount fields)

No fork of Wownero is required - uses official codeberg.org/wownero/wownero.
2026-01-04 20:04:42 -05:00
Lee *!* Clagett
8955547536 Reconnect RMQ on publish failure (#181) 2025-10-15 12:37:10 -04:00
Lee *!* Clagett
29358f1323 Switch from epee http client to boost::beast. All HTTP now non-blocking. (#150) 2025-02-24 18:24:38 -05:00
Lee *!* Clagett
66b7497a34 Update boost::asio usage to conform to newer standards: (#144)
* Convert boost::asio::io_service to boost::asio::io_context
  * Convert strand.wrap(...) to boost::asio::bind_executor(strand, ...)
  * Convert strand.dispatch(...) to boost::asio::dispatch(strand, ...)
  * Convert io_context.reset() to io_context.restart()
  * Convert null_buffers() usage to socket.async_wait(...)
  * Drop usage of GET_IO_SERVICE macro from monero
  * Refactor REST server to manage resources better
2025-02-24 18:24:31 -05:00
Lee *!* Clagett
075dc5d7c2 Switch from epee http server to boost::beast http server. Min boost 1.70 (#136)
There is roughly a 7.4% increase in performance in the switch to
boost::beast. Additionally, the REST endpoints `/daemon_status`,
`/get_unspent_outs`, and `/submit_raw_tx` do not block in ZMQ calls,
allowing for better response times regardless of `monerod` status.

The REST endpoints `/login and `/get_random_outs` still need updates
to prevent blocking (`/login` is conditional on DB state).
2025-02-24 18:21:18 -05:00
Lee *!* Clagett
cd62461578 Add support for remote scanning via custom TCP (#118) 2025-02-24 18:11:17 -05:00
Lee *!* Clagett
80604e8133 New accounts are 'pushed' to worker threads (#102) 2024-04-08 14:27:20 -04:00
Lee *!* Clagett
f66943dce1 ZMQ Hardening (#96) 2024-04-08 14:25:09 -04:00
Lee *!* Clagett
e477c174e2 Add unit tests for chain syncing (#87) 2024-04-03 21:47:49 -04:00
Lee *!* Clagett
3b35ce2845 Add RabbitMQ support for payment hooks (#80) 2023-11-07 15:01:34 -05:00
Lee *!* Clagett
15e2be618a Add ZMQ-PUB support for webhooks (#75) 2023-11-07 14:56:21 -05:00
Lee *!* Clagett
fef3693899 Change ZMQ sub timeout (#73) 2023-11-07 14:55:52 -05:00
Lee *!* Clagett
fdbd3669a6 Add zero-confirmation support to webhooks (only) (#72) 2023-11-07 14:55:38 -05:00
Lee Clagett
1766276aad Check for JSON-RPC errors, and add better logging for it 2021-03-03 23:27:22 -05:00
Lee Clagett
b1c61c5e81 Adding ZeroMQ Sub for chain events 2020-08-25 00:16:47 +00:00
Lee Clagett
a2ff89bc24 Initial working base separated from top-level monero project 2020-08-19 18:29:32 -04:00