Commit Graph

41 Commits

Author SHA1 Message Date
jwinterm
3427c60315 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 13:12:56 -05:00
Lee *!* Clagett
6c0b957e95 lookahead optimization for users that disabled subaddresses (#220) 2025-12-19 18:53:32 -05:00
Lee *!* Clagett
770e3b0ca4 A few odds and ends after lookahead patch (#215) 2025-12-18 10:19:53 -05:00
Lee *!* Clagett
16111cae2c Add support for subaddress lookahead (#195) 2025-12-18 10:19:43 -05:00
everoddandeven
e8b889e95f Fix missing regtest option (#214) 2025-12-18 10:19:07 -05:00
William Swanson
e08480cbc1 Logging Improvements (#198)
* Log ZMQ SUB address at startup
* Log current thread number and block height
* fixup! Log current thread number and block height
2025-11-14 13:00:43 -05:00
everoddandeven
01374ec620 Add regtest option (#193)
Disable checkpoints check on storage::sync_chain when regtest mode is enabled
2025-11-04 20:09:22 -05:00
Lee *!* Clagett
a11482c123 Fix ringct+coinbase output tracking, and update rescan rollbacks (#178) 2025-09-04 23:17:20 -04:00
Lee *!* Clagett
44278d0d11 Restarting on reorg is broken; fix asio::io_context::restart calls (#177) 2025-09-02 11:09:13 -04:00
Lee *!* Clagett
b5d0844bbd Update deprecated features removed in Boost ASIO 1.87 (#153) 2025-02-24 18:24:44 -05: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
ed6fde7f28 Fixing shutdown request during sync-phase (#143) 2025-02-24 18:21:58 -05:00
Lee *!* Clagett
8080159fc8 Fix several bugs found in new server scanner code (#146) 2025-02-24 18:12:37 -05:00
Lee *!* Clagett
cd62461578 Add support for remote scanning via custom TCP (#118) 2025-02-24 18:11:17 -05:00
Lee *!* Clagett
62d3425277 Fix LMDB double-reader bug with subaddresses+mempool (#140) 2024-10-15 21:49:59 -04:00
Lee *!* Clagett
3bf2ad061f Remove unused function (#109) 2024-04-08 14:27:28 -04:00
Lee *!* Clagett
80604e8133 New accounts are 'pushed' to worker threads (#102) 2024-04-08 14:27:20 -04:00
Lee *!* Clagett
f300bff69f Fix "leader_thread" logic (for info messages) (#110) 2024-04-08 14:27:07 -04:00
Lee *!* Clagett
38c4999555 ZMQ Pub Spends (#101) 2024-04-08 14:26:57 -04:00
Lee *!* Clagett
d49cc0df9a ZMQ pub blocks (#97) 2024-04-08 14:25:53 -04:00
Lee *!* Clagett
351ccaa872 Basic "chain hardening" for slightly untrusted daemons (#93) 2024-04-08 14:23:35 -04:00
Lee *!* Clagett
e477c174e2 Add unit tests for chain syncing (#87) 2024-04-03 21:47:49 -04:00
Lee *!* Clagett
c400c9ef8a Fix fee retrieval for pre-ringct txes (#90) 2024-04-03 21:47:23 -04:00
Lee *!* Clagett
b4426b4a74 Add (working draft) subaddress support (#83) 2024-04-03 21:46:44 -04:00
Lee *!* Clagett
a23eadd7ef Fix output_id bug with coinbase transactions (#88) 2023-11-29 16:01:28 -05:00
Lee *!* Clagett
aa171b77c3 Webhooks for New Accounts (#79) 2023-11-07 15:01:01 -05:00
Lee *!* Clagett
524e26e1a4 Do not exit when monerod returns json-rpc error for block fetching (#78) 2023-11-07 15:00:02 -05:00
Lee *!* Clagett
15e2be618a Add ZMQ-PUB support for webhooks (#75) 2023-11-07 14:56:21 -05:00
Lee *!* Clagett
d59fed6da2 Fix 201 response code with webhooks (#76) 2023-11-07 14:56:05 -05:00
Lee *!* Clagett
fdbd3669a6 Add zero-confirmation support to webhooks (only) (#72) 2023-11-07 14:55:38 -05:00
Lee *!* Clagett
ea35f88c4c Add tx fee to the db and track for webhooks (#71) 2023-11-07 14:55:04 -05:00
Lee *!* Clagett
e1bd9541f1 Update ::wire:: to be closer to Monero variant (#70) 2023-11-07 14:54:22 -05:00
Lee *!* Clagett
3e0555e07d Added webhook tx-confirmation support (#66) 2023-11-07 14:52:42 -05:00
Lee *!* Clagett
49f8e38ffe Fix ZeroMQ resend bug in scanner loop 2022-07-23 12:39:03 -04:00
j-berman
271f0dcb64 Add support for view tags when scanning
- https://github.com/monero-project/monero/pull/8061
- also update import location for epee::misc_utils::get_gmt_time
2022-07-23 12:35:10 -04: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
f077953e02 Fix CLSAG amount decoding 2021-02-13 01:04:23 -05:00
Lee Clagett
38e863e07e Skip failed key derivations instead of shutdown 2020-10-08 00:54:19 -04: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