Commit graph

10752 commits

Author SHA1 Message Date
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
9aab19f349
Merge pull request #8135
2d0a518 Update Copyright year in README.md (IceCruelStuff)
2022-01-24 15:18:13 -05:00
luigi1111
357dbd2032
Merge pull request #8130
1051276 Update net_node.inl (Gingeropolous)
2022-01-24 15:16:52 -05:00
luigi1111
459a48352d
Merge pull request #8126
e73e1e7 Use CMD in Dockerfile (Kevin Thomas)
2022-01-24 15:16:27 -05:00
luigi1111
d94715fd71
Merge pull request #8123
4446cc8 wallet inits cache if file and blob missing (woodser)
2022-01-24 15:15:11 -05:00
luigi1111
c1e7e97cea
Merge pull request #8117
505b382 cmake: enable build on riscv{64, 32} (Xeonacid)
2022-01-24 15:14:38 -05:00
luigi1111
cb24b85bde
Merge pull request #8116
6366187 Fixed warnings for Clang (used as CMAKE_CXX compiler) (SerHack)
2022-01-24 15:14:08 -05:00
luigi1111
0f9fae5a96
Merge pull request #8112
fef0280 Fix docker instructions to account for non-root user (Kevin Thomas)
2022-01-24 15:13:37 -05:00
luigi1111
166c278057
Merge pull request #8101
6a46f8c Add copy commands for compiled binaries (Seth For Privacy)
52612e7 Add archive details to post-build section (Seth For Privacy)
03a256e Add git clone and cd commands for initial prep (Seth For Privacy)
cd76011 Add note on adding SSH keys for Github (Seth For Privacy)
9d02531 Update DOCKRUN.md (Seth For Privacy)
eeb0be4 Bump versions in DOCKRUN.md and add log commands (Seth For Privacy)
2022-01-24 15:11:51 -05:00
luigi1111
5283cf51ef
Merge pull request #8044
a02b342 Avoid unnecessary 'Invalid hashing blob' error message (rbrunner7)
2022-01-24 15:10:55 -05:00
luigi1111
e9d90de9e1
Merge pull request #8041
361f621 Fix typos (Dimitris Apostolou)
2022-01-24 15:09:30 -05:00
IceCruelStuff
2d0a5189d2
Update Copyright year in README.md 2022-01-07 20:27:24 -08:00
Gingeropolous
1051276425
Update net_node.inl 2022-01-04 16:31:59 -05:00
Kevin Thomas
e73e1e7e6f Use CMD in Dockerfile
According to Dockerfile best practices
(https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#entrypoint)
the best use for ENTRYPOINT is to set the image’s main command and then
use CMD as the default flags. This makes it easier to change the flags
passed to monerod when running the Docker image.
2021-12-31 01:05:22 -08:00
woodser
4446cc88c3 wallet inits cache if file and blob missing 2021-12-24 09:22:57 -05:00
Xeonacid
505b38260c cmake: enable build on riscv{64, 32}
tested on Arch Linux RISC-V.
2021-12-22 15:43:44 +08:00
SerHack
6366187cf3 Fixed warnings for Clang (used as CMAKE_CXX compiler) 2021-12-19 03:16:53 -08:00
luigi1111
319b831e65
Merge pull request #8103
e9156d7 functional_tests: update uri test with external pid (selsta)
2021-12-15 20:24:37 -06:00
selsta
e9156d78a3
functional_tests: update uri test with external pid 2021-12-14 23:35:48 +01:00
Kevin Thomas
fef02800c7 Fix docker instructions to account for non-root user
Since the non-root user 'monero' is specified in the Dockerfile, the
bind mount when running the container should be set to this user's home
directory be default, not the root user's home directory.
2021-12-13 18:53:06 -08:00
Seth For Privacy
6a46f8c40a
Add copy commands for compiled binaries 2021-12-02 16:54:04 +00:00
Seth For Privacy
52612e7a12
Add archive details to post-build section
Also moved the tail of in-progress logs to two distinct and precise tail commands, was a good recommendation by @hyc.
2021-12-02 16:52:32 +00:00
Seth For Privacy
03a256e076
Add git clone and cd commands for initial prep 2021-12-02 15:41:45 +00:00
Seth For Privacy
cd76011e6c
Add note on adding SSH keys for Github 2021-12-02 13:55:18 +00:00
Seth For Privacy
9d02531f0d
Update DOCKRUN.md 2021-12-01 17:44:58 +00:00