Commit Graph

460 Commits

Author SHA1 Message Date
tobtoht
366eb60ee3
cmake: boost: fix header-only library search, bump minimum 2024-10-13 15:26:22 +02:00
jeffro256
65568d3a88
build: fix build with Boost 1.85 and remove instances of viewkey logging [RELEASE]
1. Use std::is_standard_layout and std::is_trivially_copyable instead of std::is_pod for KV byte-wise serialization, which fixes compile issue for Boost UUIDs
2. Removed reimplementation of std::hash for boost::uuids::uuid
3. Removed << operator overload for crypto::secret_key
4. Removed instances in code where private view key was dumped to the log in plaintext

Release version of #9450, containing C++14 modified assertions
2024-09-10 16:07:36 -05:00
SChernykh
f698f2b708 Refactored rx-slow-hash.c
- Straight-forward call interface: `void rx_slow_hash(const char *seedhash, const void *data, size_t length, char *result_hash)`
- Consensus chain seed hash is now updated by calling `rx_set_main_seedhash` whenever a block is added/removed or a reorg happens
- `rx_slow_hash` will compute correct hash no matter if `rx_set_main_seedhash` was called or not (the only difference is performance)
- New environment variable `MONERO_RANDOMX_FULL_MEM` to force use the full dataset for PoW verification (faster block verification)
- When dataset is used for PoW verification, dataset updates don't stall other threads (verification is done in light mode then)
- When mining is running, PoW checks now also use dataset for faster verification
2022-12-14 07:21:00 +01:00
AgoraDesk / LocalMonero
8c53995a88 Fix static builds for Ubuntu 22.04
Link libbsd, libmd, libprotokit for ZMQ to fix static builds for Ubuntu 22.04
2022-11-16 12:08:04 -05:00
anon
3be1dbd096 connection: fix implementation 2022-07-05 22:33:34 -07:00
mj-xmr
9c42b728ba
CMake: Add missing BUILD_SHARED_LIBS option 2022-04-10 21:25:45 +02:00
mj-xmr
da9aa1f7f8
Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
luigi1111
c1e7e97cea
Merge pull request #8117
505b382 cmake: enable build on riscv{64, 32} (Xeonacid)
2022-01-24 15:14:38 -05:00
Xeonacid
505b38260c cmake: enable build on riscv{64, 32}
tested on Arch Linux RISC-V.
2021-12-22 15:43:44 +08:00
SerHack
6366187cf3 Fixed warnings for Clang (used as CMAKE_CXX compiler) 2021-12-19 03:16:53 -08:00
luigi1111
a723f25041
Merge pull request #8054
a491175 cmake: fix incorrect else syntax (selsta)
2021-11-30 17:03:23 -05:00
selsta
a491175f7d
cmake: fix incorrect else syntax 2021-11-10 00:33:16 +01:00
selsta
94dc19a8b3
cmake: remove including non-existent directory 2021-10-28 14:30:35 +02:00
luigi1111
7f1a44679c
Merge pull request #7971
b00e21d cmake: set cpp14 standard (selsta)
2021-10-17 23:33:33 -05:00
luigi1111
c458d5fe40
Merge pull request #7989
9cd7aa6 cmake: don't optimize debug build (selsta)
2021-10-11 13:05:25 -05:00
selsta
9cd7aa60f0
cmake: don't optimize debug build 2021-10-04 02:30:34 +02:00
selsta
bc167a1738
cmake: fix copy/paste typo 2021-09-25 06:28:41 +02:00
selsta
b00e21dccc
cmake: set cpp14 standard
It's 2021, we can easily switch to C++14 without any troubles.
2021-09-25 06:22:12 +02: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
luigi1111
4120098e09
Merge pull request #7942
5617a29 unbound: remove leftovers (selsta)
2021-09-23 22:22:00 -05:00
luigi1111
60eddc566e
Merge pull request #7917
167cbdf CMake: Add missing SANITIZE option (mj-xmr)
2021-09-23 22:15:55 -05: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
selsta
5617a292ee
unbound: remove leftovers 2021-09-15 07:32:19 +02:00
luigi1111
2a02cd0a5f
Merge pull request #7773 from selsta/unbound
external: remove unbound submodule
2021-09-09 15:13:06 -04:00
selsta
ae85ec0285
external: remove unbound submodule 2021-09-03 07:47:35 +02:00
mj-xmr
167cbdf870
CMake: Add missing SANITIZE option 2021-09-02 16:28:19 +02:00
luigi1111
4ada08ad9a
Merge pull request #7847
0a021c3 CMake: document -Werror for add_c_flag_if_supported() from #7718 (mj-xmr)
2021-08-26 21:11:37 -04:00
luigi1111
460fd4c80a
Merge pull request #7816
29296d5 cmake: fix double build (selsta)
2021-08-11 22:39:06 -04:00
mj-xmr
0a021c3bd1
CMake: document -Werror for add_c_flag_if_supported() from #7718 2021-08-11 19:53:20 +02:00
moneromooo-monero
90d6bed804
cmake: bodge cmake failure on OSS-Fuzz 2021-07-31 19:22:57 +00:00
selsta
29296d5d52
cmake: fix double build
Co-authored-by: perfect-daemon
2021-07-28 15:02:12 +02:00
selsta
055657241d
cmake: don't forbid undefined symbols on openbsd 2021-07-28 01:18:10 +02:00
luigi1111
8a845f5dc8
Merge pull request #7718
9c0e681 cmake: treat warnings as error in compiler flag tests (selsta)
2021-07-27 16:54:36 -04:00
anon
df40d1dc73
cmake: export all symbols 2021-07-13 08:00:22 +02:00
anon
fe76d7dee7
cmake: fix undefined symbols and multiple definitions 2021-07-13 08:00:20 +02:00
anon
14be80f992
cmake: forbid undefined symbols 2021-07-13 07:59:49 +02:00
mj-xmr
41297c10f0
CMake: strip targets (optional) with -D STRIP_TARGETS=ON 2021-06-11 21:19:37 +02:00
luigi1111
f85cab6750
Merge pull request #7481
430b758 Warnings: add warnings as errors: 'switch' & 'return-type' (mj-xmr)
2021-06-10 11:19:11 -05:00
luigi1111
25bbb26f63
Merge pull request #7416
b4fe7c2 epee linkage dynamic; move monero_add_library to main CMakeLists.txt (mj-xmr)
2021-06-10 11:18:26 -05:00
luigi1111
e8bf9003dd
Merge pull request #7726
0f45211 CMake: add *.inl to monero_find_all_headers() glob, along *.h* (mj-xmr)
2021-06-01 22:11:04 -05:00
luigi1111
45007f35cf
Merge pull request #7689
f93db0d clang: fix -pie flag (selsta)
2021-06-01 22:05:45 -05:00
mj-xmr
0f45211c6b
CMake: add *.inl to monero_find_all_headers() glob, along *.h* 2021-05-14 15:29:57 +02:00
luigi1111
b7ee587ddb
Merge pull request #7691
cbd54ea cmake: set 3.5 as minimum version (selsta)
2021-05-12 16:59:17 -05:00
selsta
9c0e681dc9
cmake: treat warnings as error in compiler flag tests 2021-05-12 21:55:32 +02:00
luigi1111
ac87ac19b2
Merge pull request #7665
15e6275 CMake: new macro - finding all headers (extract from epee) (mj-xmr)
2021-05-12 14:39:39 -05:00
selsta
cbd54ea524
cmake: set 3.5 as minimum version 2021-04-27 11:02:05 +02:00
selsta
f93db0d46a
clang: fix -pie flag 2021-04-27 09:52:34 +02:00
mj-xmr
b4fe7c2401 epee linkage dynamic; move monero_add_library to main CMakeLists.txt 2021-04-24 09:45:51 +02:00
mj-xmr
15e627569b CMake: new macro - finding all headers (extract from epee) 2021-04-16 09:28:43 +02: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