Commit Graph

883 Commits

Author SHA1 Message Date
Crypto City
9774c7bca8 fix build on windows 2025-08-08 17:35:14 +00:00
Crypto City
d75bedc5c6 use 6th decile instead of median for block size algorithm
this should avoid the block size never growing under pressure
if the totality of PoW hash rate is from a single pool which
only mines empty blocks
2025-08-01 07:02:17 +00:00
Crypto City
cb2176149e epee: decrease net.p2p level 1 logs 2024-11-23 11:12:22 +00:00
Crypto City
4486c43a97 Fluorine Fermi
-----BEGIN PGP SIGNATURE-----
 
 iQFJBAABCAAzFiEEh3erj3eO6JSHovjn9KygGDZB4BAFAma9CtAVHGx1aWdpMTEx
 MXdAZ21haWwuY29tAAoJEPSsoBg2QeAQECkH/iQYXms2Hk1cykkuEgpxpMrqGPVH
 /+F6aOe74Xx12MNa+QcjEhtlnuTZcQZXEoormRucWf89mmfJV6LNyUOOeAJ1jxrW
 a5NoCBPTrxH0iso5MfYNcxtu5/13CnMx6daH8WvX1omwgVIbTmWKjUihVhz1RZfM
 YlmR6kmq44DdN7eKZZmSicm9YF8Bv1JPDBM6mwqEf/5UDJxvG/z/d7HkYzTcMhcZ
 NFKaLnNT631CKIZQIxQyiqH/c9fBL3+2fd3geAXQNuOBJhd9SIQCHt2z3+jA0lm5
 QupajQawp3UTM6/iCf19ITQ43BUwLfLKsDfYjZ2mz7ZT06TSQti7DjyOIfQ=
 =BViq
 -----END PGP SIGNATURE-----

Merge tag 'v0.18.3.4' into cc

Fluorine Fermi
2024-09-20 15:58:40 +00:00
Crypto City
687a389fcb Fluorine Fermi
-----BEGIN PGP SIGNATURE-----
 
 iQFJBAABCAAzFiEEh3erj3eO6JSHovjn9KygGDZB4BAFAmXwr2oVHGx1aWdpMTEx
 MXdAZ21haWwuY29tAAoJEPSsoBg2QeAQjksIAJ9CSNK6LQU3b+8TdEv5knpMeyY/
 n6QXCA0Xl+rPJCseQZq5+FdwZjjdGm6ptm2+R/1nDjynw7jccChh2x/T0BH/3ewD
 h+30fOZ54Rm9m0hGUY7TQFf8+Nn2FK/OO+uexxMRPkj6yWmItvXTUDoEsnC0VCSn
 mA8GSy9w+ei6iTeviEH5FlSD37z/r8T5DPPy4Y44WVIWd/pR5klnnCNYFCVK2eXS
 nRuLRgY2r7hrfZfpH34JA2ITFVn7ijjZlmLN+/xNCoiIetkkvid4hZCnfl8haVC1
 G19S9cHUC0HtQxAjY8hbBrMj/7oi7SN+2+7+m/DfsyyrW0h9aX/GJySxSiA=
 =zXfB
 -----END PGP SIGNATURE-----

Merge tag 'v0.18.3.3' into cc

Fluorine Fermi
2024-08-15 07:48:13 +00:00
tobtoht
7cb69fa6bc
epee: string_tools: keep full path in cut_off_extension 2024-08-14 19:50:06 +02:00
tobtoht
c7d4bf491e
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:57:49 +02:00
luigi1111
76feeb64b7
Merge pull request #9396
b9fddc0 epee: fix mlog filename compare bug. (0xFFFC0000)
2024-07-16 19:03:10 -04:00
0xFFFC0000
b9fddc08b2
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-14 19:23:07 +03:30
0xFFFC0000
738f5038bf
contrib: fix compilation error for boost 1.85 2024-05-29 16:02:15 +02:00
0xFFFC0000
d6b35e97be
Cleanup string_tools.
1. Use boost::filesystem for already available operations.
2. Use boost::string for already available operations.
2024-03-15 19:19:39 +03:30
jeffro256
c7cf489585
Revert "http_client: reduce number of packets sent for small bodies"
This reverts commit e0b2123c32.
2024-03-10 23:08:17 -05:00
luigi1111
9a5f8431b4
Merge pull request #9047
6c38c21 heed NO_COLOR environment variable (moneromooo-monero)
2023-11-06 09:36:08 -05:00
moneromooo-monero
6c38c21dfd heed NO_COLOR environment variable 2023-10-31 09:09:55 +01:00
Jeffrey Ryan
5435202450
readline_buffer: disable bracketed paste escape sequences 2023-10-31 02:31:55 -05:00
jeffro256
e0b2123c32
http_client: reduce number of packets sent for small bodies 2023-10-15 01:33:38 -05:00
selsta
3f9140e754 storages: change error log category to serialization 2023-09-22 19:09:27 +02:00
jeffro256
78348bcddd
wallet-rpc: restore from multisig seed 2023-08-10 10:13:07 -05:00
Crypto City
7ee7e5a50f include stdint.h where needed for GCC 13 2023-07-18 19:39:24 +00:00
luigi1111
1eb1162923
Merge pull request #8909
aed36a2 Set SSL SNI even when server verification is disabled (Lee *!* Clagett)
2023-07-06 21:39:47 -05:00
luigi1111
bd962882d1
Merge pull request #8900
438554e properly terminate interrupted TCP connection. fixes #8685 (j-berman)
2023-07-06 21:34:41 -05:00
Lee *!* Clagett
aed36a25d6 Set SSL SNI even when server verification is disabled 2023-06-16 19:16:30 -04:00
j-berman
438554e1ab
properly terminate interrupted TCP connection. fixes #8685 2023-06-09 21:11:13 +02:00
Crypto City
5e5ad0f715 Fluorine Fermi
-----BEGIN PGP SIGNATURE-----
 
 iQFJBAABCAAzFiEEh3erj3eO6JSHovjn9KygGDZB4BAFAmQrcQUVHGx1aWdpMTEx
 MXdAZ21haWwuY29tAAoJEPSsoBg2QeAQx2kH/AjGrkHYqvwiwUwxPHvUG3IE2+47
 j2pZAd55yg1l4clECRwFSicdNHqInXYqj03GeVl+NW9mcIe52cY1GLYYwwHFdfgk
 BMRdfYTZypoe84qzAupN0miAHHFgIcnQdR90MVt/mMWc67JUPA0XdJC2jpOho7ob
 h8rjRSv/QEpGQ3CeoG3/brAIc2/TNRFJHCq9eVc1fhZUJ2gWHieo/EbtnbArwbpU
 NWZ9GAoWyy5fUhmYgzHPwqGzbvzlmWl5C4dw3HdjvXL2Ah7DPuG3tY3b29z0xBD3
 C3bCGEYkOvtmJ/bBQyu3ZVfj2W3Z7pDItQ1fyFxbhWzakgPICWXjbyR7K1w=
 =TDpE
 -----END PGP SIGNATURE-----

Merge tag 'v0.18.2.2' into cc

Fluorine Fermi
2023-06-08 14:31:22 +00:00
Crypto City
76320cd80d epee: attempt to fix the random hang in RPC comms
It does not always come from quite the same place, but it's always
a EBADF on the socket AFAICT. This suggests a race somewhere, but
for now it's better to fail than hang.

  #0  __cxxabiv1::__cxa_throw (obj=0x7e5c6c07bd30, tinfo=0x651167ae8770 <typeinfo for boost::wrapexcept<boost::system::system_error>>,
      dest=0x651165bb4010 <boost::wrapexcept<boost::system::system_error>::~wrapexcept()>) at ../../../../libstdc++-v3/libsupc++/eh_throw.cc:80
  #1  0x00006511667b3d0c in __wrap___cxa_throw ()
  #2  0x0000651165a423f1 in void boost::throw_exception<boost::system::system_error>(boost::system::system_error const&, boost::source_location const&) ()
  #3  0x0000651165bc1e49 in boost::asio::detail::do_throw_error(boost::system::error_code const&, char const*, boost::source_location const&) ()
  #4  0x0000651165bcd107 in epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >::save_dbg_log() ()
  #5  0x0000651165c4a1aa in epee::net_utils::boosted_tcp_server<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >::handle_accept(boost::system::error_code const&, bool) ()
  #6  0x0000651165bd7250 in boost::asio::detail::reactive_socket_accept_op<boost::asio::basic_socket<boost::asio::ip::tcp, boost::asio::any_io_executor>, boost::asio::ip::tcp, boost::_bi::bind_t<void, boost::_mfi::mf1<void, epee::net_utils::boosted_tcp_server<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&>, boost::_bi::list2<boost::_bi::value<epee::net_utils::boosted_tcp_server<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >*>, boost::arg<1> (*)()> >, boost::asio::any_io_executor>::do_complete(void*, boost::asio::detail::scheduler_operation*, boost::system::error_code const&, unsigned long) ()
  #7  0x0000651165b9cf53 in boost::asio::detail::scheduler::run(boost::system::error_code&) [clone .isra.0] ()
  #8  0x0000651165bc8b73 in epee::net_utils::boosted_tcp_server<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >::worker_thread() ()
  #9  0x0000651167157fe7 in thread_proxy ()
  #10 0x00007e5cfd4b44c0 in start_thread () from /lib64/libpthread.so.0
  #11 0x00007e5cfd3e2133 in clone () from /lib64/libc.so.6
2023-06-07 18:06:50 +00:00
Crypto City
33c100a7bf epee: fix reading arrays of mixed signed/unsigned numbers from json 2023-05-22 20:48:50 +00:00
tobtoht
f983ac7780
fix missing <cstdint> includes 2023-05-08 19:29:54 +02:00
Crypto City
36c765ca14 Fluorine Fermi
-----BEGIN PGP SIGNATURE-----
 
 iQFJBAABCAAzFiEEh3erj3eO6JSHovjn9KygGDZB4BAFAmMzenIVHGx1aWdpMTEx
 MXdAZ21haWwuY29tAAoJEPSsoBg2QeAQCi4IAJvKvE7nJ51/ZK30IY5+y2ELq1uI
 tYw9w6E8XujX4lxWewsV5BywJrYTmj22gfhlnuf54ppqciMNOZj8r1jp6bQMLY8d
 vNZwowbH/CRdGeo4k2EGOJIdB1wQ2m2i5hvlOcmlGFL7nujo2m9AHnrqxcfTw0ns
 xfWRjTU5Z3srfs22J9KNEurSg11i7DatwCO79zBL+JRETVLpD8GV6eeSXGSwNVc7
 6vUB/z0OoOtSV6UVDkqL1d5op2siw9NLEihYKLbTqAAdWxAG7o82Ne/cw6Vyo0uy
 mKwoSxGUf9zMNXlQfpQpxVmriXNgfjQ89akTVq7niIB9jG1OU/v9Pvg4BxE=
 =k/nU
 -----END PGP SIGNATURE-----

Merge tag 'v0.18.1.2' into cc

Fluorine Fermi
2023-03-19 06:38:11 +00:00
Crypto City
979efba0f2 fix build on windows 2023-02-16 14:18:38 +00:00
tobtoht
4845091077 More changes from feather wallet
up to 0037-ensure-stack-protector.patch
2023-01-28 17:02:59 +00:00
Jeffrey Ryan
07f8e9e891 epee: dont shrink slice when storing to binary [release] 2022-09-20 12:04:14 -05:00
tobtoht
3679925331 Windows: fix unicode file path support 2022-09-02 12:28:57 +02:00
Crypto City
088538c160 Merge remote-tracking branch 'origin/master' into HEAD
b6a029f222

Multisig functional test broken
2022-08-08 17:44:32 +00:00
luigi1111
b6a029f222
Merge pull request #8435
cf3be99 Template hash func to fix compiler error on < gcc-6 (j-berman)
2022-07-15 11:43:15 -04:00
j-berman
cf3be9926f Template hash func to fix compiler error on < gcc-6 2022-07-13 22:44:43 -07: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
luigi1111
e8252ef99b
Merge pull request #8337
1164874 src, epee: fix a couple compiler warnings (selsta)
2022-05-26 21:25:06 -05:00
Jeffrey Ryan
026dbc89bf Windows build: fix narrowing error for WaitForSingleObject
`WaitForSingleObject` returns a `DWORD`, not an int, so assign `retval` as such and it should fix the error.
2022-05-23 02:07:56 -05:00
selsta
1164874afc
src, epee: fix a couple compiler warnings 2022-05-17 00:33:10 +02:00
luigi1111
6e60919e6d
Merge pull request #8315
1ddb1ee Give better error messages when missing SSL files (Jeffrey Ryan)
2022-05-16 13:53:16 -05:00
luigi1111
9e71901346
Merge pull request #8301
6ef945d Doxygen: Hide anonymous namespaces from documentation by default (Jeffrey)
2022-05-10 16:55:36 -05:00
luigi1111
7cdbd25042
Merge pull request #8279
f7d50cb EPEE: Remove gzip_encoding.h (Jeffrey)
2022-05-10 16:50:17 -05:00
luigi1111
3f58b8938a
Merge pull request #8278
63c7f8b EPEE: Remove hmac-md5 (Jeffrey)
2022-05-10 16:49:47 -05:00
luigi1111
5e46ab53e7
Merge pull request #8226
002bf9c Fix typo: SERIALIZE_TYPE_DUOBLE (Jeffrey)
2022-05-10 16:43:26 -05: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
6ef945d9a5 Doxygen: Hide anonymous namespaces from documentation by default
Bonus: little doc fix for net_ssl.h
2022-04-28 19:35:49 -05:00
luigi1111
67e5ca9ad6
Merge pull request #8275
9209880 add a sanity check to RPC input data size (moneromooo-monero)
2022-04-25 10:22:03 -05:00
luigi1111
4541384075
Merge pull request #8248
d1cb9c3 Remove serialization/enableable (Jeffrey)
2022-04-25 10:19:39 -05:00
Jeffrey
f7d50cbaa8 EPEE: Remove gzip_encoding.h 2022-04-22 14:32:56 -05:00