Commit Graph

6188 Commits

Author SHA1 Message Date
TheCharlatan 30531812de
Disable stack unwinding for mingw32 depends build. 2018-09-26 03:27:12 +03:00
TheCharlatan 40ef32a937
Modify depends for monero's dependencies
Add readline, ldns, graphviz, unbound to depends packages

Add a cmake toolchain file to depends that is uniquely created for every build and placed in triple/share/toolchain.cmake
This file is then passed to cmake with -DCMAKE_TOOLCHAIN_FILE=/path/to/triple/share/toolchain.cmake

Add the boost locale package to depends

In the depends cmake toolchain file, a DEPENDS flag is added
to exclude, or change cmake checks done that are required for depends

Link miniupnpc and unwind from depends and not external

Add libiconv and icu4c to depends, required for mingw32 builds.

Headers (winsock) need to be lower case in order to compile on unix systems.
This should not affect building on windows.
2018-09-26 03:26:42 +03:00
TheCharlatan 82c224ffa8
Initial depends addition
Depends cross compiles project dependencies for linux, mac and windows and multiple architectures.
Depends is original work by Cory Fields and used in bitcoin and a wide range of bitcoin related projects.
2018-09-26 03:26:14 +03:00
Howard Chu 177148468a
Fix missing std::runtime_error def in difficulty.cpp 2018-09-26 03:24:00 +03:00
moneromooo-monero 3da82f51bc
epee: fix invalid memory write reading an array entry
Reported by Lilith Wyatt at Talos.

Since this is not needed in normal operation, I just let this
error out.
2018-09-25 17:38:35 +03:00
moneromooo-monero d430c95579
epee: fix stack overflow on crafted input 2018-09-25 17:38:21 +03:00
moneromooo-monero 506526267f
wallet2: fix duplicate output making it to the RPC 2018-09-25 17:38:05 +03:00
wowario 1f3b9f3547
add bitmessage chan 2018-09-24 11:36:22 +03:00
wowario 90bf824624
set difficulty fork height and guess 2018-09-24 11:21:47 +03:00
Lee Clagett fe9989d6df
cryptonote tweak v2.2 2018-09-21 12:34:08 +03:00
moneromooo-monero 02b0bf7997
wallet2: fix secondary partially signed multisig txes 2018-09-21 02:39:01 +03:00
wowario 8990b433aa
update testnet ips 2018-09-21 02:39:01 +03:00
moneromooo-monero 2288961711
wallet2: fix bulletproof cold signing
Cold signing was always using Borromean range proofs, causing
a larger tx, and an incorrect fee
2018-09-21 02:39:00 +03:00
moneromooo-monero c579994530
password: flush cout when prompting for password without newline 2018-09-21 02:39:00 +03:00
moneromooo-monero 5a0de0115d
cryptonote_protocol_handler: log when dropping a peer 2018-09-21 02:39:00 +03:00
moneromooo-monero 1959297a1e
blockchain: avoid duplicate db query for height 2018-09-21 02:39:00 +03:00
moneromooo-monero d11f4fb80d
epee: fix include for ofstream 2018-09-21 02:38:59 +03:00
moneromooo-monero 320c45144d
abstract_tcp_server2: fix race on shutdown 2018-09-21 02:38:59 +03:00
moneromooo-monero c0f02c85b5
add and use constant time 32 byte equality function 2018-09-21 02:38:59 +03:00
wowario 993a55246e
update checkpoints 2018-09-21 02:38:59 +03:00
wowario c2c5d584d1
correct reference to mixin 2018-09-21 02:38:59 +03:00
thomasvaughan 37f9a97b0a
NetBSD support 2018-09-21 02:38:59 +03:00
iDunk5400 ad56d914f3
Windows: don't preset CMAKE_SYSTEM_NAME
Let it be autodiscovered instead to avoid cmake thinking it's crosscompiling builds where host = target. This resolves a cmake configure error in MSYS2 caused by CMAKE_CROSSCOMPILING checks in #4294.
2018-09-21 02:38:58 +03:00
iDunk5400 67571e7ba5
Windows: fix undefined references after unbound submodule update 2018-09-21 02:38:58 +03:00
MoroccanMalinois 33adb9b1dc
Build: Fix target release-static-android 2018-09-21 02:38:58 +03:00
MoroccanMalinois ec6b93e4ca
Translations: handle cross compiling 2018-09-21 02:38:58 +03:00
iDunk5400 1c18b27021
CMakeLists.txt: disable -fstack-protector* on windows
Current GCC produces broken binaries with these options
2018-09-21 02:38:57 +03:00
moneromooo-monero 8bbef9d942
CMakeLists.txt: add -mmitigate-rop to security flags if found
This is GCC/x86/x86_64 only
2018-09-21 02:38:57 +03:00
moneromooo-monero 7605881b73
gtest: use -fPIC with CLANG too 2018-09-21 02:38:57 +03:00
anonimal c7a227b3bf
Build: bump miniupnp to 2.1 2018-09-21 02:38:56 +03:00
anonimal a42e49f1d7
Build: bump unbound to 1.7.3 2018-09-21 02:38:56 +03:00
anonimal 84df545d7f
Build: bump rapidjson to 129d19b
Includes various rapidjson fixes.
2018-09-21 02:38:56 +03:00
moneromooo-monero e1c3d0cc76
db_lmdb: demote the "batch already enabled" log, it's harmless 2018-09-21 02:38:55 +03:00
SChernykh 40573dd79c
Cryptonight variant 2
Contains two modifications to improve ASIC resistance: shuffle and integer math.

Shuffle makes use of the whole 64-byte cache line instead of 16 bytes only, making Cryptonight 4 times more demanding for memory bandwidth.

Integer math adds 64:32 bit integer division followed by 64 bit integer square root, adding large and unavoidable computational latency to the main loop.

More details and performance numbers: https://github.com/SChernykh/xmr-stak-cpu/blob/master/README.md
2018-09-21 02:38:55 +03:00
wowario 1f8b0ddc83
up version to v0.3.0.0 2018-09-21 02:38:55 +03:00
wowario ec5530a86a
static ring size 22 from v9 2018-09-21 02:38:55 +03:00
wowario bc48be0cdd
CN2 PoW from v9 2018-09-21 02:38:55 +03:00
fuwa f4a2968a51
clean up defaultMixin for wallet api 2018-09-21 02:38:55 +03:00
wowario 545b09eaf7
Captain obvious warning 2018-09-21 02:38:55 +03:00
fuwa 4c2efffdc5
remove unused default mixin from wallet.cpp 2018-09-21 02:38:54 +03:00
wowario 95cf3bebbe
add LWMA v2 2018-09-21 02:38:38 +03:00
wowario 9f192fd188
Update mainnet timestamp 2018-09-18 01:26:15 +03:00
wowario 0e61004d0b
wallet2: adapt get_approximate_blockchain_height 2018-09-18 01:25:30 +03:00
wowario b101ac4f7b
modify unit name 2018-09-18 01:24:24 +03:00
wowario 0c681083ca
Add submodule init and update to cmake 2018-09-18 01:24:11 +03:00
jwinterm 7b3269b8ae
Add stoffu fixes to rename 2018-09-18 01:23:57 +03:00
wowario b6c3926287
update donation address 2018-09-18 01:23:25 +03:00
wowario f58de1e817
refactor mixin condition 2018-09-18 01:21:07 +03:00
wowario 4a55d6eaea
static mixin 2018-09-18 01:20:56 +03:00
wowario 1611b65221
set static ring size 2018-09-18 01:19:47 +03:00