12193 Commits

Author SHA1 Message Date
jeffro256
0fc5e87f2c
cryptonote_core: rm confusing/redundant BP consensus rule
This rule is confusing/redundant because before v8, no
bulletproofs whatsoever were allowed. And during and after
v8, ONLY multi-output bulletproofs were allowed, i.e.
exactly 1 bulletproof is allowed which proves the range of
all amount commitments in the transaction.

Sources:
  * No BP before v8:
    - d32b5bfe18/src/cryptonote_core/blockchain.cpp (L3021-L3032)
  * Only 1 BP allowed:
    - d32b5bfe18/src/cryptonote_basic/cryptonote_format_utils.cpp (L174)
    - d32b5bfe18/src/cryptonote_basic/cryptonote_format_utils.cpp (L150)
  * BP must cover all outputs:
    - d32b5bfe18/src/cryptonote_basic/cryptonote_format_utils.cpp (L190-L194)
    - d32b5bfe18/src/cryptonote_basic/cryptonote_format_utils.cpp (L166-L170)
2025-10-09 15:57:54 -05:00
tobtoht
b591866fcf
Merge pull request #10065
179c924 Fix logging lock, future optimizations may needed (Lee *!* Clagett)
2025-09-24 20:53:02 +00:00
tobtoht
a0c144a436
Merge pull request #10072
b74ca72 cmake: set minimum to 3.10 to fix warnings (selsta)
2025-09-24 20:51:22 +00:00
tobtoht
1d9a201980
Merge pull request #10088
dc759e8 minimal changes to remove improper binding to temporary variable (dabbonda)
2025-09-24 20:50:55 +00:00
tobtoht
ef38c7cc6d
Merge pull request #10089
92c8bd5 remove 66.85.74.134 as seed node (Gingeropolous)
2025-09-24 20:50:06 +00:00
tobtoht
79922e1215
Merge pull request #10091
935f2d2 cryptonote_core: `--dns-versions-check` is deprecated (nahuhh)
2025-09-24 20:49:12 +00:00
tobtoht
42d127a7bb
Merge pull request #10100
5860b43 tests: only enable fuzz testing if ENABLE_FUZZ_TEST defined (0xFFFC0000)
2025-09-24 20:48:00 +00:00
0xFFFC0000
5860b43d94 tests: only enable fuzz testing if ENABLE_FUZZ_TEST defined 2025-09-24 12:05:00 +00:00
nahuhh
935f2d20ec cryptonote_core: --dns-versions-check is deprecated 2025-09-21 18:52:25 +00:00
dabbonda
dc759e89f9 minimal changes to remove improper binding to temporary variable 2025-09-21 12:36:28 -04:00
Gingeropolous
92c8bd53a4
remove 66.85.74.134 as seed node
remove 66.85.74.134 as seed node. bastards doubled the price of the server.
2025-09-21 10:04:28 -04:00
tobtoht
8d4c625713
Merge pull request #10004
36bdfad rpc-fuzz: Add new fuzzers for RPC endpoints (Arthur Chan)
2025-09-09 17:39:15 +00:00
Arthur Chan
36bdfad073
rpc-fuzz: Add new fuzzers for RPC endpoints
Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>

Add macro definition for fuzzers

Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>

Fix FuzzedDataProvider header missing problem

Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>

Add README

Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>

Provide static FuzzedDataProvider.h

Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>

Update and enhance fuzzer

Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>

Activate UBSan

Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>

Fix fuzz target retrieval

Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>

Remove bias selector and fix protocol lifespan

Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>

Drop SIGALARM handling and fix bug on selectors

Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>

Fix rpc request changes

Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>

Add a new fuzzer profile that catch all expcetions

Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>

Fix typo

Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>

Add warning

Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>
2025-09-08 18:35:55 +00:00
tobtoht
d8853474f7
Merge pull request #10069
0b1b9f7 CMake: fix msys/ICU compilation failure (0xFFFC0000)
2025-09-08 18:16:45 +00:00
selsta
b74ca72bad
cmake: set minimum to 3.10 to fix warnings 2025-09-08 20:12:45 +02:00
tobtoht
8259df0d1d
Merge pull request #9860
dbc8402 wallet: fix wallet_keys_unlocker (jeffro256)
2025-09-08 18:08:22 +00:00
0xFFFC0000
0b1b9f7eec CMake: fix msys/ICU compilation failure 2025-09-07 19:19:28 +00:00
jeffro256
dbc8402da6
wallet: fix wallet_keys_unlocker
Fix four issues with wallet_keys_unlocker:
1. It won't decrypt if there are unlockers open simulataneously on multiple `wallet2` instances
2. It won't decrypt if the first unlocker was disabled (i.e. `locked=false`), even with a second non-disabled unlocker
3. If a destructor of an earlier unlocker is triggered before the destructor of a later unlocker, it will re-encrypt too early, while the second unlocker is still in scope
4. Calling the 3-parameter constructor with `locked=true` after an unlocker already exists will "double-encrypt"  the spend key after its destructor since the local variable is `locked=false` and the field member is `locked=true`

Also, replace `wallet2::decrypt_account_for_multisig` with `wallet_keys_unlocker`.
2025-09-04 15:43:38 -05:00
Lee *!* Clagett
179c924c51 Fix logging lock, future optimizations may needed 2025-09-02 11:18:45 -04:00
tobtoht
7fe199facc
Merge pull request #10061
a764f5a ci: macos: reinstall cmake (tobtoht)
2025-08-30 17:45:08 +00:00
tobtoht
a764f5a42a
ci: macos: reinstall cmake 2025-08-30 19:14:34 +02:00
tobtoht
0229f6fdde
Merge pull request #10046
a5b2ad0 BlockchainLMDB: do not assume alignment for alt block entries (jeffro256)
2025-08-30 17:08:26 +00:00
tobtoht
07dcc49bd7
Merge pull request #10056
ca48432 epee: only parse valid port (selsta)
2025-08-30 17:07:20 +00:00
tobtoht
bdce2fe089
Merge pull request #10060
57c40b8 functional_tests: fix piecemeal export in cold_signing, part 2 (jeffro256)
2025-08-29 16:41:00 +00:00
selsta
ca484323c3
epee: only parse valid port
Reported by hacksandhops and Ada Logic.
2025-08-29 11:45:02 +02:00
jeffro256
57c40b8993
functional_tests: fix piecemeal export in cold_signing, part 2
Do not mark output import as done if exception is thrown for output being past last imported output.
2025-08-26 15:38:25 -05:00
tobtoht
09bb3705e0
Merge pull request #10053
22433f8 functional_tests: fix piecemeal export in cold_signing (jeffro256)
2025-08-23 14:26:17 +00:00
jeffro256
22433f8414
functional_tests: fix piecemeal export in cold_signing
The `while` loop condition was incorrect, which could lead to incomplete imports.
Also, setting `start` to an *undone* output speeds up the test by 16s on my machine.
2025-08-22 13:21:32 -05:00
tobtoht
a9b8a8a4b1
Merge pull request #10010
149ba26 guix: switch to guix shell (tobtoht)
2025-08-21 17:30:51 +00:00
tobtoht
5886c12af6
Merge pull request #9455
574c845 guix: use llvm 18 toolchain for darwin targets (tobtoht)
2025-08-21 17:30:02 +00:00
tobtoht
f93dd5e3ce
Merge pull request #10008
78b8c83 functional_tests: check transfers list consistency in cold_signing (jeffro256)
2025-08-21 17:28:00 +00:00
jeffro256
78b8c83fdf
functional_tests: check transfers list consistency in cold_signing 2025-08-21 11:34:58 -05:00
tobtoht
4e93cdc941
Merge pull request #9883
7b28be0 functional_tests: test PR #9863 (jeffro256)
2025-08-21 16:31:19 +00:00
tobtoht
c8f3566dbb
Merge pull request #10050
cc444a9 checkpoints: update to a recent block height (selsta)
2025-08-21 16:28:37 +00:00
tobtoht
f04668c13d
Merge pull request #10044
7cf7912 CONTRIBUTING.md: replace discontinued paste service (Leonardo Faoro)
2025-08-21 16:26:55 +00:00
tobtoht
a344bb5989
Merge pull request #10042
d979031 fix typo in CHECK_AND_ASSERT_MES (Leonardo Faoro)
2025-08-21 16:26:06 +00:00
tobtoht
099af33242
Merge pull request #10036
f61294d epee: include math header for upcoming Boost 1.89 (Michael Cho)
2025-08-21 16:25:25 +00:00
tobtoht
d5514ab6ee
Merge pull request #10033
681fee1 wallet: fix warning in fee priority algorithm (0xFFFC0000)
2025-08-21 16:24:52 +00:00
tobtoht
2633d1f24a
Merge pull request #10029
fb64bb3 Skip ping connections in outgoing count (Lee *!* Clagett)
2025-08-21 16:22:51 +00:00
tobtoht
da2c15b76e
Merge pull request #10026
613ee85 cryptonote_basic: remove state_idle in connection_context (jeffro256)
2025-08-21 16:22:13 +00:00
tobtoht
c6524eecd1
Merge pull request #10025
a8959f2 Daemon RPC: rm high_height_ok field from getblocks.bin (j-berman)
2025-08-21 16:21:37 +00:00
tobtoht
c9db24a010
Merge pull request #10017
d527fd5 simplewallet: fix payment id header in show_transfers command (ComputeryPony)
2025-08-21 16:21:08 +00:00
tobtoht
563a5b1a7d
Merge pull request #10007
5e54c72 wallet: RPC method /incoming_transfers without daemon connection (jeffro256)
2025-08-21 16:20:37 +00:00
tobtoht
6dc7b1f8fb
Merge pull request #9921
90256c8 error out if functional tests are disabled (Crypto City)
2025-08-21 16:19:30 +00:00
tobtoht
a8b5ae6dd2
Merge pull request #9919
06b74ae ringct & cryptonote_basic: detangle dependencies (jeffro256)
2025-08-21 16:18:14 +00:00
jeffro256
a5b2ad04c5
BlockchainLMDB: do not assume alignment for alt block entries 2025-08-20 23:23:48 -05:00
selsta
cc444a937d
checkpoints: update to a recent block height 2025-08-20 18:40:18 +02:00
Leonardo Faoro
7cf7912bf0 CONTRIBUTING.md: replace discontinued paste service
fpaste.org has been seized by someone else and now links to a spam website, replaced it w/ a stable and reputable alternative (gnu.cat)

CONTRIBUTING.md: replace paste service

removed gnu.cat
added paste.debian.org
based on community usage and familiarity with the debian paste service
2025-08-18 21:49:51 +03:00
Leonardo Faoro
d979031977
fix typo in CHECK_AND_ASSERT_MES 2025-08-17 01:56:04 +00:00
0xFFFC0000
681fee125a wallet: fix warning in fee priority algorithm 2025-08-13 14:22:47 +00:00