Commit Graph

641 Commits

Author SHA1 Message Date
Jeffrey
020531a813 Remove old defs of invoke_remote_command2() and notify_remote_command2() 2022-03-02 16:13:40 -06:00
Jeffrey
5b164ed0c1 Remove gzipped_inmemstorage.h 2022-03-02 15:57:41 -06:00
Jeffrey
9a59b131c4 Merge misc_os_dependent.h into time_helper.h
Actions:
* Move get_ns_count(), get_tick_count(), and get_gmt_time() from misc_os_dependent.h to time_helper.h. I did this because all those functions are time-related and under the same namespace
* Remove misc_os_dependent.h because it is now empty
* Change all includes of misc_os_dependent.h to time_helper.h where appropriate
* Remove get_time_string*() from time_helper.h b/c its unused
* Remove get_time_t_from_ole_date() from time_helper.h b/c its unused
* Remove odbc_time_to_oledb_taime() from time_helper.h b/c its unused
* Refactor get_ns_count() to use std::chrono instead of 4 different implementation-specific hacks
2022-03-02 00:32:22 -06:00
Jeffrey
4b3d9de65b Remove levin_client_async.* 2022-03-02 00:29:52 -06:00
Jeffrey
0da8bdc2e0 Remove crypted_storage.h 2022-03-01 10:37:35 -06:00
Jeffrey
a9fbe52b02 Remove misc_os_dependent.cpp and unused functions from misc_os_dependent.h
Actions:
Remove call_sys_cmd() definition from misc_os_dependent.h b/c its unused
Remove get_thread_string_id() declaration from misc_os_dependent.h b/c its unused
Remove misc_os_dependent.cpp file b/c the only definition was get_thread_string_id()
Remove file reference to misc_os_dependent.cpp from epee/src/CMakeLists.txt b/c its now deleted
2022-03-01 10:25:55 -06:00
Jeffrey
bb136b1fd4 Remove http_client_via_api_helper.h 2022-03-01 10:05:57 -06:00
Jeffrey
f9d6504594 Remove http_server_thread_per_connect and its dependencies 2022-03-01 10:01:00 -06:00
Jeffrey
bd0a511995 Move copyable_atomic to be a sub-class of cryptonote_connection_context
epee::copyable_atomic was only be used by one struct, cryptonote_connection_context.
This should probably eventually factored out of that class, so I left the following comment:

This class was originally from the EPEE module. It is identical in function to std::atomic<uint32_t> except
that it has copy-construction and copy-assignment defined, which means that earliers devs didn't have to write
custom copy-contructors and copy-assingment operators for the outer class, cryptonote_connection_context.
cryptonote_connection_context should probably be refactored because it is both trying to be POD-like while
also (very loosely) controlling access to its atomic members.
2022-02-15 17:36:45 -06:00
Jeffrey
bc6a7b6cbe Remove abstract_tcp_server_cp.* 2022-02-14 00:10:53 -06:00
Jeffrey
3c0d1ccb10 Remove levin_server_cp* 2022-02-13 23:54:42 -06:00
Jeffrey
8f492bf65d Remove net_fwd.h and #includes of said header 2022-02-13 23:34:40 -06:00
Jeffrey
5a09e84ed0 Remove http_server_cp*.h 2022-02-13 23:29:03 -06:00
Jeffrey
642e533edb Remove protocol_switcher.h 2022-02-13 23:22:46 -06:00
Jeffrey
cd3186988b Remove rpc_method_name.h 2022-02-13 23:20:56 -06:00
Jeffrey
78f16d3299 Remove multiprotocols_server.h 2022-02-13 23:19:20 -06:00
Jeffrey
f2f9bf82de Remove munin_connection_handler.h 2022-02-13 22:12:03 -06:00
Jeffrey
0e1e01395b Remove munin_node_server.h 2022-02-13 22:09:05 -06:00
Jeffrey
2499269696 Remove to_nonconst_iterator.h and Refactor
This was mostly the same as the other commits, but there was actually one reference to
the functions in to_nonconst_iterator.h in http_protocol_handler.inl. All the other
files modified in this commit were to remove extraneous includes of to_nonconst_iterator.h.

In http_protocol_handler.inl, to_nonsonst_iterator() (misspelled?) was used to convert a
string::const_iterator to a nonconst iterator in order to use it in a call to
string::erase(). However, this in not necessary as of C++11, so I removed the conversion
altogether.
2022-02-11 15:02:45 -06:00
Jeffrey
dbf8e4a2d6 Remove soci_helper.h 2022-02-10 23:34:03 -06:00
Jeffrey
8cec449519 Remove serialize_base.h 2022-02-10 19:42:19 -06:00
Jeffrey
1018698830 Remove static_initializer.h 2022-02-10 19:31:22 -06:00
Jeffrey
d009741cd4 Remove service_impl_base.h 2022-02-10 19:27:59 -06:00
Jeffrey
f4721c0ca5 Removed reg_utils.h 2022-02-10 19:22:27 -06:00
Jeffrey
e8e46bb210 Remove global_stream_operators.h
I think my commit message goes without saying
2022-02-10 18:54:39 -06:00
Jeffrey
10c3a3af95 Removed unused functions from file_io_utils
I removed three unused functions: `get_file_time`, `set_file_time`, and `append_string_to_file`.
I have recompiled on Ubuntu 20 with no issues.
2022-02-10 18:41:29 -06:00
Jeffrey
86d554cbae Remove ado_db_helper.h
Self-explanatory
2022-02-10 18:21:46 -06:00
Jeffrey
c19f141942 Removed unused SMTP, tiny_ini, and SHA-1 files from EPEE
Combined commit of #8172, #8173, #8174
2022-02-10 11:56:47 -06:00
luigi1111
c278c97f1f
Merge pull request #7884
ec6b4cf support cors wildcard (woodser)
2021-09-09 15:20:09 -04:00
woodser
ec6b4cf9e1 support cors wildcard 2021-08-20 14:17:51 -04:00
koe
426dbf434b fix median overflow bug 2021-08-13 06:57:27 -05:00
moneromooo-monero
7354ffb8a7
p2p: remove blocked addresses/hosts from peerlist 2021-08-05 17:29:25 +00:00
mj-xmr
c19f0cbdea
Compil time: move epee storages/parserse_base_utils.h to parserse_base_utils.cpp 2021-06-11 21:20:51 +02:00
luigi1111
7499837a6f
Merge pull request #7661
08e4497 Improve cryptonote (block and tx) binary read performance (Lee Clagett)
2021-06-10 12:00:54 -05:00
loqs
44cc6d6762
Fix boost 1.76.0 compatibility
Add missing header boost/mpl/contains.hpp
monero-project/monero/issues/7728
2021-05-24 05:31:14 +02:00
luigi1111
0a1ddc2eff
Merge pull request #7669
679d055 Remove payload copy in all outgoing p2p messages (Lee Clagett)
2021-04-22 01:51:01 -04:00
mj-xmr
dc81e23e60 Split epee/string_tools.h and encapsulate boost::lexical_cast 2021-04-16 20:54:20 +02:00
luigi1111
e45619e61e Revert "Merge pull request #7136"
This reverts commit 63c7ca07fb, reversing
changes made to 2218e23e84.
2021-04-16 13:52:44 -05:00
luigi1111
63c7ca07fb
Merge pull request #7136
23aae55 Remove payload copy in all outgoing p2p messages (Lee Clagett)
2021-04-16 12:45:30 -05:00
luigi1111
2218e23e84
Merge pull request #7002
673c6d2 Reduce compilation time of epee/portable_storage_template_helper.h (mj-xmr)
2021-04-16 12:43:42 -05:00
luigi1111
08f6d0e185
Merge pull request #7439
0f2b5af Reduced executable size; reduced call sequence to 'allowed' log function (Lee Clagett)
2021-03-29 22:39:31 -04:00
luigi1111
a2b046dafc
Merge pull request #7460
2935a0c async_protocol_handler_config: fix deadlock (anon)
c877705 async_protocol_handler_config: add deadlock demo (anon)
2021-03-29 21:46:29 -04:00
mj-xmr
673c6d2d11 Reduce compilation time of epee/portable_storage_template_helper.h 2021-03-28 15:41:48 +02:00
luigi1111
4a7b729025
Merge pull request #7394
b900fa0 Fix compiler warning for in keyvalue_serialization.h (mj-xmr)
2021-03-20 01:43:13 -04:00
luigi1111
602926fe9d
Merge pull request #7366
9867a91 Store RPC SSL key/cert for consistent authentication between runs (Lee Clagett)
2021-03-20 01:38:03 -04:00
luigi1111
6e1b3d1e0b
Merge pull request #7274
daf023d epee: don't log raw packet data (moneromooo-monero)
2021-03-20 01:35:51 -04:00
luigi1111
7bf89dcbd3
Merge pull request #7005
249eae5 Allow byte_stream->byte_slice conversion to shrink unused buffer space (Lee Clagett)
2021-03-20 01:35:13 -04:00
anon
2935a0c479
async_protocol_handler_config: fix deadlock 2021-03-12 11:59:06 +00:00
luigi1111
0b6bfb1fd8
Merge pull request #7399
556af11 epee: return HTTP error 400 (Bad request) on deserialization error (moneromooo-monero)
2021-03-05 13:56:54 -05:00
moneromooo-monero
556af11d3b
epee: return HTTP error 400 (Bad request) on deserialization error
It's better than 404 (Not found)
2021-02-23 18:55:08 +00:00