Commit Graph
1567 Commits
Author SHA1 Message Date
tobtoht 3ed8ffb56b Merge pull request #10842
fa91ae4 common: remove dead code (Thomas)
8701fc9 blockchain_db: remove unused MDB_val_copy specializations (Thomas)
00d21ee epee: remove dead code (Thomas)

ACKs: selsta, jpk68
2026-07-20 09:09:49 +00:00
tobtoht ff17d7f7ba Merge pull request #10905
d436311 epee: avoid bad_weak_ptr during connection teardown (selsta)

ACKs: vtnerd, SChernykh
2026-07-20 09:01:13 +00:00
tobtoht 17410620a8 Merge pull request #10908
4f73cfe epee: fix build with OpenSSL 4.0 (weifanglab)

ACKs: iamamyth, selsta, jpk68, jeffro256
2026-07-20 08:54:15 +00:00
tobtoht ea379f8f76 Merge pull request #10877
6308971 epee: narrow included asio headers (jpk68)

ACKs: jeffro256, selsta
2026-07-15 17:18:29 +00:00
weifanglab 4f73cfea6d epee: fix build with OpenSSL 4.0 2026-07-14 00:11:41 +08:00
selsta d4363111b9 epee: avoid bad_weak_ptr during connection teardown
foreach_connection() can race with connection destruction while the
protocol handler remains in the raw-pointer map. Use the non-throwing
weak_from_this().lock() in add_ref() and treat expired connections as
unavailable.

This is an interim mitigation pending the broader connection lifetime
fix in PR 7345.
2026-07-11 16:22:25 +02:00
tobtoht 1d2c866f3e Merge pull request #10843
be7a5ec epee: allow shared Windows file reads (selsta)

ACKs: tobtoht, plowsof
2026-07-08 11:00:42 +00:00
tobtoht a434e19138 Merge pull request #10808
b305c44 escape control characters in json string serialiser (alhudz)

ACKs: vtnerd*, selsta
2026-07-08 09:30:20 +00:00
tobtoht d6aa5ce38f Merge pull request #10851
7eb70c7 chore: remove msvc remnants (jpk68)

ACKs: selsta, tobtoht
2026-07-08 09:26:40 +00:00
alhudzand“rootvector2” b305c44fc1 escape control characters in json string serialiser 2026-07-08 13:02:50 +05:30
tobtoht 381fce8dde Merge pull request #10828
fecef76 Fix spelling typos in comments and string literals (Thomas)

ACKs: tobtoht, selsta
2026-07-02 13:18:56 +00:00
selsta be7a5ecc4e epee: allow shared Windows file reads
Opening a file with a zero sharing mode makes read-only access exclusive
on Windows. Allow read and write sharing so callers can inspect files
that are already open, such as active log files.
2026-06-30 19:35:28 +02:00
Thomas 00d21ee75e epee: remove dead code
Each symbol below has no references anywhere in the tree (src/, contrib/,
tests/); the full build still links cleanly. Per-symbol history is given so the
"why is this unused" is auditable (hashes are ancestors of HEAD).

net/connection_basic (all four lost their last caller in the 2022 connection
rewrite, 3be1dbd09 "connection: fix implementation"):
- to_string(t_connection_type): unused free function. Added 9bfa593ee (2015)
  to print a connection's type in a debug log; 3be1dbd09 (2022) switched that
  log line to std::to_string on the enum, orphaning this overload.
- do_send_handler_write / do_send_handler_write_from_queue: trace-only stubs
  added eabb51960 (2015) on the TCP send path; their calls in do_send_chunk /
  the write-completion handler were deleted by 3be1dbd09 (2022). The real send
  path is connection<T>::start_write().
- sleep_before_packet: outbound rate-limit sleep added eabb51960 (2015);
  callers were thinned over time (cf5f62361, 2017) and the last removed by
  3be1dbd09 (2022). Rate-limiting now lives in connection<T>::start_write()
  via the global out-throttle.

net/levin_base:
- struct bucket_head: legacy levin packet header from the 2014 epee import,
  superseded by bucket_head2 (the wire header, `using header = bucket_head2`).
  Its last use went away with the old levin_protocol_handler in 0c545f614
  (2024, "epee/test: remove levin_protocol_handler and core_proxy tests").
- LEVIN_PROTOCOL_VER_0: dead on arrival - present since the 2014 import, never
  referenced (the code uses LEVIN_PROTOCOL_VER_1).

net/net_utils_base (connection-context logging macros):
- LOG_PRINT_CC_L4: levin trace macro (2014 import); all call sites removed in
  5833d66f6 (2017, "Change logging to easylogging++").
- LOG_PRINT_CCONTEXT_L3: had a single "REMOTE PEERLIST" call site, removed in
  the same 5833d66f6 (2017).
- LOG_PRINT_CC_L3: only ever referenced inside LOG_PRINT_CCONTEXT_L3's body,
  never invoked directly - transitively dead once the above was removed.
- LOG_CC: dead on arrival - added in 5833d66f6 (2017) but never invoked.
  (The plain LOG_PRINT_L3 macro that LOG_PRINT_CC_L3/CCONTEXT_L3 wrap is still
  used elsewhere and is left untouched; only these unused CC wrappers go.)

net/network_throttle:
- typedef network_MB: added eabb51960 (2015); its only consumers
  (set_target_kill / m_target_MB) were stripped the same day in 5ce4256e3
  (2015), leaving an unused typedef.

profile_tools:
- START_WAY_POINTS / WAY_POINT / WAY_POINT2: dead on arrival - upstream-epee
  profiling macros present since the 2014 import, never once invoked (they only
  ever appear as definitions in profile_tools.h across all history).
- TIME_MEASURE_PAUSE / TIME_MEASURE_RESTART and their _NS_ variants: dead on
  arrival - added bda8c5983 (2017, "epee: add nanosecond timer and pause/restart
  profiling macros") but never wired to any call site. Of this family only
  TIME_MEASURE_START / TIME_MEASURE_FINISH are actually used.

storages:
- typedef binarybuffer (portable_storage_base): used by the binary store/load
  API since the 2014 import; its last consumer (store_to_binary) was removed in
  7414e2bac (2020, "Change epee binary output from std::stringstream to
  byte_stream").
- the templated min_bytes() member declaration (portable_storage_from_bin):
  declared but never defined or called. Added 7f407c027 (2020-12-26,
  "portable_storage: add some sanity checks on data size") alongside the
  ps_min_bytes<> trait struct, but the size checks were implemented via that
  trait (ps_min_bytes<>::strict), so this member was never defined or wired up
  - dead on arrival. The ps_min_bytes<> trait remains in use and is left intact.
2026-06-30 15:59:47 +02:00
jpk68 7eb70c7858 chore: remove msvc remnants 2026-06-29 21:29:19 -04:00
tobtoht 6eef935d2c Merge pull request #10810
07f7c75 http: parse server Content-Length strictly (alhudz)

ACKs: vtnerd, selsta
2026-06-29 11:42:27 +00:00
Thomas fecef767c9 Fix spelling typos in comments and string literals 2026-06-27 09:53:48 +02:00
tobtoht ef20171eec Merge pull request #10797
42bce30 guix: update clang to 22.1.8 (tobtoht)

ACKs: selsta, plowsof
2026-06-26 16:15:14 +00:00
tobtoht 4320bdf590 Merge pull request #10795
cf56393 depends: boost: remove headers of unused libraries (tobtoht)

ACKs: selsta, plowsof
2026-06-24 19:06:10 +00:00
tobtoht 42bce304e1 guix: update clang to 22.1.8 2026-06-24 20:37:16 +02:00
tobtoht 384277158f Merge pull request #10793
9c96792 guix: update gcc to 15.2.0 (tobtoht)

ACKs: plowsof, selsta
2026-06-24 18:28:23 +00:00
tobtoht 08af28c4fc Merge pull request #10789
a6c9d62 depends: Bitcoin -> Monero typo (jeffro256)

ACKs: selsta, tobtoht, nahuhh
2026-06-24 17:22:22 +00:00
tobtoht 0a83a39883 Merge pull request #10792
02db831 Fix spelling typos (Thomas)

ACKs: tobtoht, jeffro256
2026-06-24 17:21:24 +00:00
alhudz 07f7c7521d http: parse server Content-Length strictly 2026-06-23 17:37:41 +05:30
tobtoht 2c48374ecd Merge pull request #10768
389f366 http: share deterministic header field parser (selsta)

ACKs: SChernykh*, vtnerd
2026-06-21 21:44:23 +00:00
selsta 389f3660db http: share deterministic header field parser 2026-06-21 22:25:58 +02:00
tobtoht bb069330c7 Merge pull request #10786
49108d7 epee: use correct minor http version (jpk68)

ACKs: selsta, tobtoht
2026-06-21 11:37:21 +00:00
tobtoht 9c96792680 guix: update gcc to 15.2.0 2026-06-20 17:02:40 +02:00
tobtoht cf56393588 depends: boost: remove headers of unused libraries 2026-06-18 21:31:28 +02:00
Thomas 02db831d01 Fix spelling typos 2026-06-18 09:30:42 +02:00
jeffro256 a6c9d62e66 depends: Bitcoin -> Monero typo 2026-06-17 17:05:29 -05:00
tobtoht ca47407134 Merge pull request #10749
85ef8e0 depends: openssl: update to 3.5.7 (tobtoht)

ACKs: selsta, plowsof
2026-06-15 14:30:44 +00:00
tobtoht 1431995430 Merge pull request #10740
776d355 use byte-safe isalpha in epee json value parser (alhudz)

ACKs: iamamyth, selsta
2026-06-14 15:49:09 +00:00
tobtoht b9d139c425 Merge pull request #10738
edcdf5c depends: boost: update to 1.91.0-1 (tobtoht)

ACKs: selsta, j-berman
2026-06-13 12:17:45 +00:00
tobtoht d5b226d295 Merge pull request #10566
6460917 serialization: avoid blob memcpy of secret_key vector (selsta)

ACKs: vtnerd, tobtoht
2026-06-13 10:14:19 +00:00
alhudz 776d355780 use byte-safe isalpha in epee json value parser 2026-06-10 10:01:46 +05:30
tobtoht 85ef8e075a depends: openssl: update to 3.5.7 2026-06-09 19:27:05 +02:00
tobtoht 880abde62a Merge pull request #10696
d42de75 tests: cover truncated \u escape at end of buffer in match_string2 (alhudz)
524b0d0 fix off-by-one over-read in match_string2 unicode escape parsing (alhudz)
2026-06-07 18:35:16 +00:00
tobtoht edcdf5c43e depends: boost: update to 1.91.0-1 2026-06-07 12:09:51 +02:00
tobtoht bf23534c8e Merge pull request #10691
f2afe97 p2p: close zone connections before stopping net servers (selsta)
3623399 p2p: make stop signal idempotent (selsta)
2026-06-06 13:12:31 +00:00
jpk68 49108d7a67 epee: use correct minor http version 2026-06-05 09:16:09 -04:00
tobtoht 67767bbb68 Merge pull request #10493
a46154e p2p: cleaner connection close() (j-berman)
2026-06-05 11:02:04 +00:00
tobtoht a00fbd838a Merge pull request #10680
1a91bc3 brew: remove some unused libraries (tobtoht)
2026-06-05 09:52:36 +00:00
jpk68 63089717ed epee: narrow included asio headers 2026-06-04 10:13:12 -04:00
tobtoht 5904e14da4 Merge pull request #10677
dce724f depends: boost: don't build stubs for header-only libraries (tobtoht)
2026-06-03 19:00:51 +00:00
tobtoht 3d6a32675b Merge pull request #10676
65c1585 cmake: use boost provided module (tobtoht)
2026-06-03 19:00:29 +00:00
tobtoht 2f3ce2c823 Merge pull request #10667
1cf6338 guix: update clang to 21.1.8 (tobtoht)
2026-06-03 18:58:30 +00:00
selsta f2afe976c7 p2p: close zone connections before stopping net servers 2026-06-03 12:16:02 +02:00
tobtoht fa8b8ab93c Merge pull request #10666
8687825 crypto: split wire serialization in header (jeffro256)
2026-06-02 13:22:42 +00:00
tobtoht f7e7d1da68 Merge pull request #10563
642e636 epee: avoid memcpy in rolling median move (selsta)
2026-06-01 18:11:56 +00:00
tobtoht 701591f9d2 Merge pull request #10664
4e75c63 contrib/tor: remove dead node (jpk68)
2026-06-01 18:10:06 +00:00