Commit Graph

12 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
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
351ccaa872 Basic "chain hardening" for slightly untrusted daemons (#93) 2024-04-08 14:23:35 -04:00
Justin Berman
ba218f7b36 fix decoy selection off-by-1 2023-04-22 20:38:37 -04:00
j-berman
80b3bb7dd8 Decrease "recent_spend_window" to 15 2022-07-24 20:57:15 -04:00
j-berman
ea9e6515e1 fix variable name typo 2022-07-24 20:57:11 -04:00
j-berman
25356a91e1 Revert back to outputs_per_second + use logic error on output miss 2022-07-24 20:57:07 -04:00
j-berman
a9794d39b8 Match Monero 0.17.2.3 decoy selection algo 2022-07-24 20:57:03 -04:00
Lee Clagett
f49fa78d95 Fix scoping in source_location.cpp 2021-03-03 23:47:13 -05:00
Lee Clagett
bb22848ac5 Add missing files from last commit 2021-03-03 23:43:49 -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
a2ff89bc24 Initial working base separated from top-level monero project 2020-08-19 18:29:32 -04:00