selsta
ca484323c3
epee: only parse valid port
...
Reported by hacksandhops and Ada Logic.
2025-08-29 11:45:02 +02:00
Michael Cho
f61294dc6b
epee: include math header for upcoming Boost 1.89
...
When building on Ubuntu 22.04 with GCC 11.4.0 and Boost 1.89.0.beta1,
the build failed with:
```
error: ‘floor’ was not declared in this scope
41 | num_char = (int)floor((float)num_char / (float)radix);
| ^~~~~
```
Signed-off-by: Michael Cho <michael@michaelcho.dev>
2025-08-12 20:07:49 -04:00
tobtoht
c572e1ad00
Merge pull request #9908
...
9891fe8 epee: fix string_tools on Windows (0xFFFC0000)
2025-06-14 18:59:52 +00:00
0xFFFC0000
9891fe8238
epee: fix string_tools on Windows
2025-04-22 13:22:02 +00:00
jeffro256
18376ca57d
epee: remove reg_exp_definer.h
...
Locking to initialize static block variables isn't necessary since C++11:
https://en.cppreference.com/w/cpp/language/storage_duration#Static_block_variables
2025-03-31 14:02:15 -05:00
woodser
02e2a4f4cd
assign default port for http and https clients
2025-02-17 08:11:44 -05:00
tobtoht
0e253622b2
Merge pull request #9459
...
7e766e13c Cleanup TCP throttling code (performance) + move connection checks (Lee *!* Clagett)
2025-01-22 22:39:57 +00:00
tobtoht
8c08863d60
Merge pull request #9663
...
978f1d7 Fix get_database_size on Windows (iamamyth)
2025-01-14 14:32:20 +00:00
Lee *!* Clagett
4344f97255
Fix build with boost ASIO 1.87. Support boost 1.66+
2025-01-06 18:05:25 -05:00
iamamyth
978f1d7d41
Fix get_database_size on Windows
...
Replace all calls to epee::file_io::get_file_size with
boost::filesystem::file_size in order to avoid lossy conversions from
paths to strings, which tend to break filename resolution. This commit
fixes a bug on Windows where the get_info RPC call reported a zero
database size because BlockchainLMBD::get_database_size returned zero.
2025-01-06 10:38:12 -08:00
luigi1111
b95aae5f2c
Merge pull request #9585
...
c744496 epee: Drop unused in-tree MD5 (Bastian Germann)
0bc5969 Replace in-tree MD5 with OpenSSL (Bastian Germann)
2024-12-23 11:00:30 -05:00
Lee *!* Clagett
7e766e13c3
Cleanup TCP throttling code (performance) + move connection checks
2024-12-19 20:47:44 -05:00
Bastian Germann
0bc5969755
Replace in-tree MD5 with OpenSSL
...
This uses OpenSSL's non-deprecated EVP digest facility to calculate MD5
in HTTP digest authentication.
2024-11-22 12:24:22 +01:00
Lee *!* Clagett
92de47fd37
Fix memcpy in byte_slice constructor
2024-11-21 17:22:52 -05:00
tobtoht
89ad8ac8b1
epee: string_tools: keep full path in cut_off_extension
2024-08-14 19:51:12 +02:00
tobtoht
c51ca53daa
epee: string_tools: remove dot from get_extension
...
Fixes a regression introduced in #9254 . Previously it did not
include the dot.
2024-08-14 16:59:09 +02:00
luigi1111
caa62bc9ea
Merge pull request #9392
...
b894042 epee: fix mlog filename compare bug. (0xFFFC0000)
2024-07-16 19:02:24 -04:00
luigi1111
b02bf31b83
Merge pull request #9342
...
b07a97c epee: partially revert c56ee140 to fix linking errors (jeffro256)
2024-07-16 18:44:04 -04:00
0xFFFC0000
b8940420bb
epee: fix mlog filename compare bug.
...
When using a relative path for the log filename,
since the iteration on files adds "./" to the beginning of the filename
monero-wallet-rpc and monero-wallet-cli cannot find already written
log files and therefore rotate indefinitely.
2024-07-07 21:13:12 +00:00
jeffro256
b07a97c51f
epee: partially revert c56ee140 to fix linking errors
...
On Linux Mint 21.3, g++ Ubuntu 11.4.0-1ubuntu1~22.04, I get linking error for an undefined reference to `epee::string_tools::trim_right`. This PR reverts the changes
to epee_readline.cpp in commit c56ee140, which turns a `boost::trim_right` callsite into an `epee::string_tools::trim_right` callsite.
2024-05-28 10:37:48 -05:00
copyCat
341771ac3e
copyright: bump to 2024
2024-05-21 16:29:33 +00:00
0xFFFC0000
c56ee140df
Cleanup string_tools.
...
1. Use boost::filesystem for already available operations.
2. Use boost::string for already available operations.
2024-03-15 14:54:23 +03:30
Lee Clagett
69a8175edc
Change std::result_of to auto
2023-11-20 17:16:42 -05:00
jeffro256
e191083bed
epee: remove dead code in math_helper and string_tools
2023-10-25 16:41:21 -05:00
luigi1111
9537329962
Merge pull request #8899
...
0961c2a Set SSL SNI even when server verification is disabled (Lee *!* Clagett)
2023-07-06 21:33:57 -05:00
luigi1111
3a72c47445
Merge pull request #8344
...
70bbd25 core_rpc_server: new file: rpc_ssl.fingerprint (Jeffrey Ryan)
2023-07-06 21:27:16 -05:00
Jeffrey Ryan
70bbd2536b
core_rpc_server: new file: rpc_ssl.fingerprint
2023-07-02 19:38:51 -05:00
luigi1111
e4e8edd9c9
Merge pull request #8870
...
eb94356 Add to_hex::buffer (Lee *!* Clagett)
2023-06-27 11:45:48 -05:00
luigi1111
02ebe9090e
Merge pull request #8792
...
04dfdb3 epee: protect base64_chars, removed dead functions, speed up compile (Jeffro256)
2023-06-27 11:32:07 -05:00
Lee *!* Clagett
0961c2abe4
Set SSL SNI even when server verification is disabled
2023-06-09 11:16:03 -04:00
Lee *!* Clagett
eb943562cb
Add to_hex::buffer
2023-05-22 13:36:05 -04:00
luigi1111
b2d603e61f
Merge pull request #8789
...
df9aa6b epee: remove dead code in net_helper (Jeffro256)
2023-04-25 11:22:50 -04:00
luigi1111
9bf06ea75d
Merge pull request #8698
...
5b4fea7 Copyright: Update to 2023 (mj-xmr)
2023-04-25 11:12:56 -04:00
Jeffro256
04dfdb332e
epee: protect base64_chars, removed dead functions, speed up compile
2023-03-20 16:02:48 -05:00
Jeffro256
df9aa6bb04
epee: remove dead code in net_helper
2023-03-19 12:51:27 -05:00
luigi1111
3ff22aee95
Merge pull request #8699
...
f3420cb readline_buffer: disable bracketed paste escape sequences (Jeffrey Ryan)
2023-02-06 12:34:06 -05:00
luigi1111
c12bc62306
Merge pull request #8693
...
bfd7c00 heed NO_COLOR environment variable (moneromooo-monero)
2023-02-06 12:26:02 -05:00
mj-xmr
5b4fea72cf
Copyright: Update to 2023
...
Co-authored-by: plowsof <plowsof@protonmail.com>
extra files
2023-01-16 13:00:18 +01:00
Jeffrey Ryan
f3420cb750
readline_buffer: disable bracketed paste escape sequences
2023-01-04 16:04:32 -06:00
moneromooo-monero
bfd7c00ced
heed NO_COLOR environment variable
2023-01-01 10:24:46 +00:00
Jeffrey Ryan
ab7102e31f
epee: remove dead HTTP code
...
http_client.h
2022-11-13 20:27:21 -06:00
luigi1111
a43a5caefe
Merge pull request #8543
...
d21fd92 rpc: dont shrink slice when loading from binary (Jeffrey Ryan)
2022-10-28 00:48:48 -04:00
tobtoht
e410ab7478
Windows: fix unicode file path support
2022-09-02 12:22:24 +02:00
Jeffrey Ryan
d21fd9242c
rpc: dont shrink slice when loading from binary
2022-08-30 19:26:39 -05:00
j-berman
a82fba4b7b
address PR comments
2022-07-08 15:10:03 -07:00
anon
3be1dbd096
connection: fix implementation
2022-07-05 22:33:34 -07:00
Jeffrey Ryan
1ddb1ee819
Give better error messages when missing SSL files
...
While copying my data dir to another drive, I missed copying the rpc_ssl.key file b/c of the file permissions.
This change will give a much more clear, descriptive error in that scenario.
2022-05-05 21:48:19 -05:00
Jeffrey
441c860738
Merge functionality of misc_os_dependent into time_helper.h
...
Actions:
1. Remove unused functions from misc_os_dependent.h
2. Move three remaining functions, get_gmt_time, get_ns_count, and get_tick_count into time_helper.h
3. Remove unused functions from time_helper.h
4. Refactor get_ns_count and get_internet_time_str and get_time_interval_string
5. Remove/add includes as needed
Relevant commits on the old PR:
a9fbe52b02ffab451e90c977459fea4642731cd1
9a59b131c4ed1be8afe238fff3780fe203c65a46
7fa9e2817df9b9ef3f0290f7f86357939829e588
2022-04-18 09:55:21 -05:00
Jeffrey
12b1b74d32
Trimming Fat
...
Remove unused include statements or unused definitions.
2022-04-18 09:55:20 -05:00
Jeffrey
690ce560b0
Boring Old Deletes
...
Here lies dozens of unused files. This commit is ONLY file deletions except
for the removing of a couple of #includes and removing filenames from CmakeLists
where appropriate.
2022-04-18 09:55:20 -05:00