12025 Commits

Author SHA1 Message Date
tobtoht
8d6b25568f
Merge pull request #9795
cb91dcee3 tests: Speed up p2p reorg test (iamamyth)
2025-04-23 16:15:23 +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
ee497cc172
Merge pull request #9857
332d92ffb epee: span::operator[] allow mut ref from const span (jeffro256)
2025-04-23 16:13:36 +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
80a2cd3dd3
Merge pull request #9873
b81b38760 easylogging: replace NULL with empty string literal (tobtoht)
2025-04-23 16:11:04 +00:00
tobtoht
aca10cfe30
Merge pull request #9876
f728c963c CMakeLists: add cache option for MANUAL_SUBMODULES (jeffro256)
2025-04-23 16:10:10 +00:00
tobtoht
22627363a4
Merge pull request #9884
7cb406e05 cryptonote_basic: is_coinbase() take prefix (jeffro256)
2025-04-23 16:07:39 +00:00
tobtoht
563898bdb5
Merge pull request #9886
65b1eb772 Fix cmake usage in FetchContent and ExternalProject (Lee Clagett)
2025-04-23 16:07:01 +00:00
tobtoht
cd19e661cb
Merge pull request #9889
b6ffb4c94 ci: run brew update (tobtoht)
2025-04-23 16:05:10 +00:00
tobtoht
9be4b92e89
Merge pull request #9892
de5a4a1cf guix: drop support for i686-linux-gnu (tobtoht)
2025-04-23 16:04:23 +00:00
tobtoht
e3cf0d4792
Merge pull request #9893
b1728a95a guix: unset HOST env variable (tobtoht)
2025-04-23 16:03:47 +00:00
tobtoht
bdc7898c4f
Merge pull request #9895
4877537a0 fix inconsistent casing in Dockerfile (menaceone)
2025-04-23 16:03:06 +00:00
tobtoht
a726f8231d
Merge pull request #9904
9d4dd0ef8 chore: fix some typos (tsinghuacoder)
2025-04-23 16:02:20 +00:00
tobtoht
cef67a7412
Merge pull request #9896
348ed19d9 guix: ask for confirmation before deleting files (tobtoht)
2025-04-22 13:32:42 +00:00
tsinghuacoder
9d4dd0ef8d chore: fix some typos
Signed-off-by: tsinghuacoder <tsinghuacoder@icloud.com>
2025-04-11 17:05:25 +08:00
tobtoht
348ed19d9c
guix: ask for confirmation before deleting files 2025-04-07 10:58:56 +02:00
menaceone
4877537a03
fix inconsistent casing in Dockerfile
Switch from lower case "as" to upper case "AS" to be consistent with the other keywords.
2025-04-06 22:31:15 +02:00
tobtoht
b1728a95a8
guix: unset HOST env variable 2025-04-06 21:40:39 +02:00
tobtoht
de5a4a1cf7
guix: drop support for i686-linux-gnu 2025-04-06 18:26:12 +02:00
tobtoht
3b01c49095
Merge pull request #9891
fc80dc6e9 guix: remove --user option (tobtoht)
2025-04-06 16:23:19 +00:00
tobtoht
fc80dc6e97
guix: remove --user option 2025-04-05 19:15:25 +02:00
tobtoht
b6ffb4c944
ci: run brew update 2025-04-03 15:33:16 +02:00
Lee Clagett
65b1eb7729 Fix cmake usage in FetchContent and ExternalProject 2025-04-02 16:55:12 -04: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
jeffro256
f728c963c1
CMakeLists: add cache option for MANUAL_SUBMODULES 2025-03-28 13:14:06 -05:00
SNeedlewoods
c848e21c43 fix: multisig stale data after failed refresh 2025-03-28 12:48:38 +01:00
tobtoht
b81b387606
easylogging: replace NULL with empty string literal 2025-03-27 10:48:51 +01: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
iamamyth
cb91dcee36 tests: Speed up p2p reorg test
Use a fixed, 240s deadline for the daemons to reach agreement and poll
with a suitable frequency (.25s), rather than polling up to 100 times at
roughly 10s intervals.
2025-03-24 11:18:57 -07:00
tobtoht
7ea8bcdc91
Merge pull request #9808
446d9622f logging: Generalize terminal color detection (iamamyth)
2025-03-24 14:06:18 +00:00
iamamyth
446d9622f8 logging: Generalize terminal color detection
Assume the terminal supports color codes if TERM ends with `-color` or
`-256color`, rather than special-casing a handful of such terminals.

Add tests for terminal color detection.

Co-authored-by: laanwj <126646+laanwj@users.noreply.github.com>
2025-03-24 11:07:33 -07:00
tobtoht
9b2031d244
Merge pull request #9861
55e6ba49c Fix expected hash check (Lee *!* Clagett)
2025-03-24 13:59:18 +00:00
Lee *!* Clagett
55e6ba49cb Fix expected hash check 2025-03-24 10:56:53 -04:00
tobtoht
84685492e6
Merge pull request #9840
8024d43e6 trezor: fix cmake variables (ComputeryPony)
2025-03-24 03:27:14 +00:00
tobtoht
642db87007
Merge pull request #9791
ef509e1c0 ci: introduce rust toolchain (tobtoht)
2025-03-24 03:26:20 +00:00
tobtoht
902b664e26
Merge pull request #9821
665316708 Fix HTTP unit tests (broken with new Boost versions) (Lee *!* Clagett)
2025-03-24 03:05:09 +00:00
tobtoht
f2d765afc4
Merge pull request #9809
8c43e33e3 logging: Fix easylogging++ init with blank config (iamamyth)
2025-03-24 03:02:46 +00: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
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
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