Lee Clagett
95848bd75f
Fix /get_random_outs with Boost 1.87+
2025-06-05 13:51:52 -04:00
everoddandeven
4e85e3c828
Return lws::error::not_enough_amount when received is less than requested amount ( #154 )
2025-04-19 14:26:49 -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
5796dad3b8
/get_random_outs is now fully async using stackful coroutines ( #142 )
2025-02-24 18:23:59 -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
8fad87a0fe
Add (non-standard) 'daemon_status' endpoint to REST API ( #124 )
2024-08-06 19:06:43 -04:00
Lee *!* Clagett
79564f714f
Fix divide by zero in subaddresses n_maj ( #114 )
2024-06-26 14:14:43 -04:00
Lee *!* Clagett
57c67ae0e4
Fix ZeroMQ REQ send error after remote process crash/abort ( #126 )
2024-06-26 14:08:58 -04:00
Lee *!* Clagett
27b682ba69
Fix ZeroMQ invalid REQ/REP state after read timeout. ( #125 )
...
After a read timeout, the thread-local ZMQ client is expecting a read,
and not send on the REQ socket. This attempts to read+discard 1 message
before retrying the REQ send. This has proven effective at recovering
from a temporarily unavailable daemon.
2024-06-25 22:08:49 -04:00
Lee *!* Clagett
80604e8133
New accounts are 'pushed' to worker threads ( #102 )
2024-04-08 14:27:20 -04:00
Lee *!* Clagett
fe9d861dfb
Add basic REST tests and fix a few bugs ( #103 )
2024-04-08 14:26:39 -04:00
Lee *!* Clagett
f785cad557
Fix too many open files issue with ZeroMQ ( #100 )
2024-04-08 14:26:29 -04:00
Lee *!* Clagett
f66943dce1
ZMQ Hardening ( #96 )
2024-04-08 14:25:09 -04:00
Lee *!* Clagett
6ea656d7aa
Add option to auto-accept new account creation ( #86 )
2024-04-03 21:47:06 -04:00
Lee *!* Clagett
b4426b4a74
Add (working draft) subaddress support ( #83 )
2024-04-03 21:46:44 -04:00
Lee *!* Clagett
10dc4801d7
Add /validate endpoint to admin REST api ( #81 )
2023-11-07 15:01:52 -05:00
Lee *!* Clagett
aa171b77c3
Webhooks for New Accounts ( #79 )
2023-11-07 15:01:01 -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
7b1e1e58f8
Add support for admin REST server ( #62 )
2023-06-10 18:52:13 -04:00
SerHack
73fd14a53f
Fixing #14
2022-07-23 12:39:34 -04:00
j-berman
04a54ea136
remove per_kb_fee
2022-07-23 12:35:40 -04:00
j-berman
82495b2736
Remove server-side masking
2022-07-23 12:35:03 -04:00
j-berman
04c6d553c6
keep old usage of per_kb_fee functional
2022-07-23 12:34:52 -04:00
j-berman
f027c15479
per_kb_fee -> per_byte_fee ( #25 )
2022-07-23 12:34:42 -04:00
Lee Clagett
faa51780f3
Log exchange rate warning only once
2021-04-19 00:49:14 -04:00
Lee Clagett
b3af4e90c8
Fix get_address_txs output bug
2021-04-16 18:57:47 -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
15ab3e48ed
Fix builds with older gcc versions (at least 5.4.0)
2020-09-05 18:47:15 -04:00
Lee Clagett
e99374170f
Switching to view public key lookup in db
2020-08-21 01:37:15 -04:00
Lee Clagett
a2ff89bc24
Initial working base separated from top-level monero project
2020-08-19 18:29:32 -04:00