anonimal
84c5a9ba48
Unbound: remove unbound from in-tree source
...
We'll instead use a git submodule to pull from our unbound repo.
6 years ago
stoffu
2ab66ff1d4
liblmdb: install lmdb library for wallet2_api usage
6 years ago
Howard Chu
b372ec4375
ITS#8324 More for Win32 NTDLL junk
...
Use GetProcAddress at runtime, avoid buildtime NTDLL link issues
6 years ago
Riccardo Spagni
666a76652b
Merge pull request #3187
...
851bd057
call _exit instead of abort in release mode (moneromooo-monero)
6 years ago
moneromooo-monero
851bd057ec
call _exit instead of abort in release mode
...
Avoids cores being created, as they're nowadays often piped
to some call home system
7 years ago
xmr-eric
18216f19dd
Update 2018 copyright
7 years ago
Riccardo Spagni
5f09d6c833
Merge pull request #3115
...
e8d773a0
unbound: always build with -fPIC (moneromooo-monero)
7 years ago
moneromooo-monero
e8d773a049
unbound: always build with -fPIC
7 years ago
moneromooo-monero
f65711a29b
miniupnpc: always build with -fPIC
...
since we now build PIE binaries
7 years ago
Riccardo Spagni
bfc0bd82dd
Merge pull request #3063
...
dff97112
easylogging++: do not use crash log code on android, etc (moneromooo-monero)
7 years ago
moneromooo-monero
dff97112c8
easylogging++: do not use crash log code on android, etc
7 years ago
moneromooo-monero
776b44f17b
Add misc hardening flags to the cmake machinery
...
See https://wiki.debian.org/Hardening#User_Space
7 years ago
Riccardo Spagni
8980aacbe8
Merge pull request #2940
...
da0fd71d
only include the easylogging++ stack trace code when needed (moneromooo-monero)
81b04cfa
easlogging++: omit some unneded macros (moneromooo-monero)
7 years ago
Riccardo Spagni
270236e8f4
Merge pull request #2996
...
1a271d25
unbound: enable SHA1 (moneromooo-monero)
7 years ago
moneromooo-monero
da0fd71d3e
only include the easylogging++ stack trace code when needed
7 years ago
moneromooo-monero
81b04cfa88
easlogging++: omit some unneded macros
7 years ago
Riccardo Spagni
2b00899bb2
Merge pull request #2920
...
bd5cce07
network_throttle: fix ineffective locking (moneromooo-monero)
e0a61299
network_throttle: remove unused xxx static member (moneromooo-monero)
24f584d9
cryptonote_core: remove unused functions with off by one bugs (moneromooo-monero)
b1634aa3
blockchain: don't leave dangling pointers in this (moneromooo-monero)
8e60b81c
cryptonote_core: fix db leak on error (moneromooo-monero)
213e326c
abstract_tcp_server2: log init_server errors as fatal (moneromooo-monero)
b51dc566
use const refs in for loops for non tiny types (moneromooo-monero)
f0568ca6
net_parse_helpers: fix regex error checking (moneromooo-monero)
b49ddc76
check accessing an element past the end of a container (moneromooo-monero)
2305bf26
check return value for generate_key_derivation and derive_public_key (moneromooo-monero)
a4240d9f
catch const exceptions (moneromooo-monero)
45a1c4c0
add empty container sanity checks when using front() and back() (moneromooo-monero)
56fa6ce1
tests: fix a buffer overread in a unit test (moneromooo-monero)
b4524892
rpc: guard against json parsing a non object (moneromooo-monero)
c2ed8618
easylogging++: avoid buffer underflow (moneromooo-monero)
187a6ab2
epee: trap failure to parse URI from request (moneromooo-monero)
061789b5
checkpoints: trap failure to load JSON checkpoints (moneromooo-monero)
ba2fefb9
checkpoints: pass std::string by const ref, not const value (moneromooo-monero)
38c8f4e0
mlog: terminate a string at last char, just in case (moneromooo-monero)
d753d716
fix a few leaks by throwing objects, not newed pointers to objects (moneromooo-monero)
fe568db8
p2p: use size_t for arbitrary counters instead of uint8_t (moneromooo-monero)
46d6fa35
cryptonote_protocol: sanity check chain hashes from peer (moneromooo-monero)
25584f86
cryptonote_protocol: print peer versions when unexpected (moneromooo-monero)
490a5d41
rpc: do not try to use an invalid txid in relay_tx (moneromooo-monero)
7 years ago
moneromooo-monero
1a271d25a1
unbound: enable SHA1
...
Fixes the unit test failure about SHA1 being unavailable,
and hopefully the monerod complaints about not being able
to verify DNSSEC.
Thanks to iDunk for the remote Windows testing.
7 years ago
dEBRUYNE-1
2018cf74a6
Fix Windows build
...
Fix no new line
7 years ago
moneromooo-monero
c2ed8618e4
easylogging++: avoid buffer underflow
7 years ago
ston1th
5cc8469332
easylogging: show the 'no stack trace' warning only once
...
If execinfo.h is not available, output the stack trace warning only once, so we don't spam the build logs with it.
7 years ago
Riccardo Spagni
55e2b5c0b0
Merge pull request #2844
...
8198f031
Add mdb_drop tool (Howard Chu)
7 years ago
Riccardo Spagni
d3785066d0
Merge pull request #2791
...
5b452248
fixed easylogging compile issue on OpenBSD (Dyrcona)
7 years ago
Howard Chu
8198f031f3
Add mdb_drop tool
7 years ago
Pavel Maryanov
a17efcb039
make this build on SunOS/Solaris
7 years ago
Riccardo Spagni
90d78b825a
Merge pull request #2730
...
ba1b89fb
Updated OpenBSD build instructions and fixed libressl linking issue (ston1th)
7 years ago
Riccardo Spagni
9d481f57f9
Merge pull request #2645
...
6bab9efe
debug utils: fix debug build: rm unused identifier (redfish)
b92d3f96
cmake: fix shared library build (redfish)
7 years ago
Dyrcona
5b452248a8
fixed easylogging compile issue on OpenBSD
...
Issue: #2575
Add ELPP_OS_OPENBSD macros to easylogging++.h so that it will build on
OpenBSD.
7 years ago
ston1th
ba1b89fbb7
Updated OpenBSD build instructions and fixed libressl linking issue
...
Issue: #2575
Build instructions for OpenBSD 6.2:
* boost (built with clang)
* cppzmq
Fixed a issue, where cmake was not able to find and link against libressl in unbound.
restored OpenBSD 5.8 build instructions
7 years ago
redfish
b92d3f96c0
cmake: fix shared library build
7 years ago
Howard Chu
0aa4cc8028
ITS#8339 Solaris 10/11 robust mutex fixes
...
Check for PTHREAD_MUTEX_ROBUST_NP definition (this doesn't work
on Linux/glibc because they used an enum). Zero out mutex before
initing.
7 years ago
Riccardo Spagni
3bab2676ec
Merge pull request #2512
...
792ba4f0
Log categories can now be added to and removed from (moneromooo-monero)
48f92eb6
easylogging++: add categories getter (moneromooo-monero)
f35afe62
epee: factor log level/categories setting (moneromooo-monero)
7 years ago
moneromooo-monero
48f92eb665
easylogging++: add categories getter
7 years ago
Howard Chu
2540d162be
Add -a append option to mdb_load
...
To allow reloading of custom-sorted DBs from mdb_dump
7 years ago
Riccardo Spagni
13a263894a
Merge pull request #2378
...
b338dad2
update miniupnpc (MaxXor)
7 years ago
Howard Chu
edda20146e
ITS#8728 fix MDB_VL32 freeing overflow page
...
Fix #2420
7 years ago
MaxXor
b338dad241
update miniupnpc
7 years ago
Howard Chu
0c6c3eb3f2
Silence stupid fallthru warning in gcc 7
7 years ago
Howard Chu
9c6eb75c65
ITS#8704 add MDB_PREVSNAPSHOT flag to mdb_env_open
...
used to open the previous snapshot, in case the latest one
is corrupted
7 years ago
Erik de Castro Lopo
a85b5759f3
Upgrade unbound library
...
These files were pulled from the 1.6.3 release tarball.
This new version builds against OpenSSL version 1.1 which will be
the default in the new Debian Stable which is due to be released
RealSoonNow (tm).
7 years ago
Riccardo Spagni
2f724e5849
Merge pull request #2054
...
977c2186
easylogging++: log timestamps in GMT for privacy (moneromooo-monero)
7 years ago
moneromooo-monero
977c2186c9
easylogging++: log timestamps in GMT for privacy
7 years ago
Howard Chu
45e9838bb1
unbound: update some EVP APIs to new names
...
Replace EVP_VerifyInit with EVP_DigestInit, and EVP_VerifyUpdate
with EVP_DigestUpdate. Reported/requested by hyc, changed by mooo.
7 years ago
Jaquee
b7ae09111d
GUI: easylogging++ install target
7 years ago
Riccardo Spagni
28ecac2671
Merge pull request #2000
...
710b2e80
Silence clang++ warnings (Howard Chu)
7 years ago
Riccardo Spagni
f76fd38baa
Merge pull request #1997
...
5d86c9f4
easylogging++: default to creating categories by default (moneromooo-monero)
7 years ago
Riccardo Spagni
865bb03ecf
Merge pull request #1968
...
5e5b8512
Fix obsolete OpenSSL API usage (hyc)
6c72d6a0
Fix Android recognition (hyc)
e65d66fe
Fix ARM64 identification (hyc)
a4673218
Clean up ARMv8-a aes_expand_key() (hyc)
a3d77901
Fix block_longhash_worker thread (hyc)
7 years ago
Riccardo Spagni
470ac0bfc7
Merge pull request #1967
...
6e985996
Easylogging: ELPP_STACKTRACE_ON_CRASH moved to ELPP_FEATURE_CRASH_LOG (MoroccanMalinois)
7 years ago
Howard Chu
710b2e80c6
Silence clang++ warnings
...
Using defined(foo) in a macro expansion is undefined.
7 years ago
moneromooo-monero
5d86c9f4d5
easylogging++: default to creating categories by default
...
This avoids error spews from easylogging++ when we try to log
something before easylogging is initialized, which can happen
when errors happen at command line parsing time
7 years ago
MoroccanMalinois
7ff19f1ec4
Easylogging: remove invalid static in function member definition
7 years ago
hyc
5e5b8512d6
Fix obsolete OpenSSL API usage
...
EVP_dss1() was deprecated and EVP_sha1() is the direct replacement.
Upstream libunbound already has this patch. Note that I haven't
added a test for HAVE_EVP_DSS1 since that was deprecated quite a
long time ago in OpenSSL, there's really no reason to support it.
7 years ago
hyc
6c72d6a058
Fix Android recognition
...
The official macro is __ANDROID__; ANDROID may or may not be defined.
7 years ago
MoroccanMalinois
6e98599634
Easylogging: ELPP_STACKTRACE_ON_CRASH moved to ELPP_FEATURE_CRASH_LOG
7 years ago
Riccardo Spagni
e9ca165b1a
Merge pull request #1950
...
f5bd3465
IOS CMAKE build settings (Jaquee)
d8a88d05
add IOS CMAKE toolchain (Jaquee)
7 years ago
moneromooo-monero
ea359b50cb
Fixup choice of easylogging++ vs libunwind stack trace code
7 years ago
moneromooo-monero
1e6d875783
easylogging++: do not disable DEBUG level based on _DEBUG/NDEBUG
7 years ago
moneromooo-monero
7a56fd6c93
easylogging++: detect DragonFly BSD as a UNIX
7 years ago
moneromooo-monero
2c8b23e331
easylogging++: fix logging with static const header only data members
7 years ago
moneromooo-monero
72663f4b83
easylogging++: allow clipping a common filename prefix
7 years ago
moneromooo-monero
5bab044984
easylogging++: add file-only logs
7 years ago
moneromooo-monero
db9dc7c2df
eayslogging++: Fix bad memory access before opening any files
7 years ago
moneromooo-monero
14620ca0bd
easylogging++: avoid creating directory/filename for the builtin default log file
7 years ago
moneromooo-monero
0c1ad0ff1a
easylogging++: Print thread ID in a nicer way
7 years ago
moneromooo-monero
e7fabbd470
easylogging++: add categories
7 years ago
moneromooo-monero
a8ac4f0a70
update easylogging++ to latest upstream
7 years ago
Jaquee
f5bd346573
IOS CMAKE build settings
7 years ago
Riccardo Spagni
c3599fa7b9
update copyright year, fix occasional lack of newline at line end
7 years ago
Riccardo Spagni
058eed369b
cmakify openssl
7 years ago
moneromooo-monero
422ecc98e4
Fixup choice of easylogging++ vs libunwind stack trace code
7 years ago
Riccardo Spagni
d1b7ad3f1a
Merge pull request #1696
...
6ea3e3cc
Fix race in setThreadName/getThreadName (Lee Clagett)
8 years ago
Riccardo Spagni
c7750b2570
Merge pull request #1694
...
27c3a0ea
ITS#8582 keep mutex at end of struct (Howard Chu)
8 years ago
Lee Clagett
6ea3e3ccc7
Fix race in setThreadName/getThreadName
8 years ago
Howard Chu
27c3a0ea9f
ITS#8582 keep mutex at end of struct
...
since it's variable size on Linux/glibc
8 years ago
moneromooo-monero
1c782a923d
easylogging++: do not disable DEBUG level based on _DEBUG/NDEBUG
8 years ago
Riccardo Spagni
da9174c8ee
Merge pull request #1656
...
edfd7f6e
Workaround VL32 cursor refcounting miscount (Howard Chu)
8 years ago
NanoAkron
fc91e6a75a
Fixed a deadlock issue with easylogger++
...
Ubuntu 16.04/GCC 5.4.0/ARMv8 fix to match previous recursive mutex fix for GCC
8 years ago
Howard Chu
edfd7f6e07
Workaround VL32 cursor refcounting miscount
...
Don't try to deref cursor page if txn's pagelist is empty
8 years ago
Riccardo Spagni
96a35cd2f4
Merge pull request #1596
...
7c0c5c17
easylogging++: detect DragonFly BSD as a UNIX (moneromooo-monero)
8 years ago
moneromooo-monero
7c0c5c1724
easylogging++: detect DragonFly BSD as a UNIX
8 years ago
moneromooo-monero
5161f16f4a
easylogging++: enforce recursive mutex
...
This fixes a hang when logging something which causes some other
logging code to be called
8 years ago
moneromooo-monero
dc98019b59
easylogging++: fix logging with static const header only data members
8 years ago
moneromooo-monero
3b46617bd9
easylogging++: add ELPP_DISABLE_CHECK_MACROS
8 years ago
moneromooo-monero
6fe39d9017
easylogging++: allow clipping a common filename prefix
8 years ago
moneromooo-monero
43abf6ff45
easylogging++: add file-only logs
8 years ago
moneromooo-monero
c313bea450
eayslogging++: Fix bad memory access before opening any files
8 years ago
moneromooo-monero
0af5d16872
easylogging++: avoid creating directory/filename for the builtin default log file
8 years ago
moneromooo-monero
2836284798
easylogging++: allow setting thread names
8 years ago
moneromooo-monero
ec71ce8d2d
easylogging++: Print thread ID in a nicer way
8 years ago
moneromooo-monero
2a0bf7834c
easylogging++: Add logging categories
8 years ago
moneromooo-monero
c50bbbfedd
easylogging++: import upstream
8 years ago
Riccardo Spagni
278562d2c2
Merge pull request #1531
...
9d1d3a45
portable serializer: use signed char for size (kenshi84)
8 years ago
Riccardo Spagni
ba9744d400
Merge pull request #1515
...
ada7c7da
portable serializer: tests added (kenshi84)
f390a0e2
portable serializer: make signerd/unsigned tx portable, ignore archive version checking (kenshi84)
8 years ago
Riccardo Spagni
2a996f492f
Merge pull request #1510
...
80abc3bc
Build wallet with Android NDK (MoroccanMalinois)
8 years ago
kenshi84
9d1d3a454e
portable serializer: use signed char for size
8 years ago
MoroccanMalinois
80abc3bc4a
Build wallet with Android NDK
8 years ago
kenshi84
f390a0e2dc
portable serializer: make signerd/unsigned tx portable, ignore archive version checking
8 years ago
Howard Chu
f3fdefe001
Fix multiple definition clash on ARMv7 build
...
Broken by d1d6e27ab6
8 years ago
kenshi84
af9a799925
account for API difference between 1.58 & 1.59
8 years ago
kenshi84
d1d6e27ab6
moved boost cpp into hpp since they're supposed to be header only
8 years ago
kenshi84
66e6af89ce
added experimental boost::archive::portable_binary_{i|o}archive
8 years ago
Antonio Huete Jimenez
b00da61eab
Preliminary support for DragonFly BSD
...
- It builds but no further testing has been done.
8 years ago
taushet
bdd3fb85d6
Spelling in errors.
8 years ago
redfish
e1c7af35d4
cmake: transitive deps and remove deprecated LINK_*
...
Keep the immediate direct deps at the library that depends on them,
declare deps as PUBLIC so that targets that link against that library
get the library's deps as transitive deps.
Break dep cycle between blockchain_db <-> crytonote_core.
No code refactoring, just hide cycle from cmake so that
it doesn't complain (cycles are allowed only between
static libs, not shared libs).
This is in preparation for supproting BUILD_SHARED_LIBS cmake
built-in option for building internal libs as shared.
8 years ago
Riccardo Spagni
58501229e3
remove errant target_link_libraries
8 years ago
Riccardo Spagni
58abc096f4
don't build any miniupnpc executables
8 years ago
Riccardo Spagni
114e36888b
don't build miniupnpc test executables
8 years ago
Riccardo Spagni
bb69371f66
updated miniupnp
8 years ago
Riccardo Spagni
f62ebc5c81
update rapidjson
8 years ago
redfish
77fa663e94
cmake: split BUILD_GUI_DEPS option into two
...
The split is to make this software more packageable. 'make install'
is used by the package building scripts, and should not be installing
vendored dependencies onto the system.
8 years ago
Ilya Kitaev
43677f9d68
gui/libwallet_merged: libunbound is one more dependency
8 years ago
Howard Chu
7442dd084a
More for Issue #855
...
Plug rpage leak in cursor_set
8 years ago
Howard Chu
d6f5d543a5
Fix Issue #855
...
Use the same size dirty list for both 64 and 32 bit.
8 years ago
Howard Chu
66b1e13aa7
mdb_drop optimization
...
If we know there are no sub-DBs and no overflow pages, skip leaf scan.
8 years ago
Howard Chu
d7ea7d9a23
Merge branch 'performance' into master
8 years ago
Howard Chu
6225716f3c
More outputs consolidation
...
Also bumped DB VERSION to 1
Another significant speedup and space savings:
Get rid of global_output_indices, remove indirection from output to keys
This is the change warptangent described on irc but never got to finish.
8 years ago
Riccardo Spagni
40974b155e
fix building on FreeBSD
8 years ago
Riccardo Spagni
1800d611a2
bump miniupnpc API version number
8 years ago
Riccardo Spagni
a4242c42b2
update miniupnpc
8 years ago
Howard Chu
8860b7497f
MDB_VL32 - increase max write txn size
9 years ago
Howard Chu
31e4e8c3a3
Resync with master
9 years ago
warptangent
9832d18dca
cmake: Include OpenSSL libraries in static linking
9 years ago
warptangent
7205210b0f
cmake: Fix unbound config compile settings
...
This allows the OpenSSL function checks to compile in unbound's CMake
configuration.
Otherwise, the functions SHA256() and EVP_sha512() won't be called from
libunbound as possible algorithms.
They had not been compiling because static OpenSSL libraries were being
used, along with lack of -ldl. The static library preference is
unnecessary for the checks, so use default suffixes ordering for
CMAKE_FIND_LIBRARY_SUFFIXES when building unbound.
Related files:
configure_checks.cmake
external/unbound/validator/val_secalgo.c
secalgo_ds_digest(), setup_key_digest()
9 years ago
Howard Chu
f98fe467e9
MDB_VL32 change overflow page scan
...
Just check the requested page, don't worry about any other pages
9 years ago
Howard Chu
7e65cc0aba
MDB_VL32 Fix off-by-one in mdb_midl_shrink
9 years ago
Howard Chu
222e30ec97
MDB_VL32 Fix another 32bit overflow
9 years ago
Howard Chu
3ca6e853f6
Tweak mdb_strerror msg buffer
9 years ago
Howard Chu
78ad970a2c
MDB_VL32 Fix d2a5f72f73
...
VirtualAlloc is not for MDB_VL32
9 years ago
Howard Chu
1cff3974d8
WIN64 needs off_t redefined too
9 years ago
Howard Chu
d2a5f72f73
Fix --db-sync-mode on Windows64
...
only "fastest" mode was working, others would SEGV.
9 years ago
Howard Chu
0b6be4114d
There has never been any such function "fnctl"
...
It was only a typo of fcntl. Get rid of this test.
9 years ago
Howard Chu
fcf31f3ff3
Cleanup symbol clashes, stdlib header
9 years ago
Howard Chu
28b82718ff
Avoid cmake-3.x block comment syntax
9 years ago
Howard Chu
462658df4f
Get rid of doubly-defined NDEBUG
9 years ago
Riccardo Spagni
88b0fb14c8
let miniupnp's cmakelist handle defaults
9 years ago
Riccardo Spagni
2c82eb71e7
fix miniupnpc cmakelist
9 years ago
Riccardo Spagni
de03926850
updated copyright year
9 years ago
Howard Chu
10ae0032d8
isblank doesn't need a special case test
9 years ago
Howard Chu
a090ee97f9
Fix 3edbf57b62
...
The test for isblank was being ignored
9 years ago
Riccardo Spagni
3edbf57b62
fix missing unbound tests
9 years ago
Riccardo Spagni
2d43ae8063
update unbound, fix unbound openssl issue on OS X
9 years ago
Riccardo Spagni
32a26332f8
no longer need to pass the size to rapidjson
9 years ago
Riccardo Spagni
bd8e0fd2a1
add missing miniupnpc files, modify cmake to not build miniupnpc tests and to fix an issue with finding miniupnpcstrings
9 years ago
Riccardo Spagni
7da9905589
updated miniupnpc
9 years ago
Howard Chu
b773e66877
MDB_VL32 - resync with master
...
WIN32 - close file mapping handle in env_close
cursor_unref - ignore cursor with empty stack
9 years ago
Howard Chu
ba4e217c90
Update liblmdb, unify 32/64 sources
9 years ago
moneromooo-monero
234f576565
miniupnpc: quick fix for buffer overflow
...
http://talosintel.com/reports/TALOS-2015-0035/
reported by palexander on IRC
9 years ago
moneromooo-monero
5d0cb73356
unbound: do not try to link against libevent
...
It is now not needed anymore, as we use minievent instead
9 years ago
moneromooo-monero
3c10239327
unbound: use the mini event fallback implementation
...
Using libevent seems to have high peaks of file descriptor use,
which can cause failure to create fds in other parts of bitmonerod.
The fallback implementation seems to run fine in a significantly
tighter file descriptor limit.
9 years ago
Riccardo Spagni
9672ac0812
Revert "re-re-add Windows DNS bug fix, per c0de96f"
...
This reverts commit f4ba92bccc
.
9 years ago