8004 Commits

Author SHA1 Message Date
Oscar Mira
edc447eb75
checkpoints: support nearest lower checkpoint lookup 2025-05-23 19:27:10 +02:00
Lee *!* Clagett
92315c0357 Add is_same_host check to p2p 2025-05-19 18:30:18 -04:00
jeffro256
6fd3a2e06b
tools::variant: remove 2025-05-15 13:48:36 -05:00
jeffro256
deb1ec93c8
BlockchainLMDB: mark overridden methods with override 2025-05-15 13:13:39 -05:00
jeffro256
06b74ae3f5
ringct & cryptonote_basic: detangle dependencies
`libringct` was linking against `libcryptonote_basic` for a single, one-line convenience function: `cryptonote::get_blob_hash`.
Since `cryptonote_basic.h` includes `rctTypes.h`, this one function effectively made an explicit circular dependency between
the two libraries. `cryptonote_format_utils.cpp` was including header `rctSigs.h` from `libringct`, when only `rctOps.h` from
`libringct_basic` needed to be included. `libcryptonote_basic` wasn't explictly linking against `libringct_basic` nor
`libringct` like it should have. And `libblockchain_db` wasn't linking against `libcryptonote_basic` like it should have. We
can also downgrade `libblockchain_db`'s dependency on `libringct` to `libringct_basic`.
2025-05-07 19:52:24 -05:00
tobtoht
c2e3835223
Merge pull request #9910
d106e21b7 src: fix clangd warnings (0xFFFC0000)
2025-05-07 03:32:02 +00:00
0xFFFC0000
d106e21b74 src: fix clangd warnings 2025-05-01 05:27:35 +00:00
tobtoht
c5cb8e1b78
Merge pull request #9916
98b79485d msys2 build: include int headers (jeffro256)
2025-04-30 05:29:25 +00:00
jeffro256
98b79485df
msys2 build: include int headers 2025-04-29 00:57:37 -05:00
tobtoht
b6df4bb142
Merge pull request #9875
fd08594ca wallet: fix monero-wallet-rpc ignoring calls during sync (tzadiko)
2025-04-25 05:09:56 +00:00
tobtoht
d2d976ca5a
Merge pull request #9404
f4672c259 cryptonote_core: only verify txpool when the hardfork value has changed. (0xFFFC0000)
2025-04-24 16:13:01 +00:00
tobtoht
906acaf963
Merge pull request #9859
a57c099d0 fix: added key correspondence check (StrawberryChocolateFudge)
2025-04-24 15:44:08 +00:00
tobtoht
02fba21846
Merge pull request #9881
8af33c71c epee: syncobj: replace shims with Boost classes (jeffro256)
2025-04-23 16:31:56 +00:00
tobtoht
56ee3d2765
Merge pull request #9872
6d6e8e173 construct_tx_and_get_tx_key: don't erase exception trace (jeffro256)
2025-04-23 16:22:25 +00:00
tobtoht
d1a038683d
Merge pull request #9848
f8ecd3174 Fix copies in ZMQ input/output (Lee *!* Clagett)
2025-04-23 16:21:01 +00:00
tobtoht
627bb04b98
Merge pull request #9851
70fe289d8 Improve move/copy/default constructor semantics for tx and block (Lee *!* Clagett)
2025-04-23 16:14:50 +00:00
tobtoht
28dd16181b
Merge pull request #9863
c848e21c4 fix: multisig stale data after failed refresh (SNeedlewoods)
2025-04-23 16:12:45 +00:00
tobtoht
22627363a4
Merge pull request #9884
7cb406e05 cryptonote_basic: is_coinbase() take prefix (jeffro256)
2025-04-23 16:07:39 +00:00
tsinghuacoder
9d4dd0ef8d chore: fix some typos
Signed-off-by: tsinghuacoder <tsinghuacoder@icloud.com>
2025-04-11 17:05:25 +08:00
jeffro256
7cb406e05a
cryptonote_basic: is_coinbase() take prefix
Useful for wallet business logic, which stores the prefixes in `m_transfers`, not the whole transaction.
2025-04-02 11:01:49 -05:00
StrawberryChocolateFudge
a57c099d07 fix: added key correspondence check
refactor: key correspondence check error handling

fixed indentation

removed EOL whitespace
2025-04-02 04:30:32 +02:00
jeffro256
8af33c71cf
epee: syncobj: replace shims with Boost classes
a. `critical_section` is functionally identical to a `boost::recursive_mutex`
b. `critical_region_t` is functionally identical to a `boost::unique_lock`
c. remove some vestigial definitons `g_test_dbg_lock_sleep` as a variable
2025-04-01 11:09:26 -05:00
tzadiko
fd08594caa wallet: fix monero-wallet-rpc ignoring calls during sync 2025-03-28 20:13:02 -05:00
SNeedlewoods
c848e21c43 fix: multisig stale data after failed refresh 2025-03-28 12:48:38 +01:00
jeffro256
6d6e8e1733
construct_tx_and_get_tx_key: don't erase exception trace 2025-03-26 15:10:09 -05:00
tobtoht
977dedce2c
Merge pull request #9865
0e243a4ac checkpoints: update to a recent block height (selsta)
2025-03-26 12:37:06 +00:00
tobtoht
4b127d9c6b
Merge pull request #9842
30ae2deed Correct Max / Min Block Waiting Periods (tzadiko)
2025-03-26 12:35:32 +00:00
tzadiko
30ae2deed5 Correct Max / Min Block Waiting Periods 2025-03-25 16:55:43 -05:00
selsta
0e243a4ac0
checkpoints: update to a recent block height 2025-03-25 21:28:20 +01:00
Lee *!* Clagett
55e6ba49cb Fix expected hash check 2025-03-24 10:56:53 -04:00
tobtoht
ef128a80e1
Merge pull request #9846
834438acb Remove hidden transaction copy in add_block (Lee *!* Clagett)
2025-03-24 02:54:20 +00:00
tobtoht
ba77342faa
Merge pull request #9845
51a72c120 Blockchain: remove skip for pruned txs in `check_tx_inputs()` (jeffro256)
2025-03-24 02:53:13 +00:00
tobtoht
2d20c4a9b7
Merge pull request #9844
528664b1c cryptonote_protocol: fix handling of pruned blocks during sync (jeffro256)
2025-03-24 02:50:17 +00:00
tobtoht
227e503922
Merge pull request #9832
5393bef13 wallet: fix different-signedness int comparison warnings (jeffro256)
2025-03-24 02:46:29 +00:00
tobtoht
dfa92d6031
Merge pull request #9824
da8907974 chore: fix some typos in comments (shenpengfeng)
2025-03-24 02:45:18 +00: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
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
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
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
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
c3fc0ffc37
common: add missing iomanip include 2025-02-17 17:20:03 +01:00