12133 Commits

Author SHA1 Message Date
tobtoht
3c6f1c7748
Merge pull request #9839
a5fabe513 trezor: fix protobuf 30 compatibility (tobtoht)
2025-03-23 16:20:39 +00:00
jeffro256
332d92ffbe
epee: span::operator[] allow mut ref from const span
Changes the `operator[]` method so we can get mutable
references to elements even if the span is `const`.
The operator is now also `constexpr`.
This behavior matches `std::span`.

C++ standard reference: https://en.cppreference.com/w/cpp/container/span/operator_at
2025-03-22 16:53:17 -05:00
Lee *!* Clagett
70fe289d82 Improve move/copy/default constructor semantics for tx and block 2025-03-21 14:02:12 -04:00
meed3
2aa90a1135
Add log-level arg description to monerod 2025-03-20 12:52:20 +00:00
Lee *!* Clagett
f8ecd31743 Fix copies in ZMQ input/output 2025-03-18 01:11:12 -04:00
Lee *!* Clagett
834438acb8 Remove hidden transaction copy in add_block 2025-03-17 19:19:20 -04:00
jeffro256
51a72c1209
Blockchain: remove skip for pruned txs in check_tx_inputs()
I can't see how this would trigger in the current codebase, so it's not a *current* safety issue,
but I can very well see it becoming on in the future if downstream code doesn't handle the passing
of pruned transactions correctly. I think the safe/good choice would be to remove this skip now
that all transactions that pass into the mempool are supposed to be unpruned. And for all in-block
txs, `check_tx_inputs()` isn't called for checkpointed blocks, and we sync pruned blocks only if
syncing checkpointed blocks.
2025-03-17 09:31:50 -05:00
jeffro256
528664b1c8
cryptonote_protocol: fix handling of pruned blocks during sync 2025-03-17 09:09:25 -05:00
ComputeryPony
8024d43e6f trezor: fix cmake variables 2025-03-16 18:57:44 -05:00
tobtoht
a5fabe5134
trezor: fix protobuf 30 compatibility 2025-03-16 23:02:45 +01:00
jeffro256
5393bef139
wallet: fix different-signedness int comparison warnings 2025-03-13 04:10:29 -05:00
tobtoht
f90a267fa3
Merge pull request #9820
50897a687 Limit scope of TCP checks to incoming only (Lee *!* Clagett)
2025-03-11 19:13:41 +00:00
tobtoht
44523cafff
Merge pull request #9135
c069c04ed blockchain sync: reduce disk writes from 2 to 1 per tx (jeffro256)
2025-03-10 16:16:18 +00:00
jeffro256
c069c04ede
blockchain sync: reduce disk writes from 2 to 1 per tx 2025-03-10 01:02:37 -05:00
shenpengfeng
da8907974e chore: fix some typos in comments
Signed-off-by: shenpengfeng <xinhangzhou@icloud.com>
2025-02-28 00:40:29 +08:00
Lee *!* Clagett
665316708c Fix HTTP unit tests (broken with new Boost versions) 2025-02-25 18:51:56 -05:00
Lee *!* Clagett
50897a6871 Limit scope of TCP checks to incoming only 2025-02-24 21:55:35 -05:00
tobtoht
8d6aff9590
Merge pull request #9538
c461b3c67 make: remove static targets (tobtoht)
2025-02-24 18:16:13 +00:00
0xFFFC0000
f4672c2595 cryptonote_core: only verify txpool when the hardfork value has changed.
Co-authored-by: Boog900 <boog900@tutanota.com>
2025-02-24 17:25:27 +00:00
iamamyth
8c43e33e35 logging: Fix easylogging++ init with blank config
The upstream version of el::base::TypedConfigurations::unsafeGetConfigByRef
accesses uninitialized memory if a key doesn't exist.
Commit b2c59af84de8d35c1eee38878053206a62756968 patched the library to
throw in this case, avoiding the invalid access, but the more suitable
pattern, both logically, and as evidenced by the behavior of
unsafeGetConfigByVal, would be to return a const reference to a
default-initialized value with static storage duration.
2025-02-19 15:02:08 -08:00
tobtoht
97c0ce73c4
Merge pull request #9804
418a9adb1 BlockchainLMDB: fix data.mdb nuking on Windows (jeffro256)
2025-02-17 18:23:06 +00:00
jeffro256
418a9adb13
BlockchainLMDB: fix data.mdb nuking on Windows 2025-02-17 11:57:32 -06:00
tobtoht
802844de23
Merge pull request #9802
c3fc0ffc3 common: add missing iomanip include (tobtoht)
2025-02-17 16:33:52 +00:00
tobtoht
c3fc0ffc37
common: add missing iomanip include 2025-02-17 17:20:03 +01:00
tobtoht
aae0c7743a
Merge pull request #9439
02e2a4f4c assign default port for http and https clients (woodser)
2025-02-17 16:03:37 +00:00
woodser
02e2a4f4cd assign default port for http and https clients 2025-02-17 08:11:44 -05:00
tobtoht
94188d1a4a
Merge pull request #9428
92b671c56 contrib: smaller and more reasonable log size. (0xFFFC0000)
2025-02-17 10:23:19 +00:00
tobtoht
a3db257c39
Merge pull request #9403
0a29a9f76 Add ZMQ-PUB json-schemas (Lee *!* Clagett)
2025-02-17 10:22:31 +00:00
tobtoht
ef509e1c08
ci: introduce rust toolchain
Co-authored-by: Luke Parker <lukeparker5132@gmail.com>
2025-02-17 08:23:37 +01:00
tobtoht
13002ddd4b
Merge pull request #9784
5b3021305 ci: containerize depends jobs (tobtoht)
2025-02-16 05:26:10 +00:00
tobtoht
24c90ae9a2
Merge pull request #9787
05184554a add wallet rpc call to get default fee priority (woodser)
2025-02-16 05:22:05 +00:00
woodser
05184554a6 add wallet rpc call to get default fee priority 2025-02-15 15:15:23 -05:00
tobtoht
5b30213057
ci: containerize depends jobs 2025-02-14 10:45:02 +01:00
tobtoht
257db6dff2
Merge pull request #9765
ec74ff4a3 Set response limits on http server connections (Lee *!* Clagett)
2025-02-14 07:33:45 +00:00
tobtoht
d6b7c8a351
Merge pull request #9728
4eae7c9ac cmake: remove redundant config env var (tobtoht)
2025-02-14 06:03:50 +00:00
Lee *!* Clagett
ec74ff4a3d Set response limits on http server connections 2025-02-13 23:55:17 -05:00
tobtoht
28e2042b04
Merge pull request #9762
950ddbf30 tests: Improve p2p tx propagation functional test (iamamyth)
2025-02-14 04:00:24 +00:00
tobtoht
a1b3468f26
Merge pull request #9671
325e317a3 depends: always pass --with-pic to autoconf builds (tobtoht)
2025-02-14 03:54:04 +00:00
tobtoht
203af950fd
Merge pull request #9654
eee5838aa guix: remove automake & autoconf (tobtoht)
2025-02-14 03:52:14 +00:00
tobtoht
4d1a8804ae
Merge pull request #9729
e250841a3 cmake: remove msvc (tobtoht)
2025-02-14 03:51:01 +00:00
tobtoht
6343e3ecf6
Merge pull request #9773
000d75777 depends: use staging_prefix_dir where possible (tobtoht)
2025-02-14 03:50:14 +00:00
tobtoht
915c5dc1d9
Merge pull request #9456
b746d0152 depends: android_ndk: update to 27 (latest LTS) (tobtoht)
2025-02-13 19:34:44 +00:00
tobtoht
ca16c290ab
Merge pull request #9711
2511f8579 brew: use latest protobuf (tobtoht)
2025-02-13 17:40:24 +00:00
tobtoht
9570c1a216
Merge pull request #9717
ff4e86dc4 ringct: remove unused range proof types and fix serialization bug (jeffro256)
2025-02-13 17:37:47 +00:00
tobtoht
e87c16dd3e
Merge pull request #9582
16b5c11f7 Some cleanup in span/connection_context + few more checks (Lee *!* Clagett)
2025-02-13 17:36:19 +00:00
tobtoht
eceb3cdc8d
Merge pull request #9760
9386f87a7 ringct: remove inclusion of cryptonote_format_utils.h in rctOps.cpp (jeffro256)
2025-02-13 17:34:16 +00:00
tobtoht
2fae69f623
Merge pull request #9761
ad782ded1 utils: Simplify python RPC Response implementation (iamamyth)
2025-02-13 17:33:32 +00:00
tobtoht
3c4750c059
Merge pull request #9763
274b5748d tests: Improve functional_tests_rpc startup (iamamyth)
2025-02-13 17:32:47 +00:00
tobtoht
f97db315ba
Merge pull request #9769
a076ac36e ci: run guix builds on Cargo.lock update (tobtoht)
2025-02-13 17:31:59 +00:00
tobtoht
ac7eeab52d
Merge pull request #9770
151c7f0e8 src: bump network speed 4x (nahuhh)
2025-02-13 17:31:18 +00:00