Commit Graph
6202 Commits
Author SHA1 Message Date
moneromooo-moneroandwowario d63549a314 README: bump cmake requirement to 3.5, as required by miniupnpc 2018-09-26 13:19:45 +03:00
moneromooo-moneroandwowario 9b9522614e mlog: do not display http errors by default
They're controllable by potential attackers and would just spam
2018-09-26 13:17:50 +03:00
phloatingmanandwowario 46c05eb988 README: fill in libsodium package name for Arch
Rebased by moneromooo, with a sensible commit message
2018-09-26 13:16:12 +03:00
TheCharlatanandwowario baaf0f90f1 A Travis to monero
Add a Travis build script for Monero. This was blatantly copied from
Bitcoin. It spawns jobs in docker containers running an ubuntu bionic
image.

This commit also a fixes a problem where librt was still linked, even
when compiling statically.
2018-09-26 13:11:50 +03:00
TheCharlatanandwowario 58a260bfe4 Fix Darwin Sodium build
Clang needs to get its cctools path passed.
2018-09-26 13:08:46 +03:00
TheCharlatanandwowario 927f044e40 Fixup 32bit arm build
Set the architecture in the toolchain file correctly
2018-09-26 03:32:46 +03:00
TheCharlatanandwowario df364242a9 Fix Windows build
icu tex support is not required, so just disable it.
Re-add mistakingly removed crypt32 lib.
2018-09-26 03:32:18 +03:00
TheCharlatanandwowario 86f56d1463 Add libsodium to the packages, the arm build was complaining about it.
Fixup arm toolchain file.
2018-09-26 03:31:53 +03:00
TheCharlatanandwowario 1fe0fbdf64 Adapt translations to upstream changes 2018-09-26 03:31:32 +03:00
TheCharlatanandwowario 7280d63a48 Updated pcsc url 2018-09-26 03:30:55 +03:00
TheCharlatanandwowario 5244b6fe5c Add lrelease to the depends
This includes a minimal qt build without gui
2018-09-26 03:30:30 +03:00
TheCharlatanandwowario 427e74cb46 Add Miniupnp submodule
Drop miniupnp and unbound depends builds. Make sure that build variables are propageted properly to unbound and miniupnp.
Rebase to after the v0.12 release
2018-09-26 03:29:59 +03:00
TheCharlatanandwowario dfe5f94145 Unbound is now a submodule. Adapt depends for this.
Fix builds for native linux and windows

The architecture flag was set incorrectly.
It needs to be set only when compiling arm6.
2018-09-26 03:29:16 +03:00
TheCharlatanandwowario d55544036b Add support for apple and arm building
Add pcsc-lite to linux builds
Fixup windows icu4c linking with depends, the static libraries have an 's' appended to them
Compiling depends arm-linux-gnueabihf will allow you to compile armv6zk monero binaries
2018-09-26 03:27:34 +03:00
TheCharlatanandwowario 30531812de Disable stack unwinding for mingw32 depends build. 2018-09-26 03:27:12 +03:00
TheCharlatanandwowario 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
TheCharlatanandwowario 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 Chuandwowario 177148468a Fix missing std::runtime_error def in difficulty.cpp 2018-09-26 03:24:00 +03:00
moneromooo-moneroandwowario 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-moneroandwowario d430c95579 epee: fix stack overflow on crafted input 2018-09-25 17:38:21 +03:00
moneromooo-moneroandwowario 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 Clagettandwowario fe9989d6df cryptonote tweak v2.2 2018-09-21 12:34:08 +03:00
moneromooo-moneroandwowario 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-moneroandwowario 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-moneroandwowario c579994530 password: flush cout when prompting for password without newline 2018-09-21 02:39:00 +03:00
moneromooo-moneroandwowario 5a0de0115d cryptonote_protocol_handler: log when dropping a peer 2018-09-21 02:39:00 +03:00
moneromooo-moneroandwowario 1959297a1e blockchain: avoid duplicate db query for height 2018-09-21 02:39:00 +03:00
moneromooo-moneroandwowario d11f4fb80d epee: fix include for ofstream 2018-09-21 02:38:59 +03:00
moneromooo-moneroandwowario 320c45144d abstract_tcp_server2: fix race on shutdown 2018-09-21 02:38:59 +03:00
moneromooo-moneroandwowario 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
thomasvaughanandwowario 37f9a97b0a NetBSD support 2018-09-21 02:38:59 +03:00
iDunk5400andwowario 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
iDunk5400andwowario 67571e7ba5 Windows: fix undefined references after unbound submodule update 2018-09-21 02:38:58 +03:00
MoroccanMalinoisandwowario 33adb9b1dc Build: Fix target release-static-android 2018-09-21 02:38:58 +03:00
MoroccanMalinoisandwowario ec6b93e4ca Translations: handle cross compiling 2018-09-21 02:38:58 +03:00
iDunk5400andwowario 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-moneroandwowario 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-moneroandwowario 7605881b73 gtest: use -fPIC with CLANG too 2018-09-21 02:38:57 +03:00
anonimalandwowario c7a227b3bf Build: bump miniupnp to 2.1 2018-09-21 02:38:56 +03:00
anonimalandwowario a42e49f1d7 Build: bump unbound to 1.7.3 2018-09-21 02:38:56 +03:00
anonimalandwowario 84df545d7f Build: bump rapidjson to 129d19b
Includes various rapidjson fixes.
2018-09-21 02:38:56 +03:00
moneromooo-moneroandwowario e1c3d0cc76 db_lmdb: demote the "batch already enabled" log, it's harmless 2018-09-21 02:38:55 +03:00
SChernykhandwowario 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