Commit Graph

367 Commits

Author SHA1 Message Date
Dusan Klinec
c444a7e002
trezor: support v2.5.2+, add more trezor tests, fix chaingen and tests
- passphrase logic: remove backward compatibility for 2.4.3, code cleanup.
- fix LibUSB cmake for static builds on OSX
- tests: all tests now work with passphrase logic enabled. Passphrase test added with different passphrase. no_passphrase test added, Trezor pin test added. Testing wallet opening with correct and incorrect passphrase. Trezor test chain revamp, cleanup. Smaller chain, chain file versioning added.
- tests: Trezor tests support TEST_MINING_ENABLED, TEST_MINING_TIMEOUT env vars to change mining-related tests behaviour.
- requires protobuf@21 on osx for now (c++14), building with unlinked protobuf: `CMAKE_PREFIX_PATH=$(find /opt/homebrew/Cellar/protobuf@21 -maxdepth 1 -type d -name "21.*" -print -quit) \
make debug-test-trezor -j8`
2023-09-30 09:01:10 +02:00
luigi1111
9bf06ea75d
Merge pull request #8698
5b4fea7 Copyright: Update to 2023 (mj-xmr)
2023-04-25 11:12:56 -04:00
mj-xmr
5b4fea72cf Copyright: Update to 2023
Co-authored-by: plowsof <plowsof@protonmail.com>
extra files
2023-01-16 13:00:18 +01:00
moneromooo-monero
bfd7c00ced
heed NO_COLOR environment variable 2023-01-01 10:24:46 +00:00
selsta
85e697fa7b
randomx: update submodule 2022-07-24 17:38:59 +02:00
luigi1111
aa0b4fc7cc
Merge pull request #8358
fb3f7ce clang warning fix for #8338 (Jeffrey Ryan)
2022-07-03 17:28:13 -05:00
luigi1111
30a9183091
Merge pull request #7774
ade464a ITS#9385 fix using MDB_NOSUBDIR with nonexistent file (Kris Zyp)
033a32a Remove check is_directory check on lmdb path (Howard Chu)
b096e16 Revert 'db_lmdb: test for mmap support at init time' (Howard Chu)
493577a Silence spurious fallthru warning (Howard Chu)
b46a60e Fix rawpart flag collision (Howard Chu)
4e7586c More RAWPART support (Howard Chu)
747f5d3 Preliminary raw partition support (Howard Chu)
2022-07-03 17:24:47 -05:00
Kris Zyp
ade464a5a0
ITS#9385 fix using MDB_NOSUBDIR with nonexistent file 2022-06-03 16:46:59 +01:00
Howard Chu
493577a6cd
Silence spurious fallthru warning 2022-06-03 16:46:18 +01:00
Howard Chu
b46a60e390
Fix rawpart flag collision 2022-06-03 16:46:04 +01:00
Howard Chu
4e7586c9e4
More RAWPART support
Use mmap to read and initialize the meta pages, raw device
may not support read/write syscalls.
2022-06-03 16:45:49 +01:00
Howard Chu
747f5d3594
Preliminary raw partition support
Autodetects that a block device is being used.
2022-06-03 16:45:39 +01:00
Jeffrey Ryan
fb3f7cebbf clang warning fix for #8338
Unlike some other warnings, clang does not have a `stringop-overflow` group so it doesn't recognize the `#pragma GCC ...` directive in #8338
2022-05-27 20:27:46 -05:00
Jeffrey Ryan
5858f05f9b GCC: Fix -Wstringop-overflow= warnings
Resolves #8320
2022-05-16 19:13:02 -05:00
Howard Chu
c1d47eb476
Update randomx: fix Mac linking error
Also silence randomx malloc exceptions
2022-05-10 21:05:55 +01:00
selsta
c68d78dde0
randomx: update submodule 2022-04-06 07:22:14 +02:00
Jethro Grassie
22b891c80e
Update RandomX 2021-11-20 00:01:30 -05:00
tevador
e0a5dce14f Update RandomX to v1.1.10 2021-11-08 20:51:50 +01:00
luigi1111
6b824c9ed0
Merge pull request #7945
4afd9a7 cmake: set required C/C++ standard to 11 (selsta)
2021-09-23 22:22:42 -05:00
moneromooo-monero
807cbcdbf8
easylogging++: fix missing logs 2021-09-23 20:29:22 +00:00
selsta
4afd9a7a9e
cmake: set required C/C++ standard to 11
Co-authored-by: Jason Rhinelander <jason@imaginary.ca>
2021-09-16 10:44:25 +02:00
luigi1111
acfe3f8ded
Merge pull request #7828
b2c59af EasyLogging++: new anti-UB test and propagating exception (mj-xmr)
2021-09-09 15:16:06 -04:00
selsta
ae85ec0285
external: remove unbound submodule 2021-09-03 07:47:35 +02:00
mj-xmr
b2c59af84d
EasyLogging++: new anti-UB test and propagating exception 2021-08-03 17:10:21 +02:00
luigi1111
e028591336
Merge pull request #7380
8889f49 easylogging++: fix potential memory corruption (moneromooo-monero)
2021-06-24 13:57:53 -05:00
luigi1111
4e07c8cbbc
Merge pull request #7733
cd8901c randomx: bump submodule to v1.1.9 (selsta)
2021-06-16 14:39:51 -05:00
selsta
cd8901cc01
randomx: bump submodule to v1.1.9 2021-05-22 23:12:23 +02:00
mj-xmr
a4a154b0e2
CMake: glob missing headers for easylogging 2021-05-14 14:18:16 +02:00
selsta
cbd54ea524
cmake: set 3.5 as minimum version 2021-04-27 11:02:05 +02:00
luigi1111
215976beba
Merge pull request #7656
5fe22ac ITS#9496 fix mdb_env_open bug from #8704 (hyc)
2021-04-22 01:43:18 -04:00
luigi1111
6d7bb2b8ba
Merge pull request #7643
19ed7ab Test: Enable coverage for external repositories (mj-xmr)
2021-04-22 01:34:26 -04:00
luigi1111
4ca80bd312
Merge pull request #7641
a16328e easylogging++: in place log sanitization (moneromooo-monero)
2021-04-16 12:49:00 -05:00
Howard Chu
5fe22ac766
ITS#9496 fix mdb_env_open bug from #8704
Broken in 9c6eb75c65
2021-04-09 14:21:15 +01:00
mj-xmr
19ed7abdf9 Test: Enable coverage for external repositories
Add monero_enable_coverage() for reuse in case C/CXX_FLAGS are overwritten.
2021-04-01 19:50:54 +02:00
luigi1111
08f6d0e185
Merge pull request #7439
0f2b5af Reduced executable size; reduced call sequence to 'allowed' log function (Lee Clagett)
2021-03-29 22:39:31 -04:00
moneromooo-monero
a16328e853
easylogging++: in place log sanitization
saves an object ctor/dtor per log
2021-03-29 22:26:46 +00:00
Howard Chu
ab5f0ec37a
ITS#9500 fix regression from ITS#8662
mdb_load -a patch broke overwriting with MDB_CURRENT
2021-03-23 20:51:19 +00:00
luigi1111
1b11820187
Merge pull request #7361
935bfaa ITS#9007 don't free loose writemap pages (Kris Zyp)
2021-02-18 14:08:20 -05:00
moneromooo-monero
8889f490ce
easylogging++: fix potential memory corruption
The m_typedConfigurations pointer is copied from one object to the next,
but deleted in the dtor, leading to potential double free. It is also
deleted first thing in the copy ctor, deleting uninitialized memory.

This does not seem to actually happen in practice (those functions do
not get called), but seems safer that way.

Coverity 1446562
2021-02-16 09:43:18 +00:00
Kris Zyp
935bfaa913
ITS#9007 don't free loose writemap pages
Broken in ITS#8756
2021-02-01 16:09:08 +00:00
Lee Clagett
0f2b5af0dd Reduced executable size; reduced call sequence to "allowed" log function 2021-01-16 22:55:41 +00:00
selsta
576bb88628
miniupnp: set submodule to upstream, disable install 2021-01-12 17:14:58 +01:00
moneromooo-monero
1b9fe0761c
Revert "unbound: update to get build fixes"
This reverts commit 541a7c81a1.

It breaks the depends build
2020-09-06 18:15:52 +00:00
moneromooo-monero
541a7c81a1
unbound: update to get build fixes 2020-09-06 11:47:55 +00:00
luigi1111
a70374d3e6
Merge pull request #6782
c3f9913 supercop: update submodule (selsta)
2020-08-31 16:51:44 -05:00
Alexander Blair
8aaeff46ee
Merge pull request #6766
12ffc79b2 qrcodegen: fix compilation with old gcc, use modern cmake (selsta)
2020-08-27 03:04:10 -07:00
selsta
c3f991332f
supercop: update submodule 2020-08-27 01:22:15 +02:00
Alexander Blair
d73b1b6560
Merge pull request #6727
13eee1d6a rpc: reject wrong sized txid (moneromooo-monero)
92e6b7df2 easylogging++: fix crash with reentrant logging (moneromooo-monero)
6dd95d530 epee: guard against exceptions in RPC handlers (moneromooo-monero)
90016ad74 blockchain: guard against exceptions in add_new_block/children (moneromooo-monero)
2020-08-16 12:55:25 -07:00
Alexander Blair
65d7d8312d
Merge pull request #6712
01cd3d934 For NetBSD, add instructions to README.md and define to ea_config.h (thomasvaughan)
2020-08-16 12:51:41 -07:00
Alexander Blair
d3e611fda2
Merge pull request #6698
a3933a2a5 Update RandomX to v1.1.8 (tevador)
2020-08-16 12:50:26 -07:00