Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-04-26 | Adding required library (dependency of boost::this_thread::sleep_for) | Gene Peters | 1 | -0/+1 | |
2018-04-25 | Adding required library (dependency of boost::this_thread::sleep_for) | Gene Peters | 1 | -0/+1 | |
2018-04-12 | util: log stack trace on crash | moneromooo-monero | 1 | -0/+39 | |
2018-04-12 | util: log stack trace on crash | moneromooo-monero | 1 | -0/+39 | |
2018-04-10 | common: make this build with unbound 1.4.20 | moneromooo-monero | 2 | -2/+5 | |
Common on currently used distros | |||||
2018-04-10 | common: make this build with unbound 1.4.20 | moneromooo-monero | 2 | -2/+5 | |
Common on currently used distros | |||||
2018-03-05 | Correct spelling mistakes. | Edward Betts | 1 | -2/+2 | |
2018-03-05 | command_line: allow args to depend on more than one args | stoffu | 1 | -9/+57 | |
2018-03-05 | command_line::get_arg: remove 'required' for dependent args as they're ↵ | stoffu | 1 | -3/+3 | |
always optional | |||||
2018-03-05 | command line: allow has_arg to handle arg_descriptor<bool,false,true> #3318 | stoffu | 1 | -4/+4 | |
2018-02-25 | Wallet2 + CLI wallet: UTF-8 support for filenames and paths under Windows | rbrunner7 | 1 | -8/+15 | |
2018-02-16 | common: implement dynamic option dependencies mechanism | whythat | 1 | -14/+11 | |
2018-02-16 | common: implement dependent option descriptor | whythat | 1 | -5/+45 | |
2018-02-10 | handle ^D and ^C while password prompting | Jethro Grassie | 3 | -6/+17 | |
2018-02-08 | dns: change default DNS to a worldwide selection | moneromooo-monero | 2 | -10/+20 | |
DNSSEC aware servers picked from https://wiki.ipfire.org/dns/public-servers | |||||
2018-02-02 | threadpool: catch exceptions in dtor, to avoid terminate | moneromooo-monero | 2 | -1/+20 | |
If an exception is thrown, it is ignored. While this may hide a bug, this should only be system exceptions in boost, which is pretty unlikely. Morever, wait should be called manually before the dtor anyway. Add an error message if the dtor has to wait in case some such cases creep in so they get fixed. Coverity 182538 | |||||
2018-02-02 | perf_timer: rewrite to make it clear there is no division by zero | moneromooo-monero | 1 | -4/+3 | |
It could have happened if epee::misc_utils::get_ns_count is buggy, at a push Coverity 182561 | |||||
2018-01-31 | wipeable_string: call memwipe directly | moneromooo-monero | 1 | -2/+0 | |
since the original reason for the indirect call (that memwipe was not in contrib) is now gone | |||||
2018-01-29 | rpc_client: Fix error handling | Erik de Castro Lopo | 1 | -8/+8 | |
Previous code was unable to distingush between a connection error and a communication error. | |||||
2018-01-27 | Fixed #if instead of #ifdef | Matt Little | 1 | -3/+3 | |
2018-01-26 | Readd copyright starting date | xmr-eric | 12 | -12/+12 | |
2018-01-26 | Update 2018 copyright | xmr-eric | 35 | -35/+35 | |
2018-01-25 | Support building cncrypto lib with msvc | Matt Little | 1 | -0/+9 | |
2018-01-15 | perf_timer: add faster x86_64 timers, and pause/resume | moneromooo-monero | 2 | -7/+77 | |
2018-01-15 | perf_timer: use std::unique_ptr instead of new/delete | moneromooo-monero | 1 | -2/+3 | |
2018-01-10 | move memwipe to epee to avoid common<->crypto circular dependencies | moneromooo-monero | 4 | -197/+1 | |
2018-01-10 | epee: remove dependency on common | moneromooo-monero | 1 | -0/+1 | |
2018-01-08 | util: warn if unbound was not built with threads | moneromooo-monero | 1 | -0/+17 | |
This can causes crashes in libunbound | |||||
2018-01-04 | Removed unused mac-specific output folder path | Maxithi | 1 | -9/+1 | |
2018-01-04 | common cmake: make sure translation_files.h is generated for i18n.cpp | stoffu | 1 | -1/+2 | |
2017-12-27 | apply_permutation.h: add #pragma once | moneromooo-monero | 1 | -0/+2 | |
2017-12-26 | only include the easylogging++ stack trace code when needed | moneromooo-monero | 1 | -0/+3 | |
2017-12-23 | threadpool: fix deadlock in recursive waiter usage | moneromooo-monero | 1 | -1/+7 | |
If a queued job uses a waiter, then we want to run that waiter's jobs in the current thread if all threads are busy, even if the queue is empty, since there is no guarantee that any thread will free up to take care of that new job, since all the threads might be running a job which spawns such a recursive job and will block till that recursive job is done, which it will never be since it relies on the queue being polled by one of those blocked threads. | |||||
2017-12-16 | move includes around to lessen overall load | moneromooo-monero | 7 | -35/+46 | |
2017-12-16 | Scrub keys from memory just before scope end. | moneromooo-monero | 1 | -0/+43 | |
Partially implements #74. Securely erases keys from memory after they are no longer needed. Might have a performance impact, which I haven't measured (perf measurements aren't generally reliable on laptops). Thanks to @stoffu for the suggestion to specialize the pod_to_hex/hex_to_pod functions. Using overloads + SFINAE instead generalizes it so other types can be marked as scrubbed without adding more boilerplate. | |||||
2017-12-15 | Embed the translation files in the binary | Guillaume LE VAILLANT | 1 | -13/+30 | |
If a translation file exists in a "translations" directory located in the same directory as the binary, it is used in priority (this can be useful when working on translations as you don't have to recompile the whole program all the time), and if no such file is found the embedded translation file is used (if it exists). | |||||
2017-12-15 | resumption support for updates using range requests | moneromooo-monero | 1 | -7/+49 | |
2017-12-14 | updates: use https for updates | moneromooo-monero | 1 | -1/+1 | |
2017-12-14 | download: SSL suport | moneromooo-monero | 1 | -2/+3 | |
2017-12-07 | perf_timer: add non scoped start/stop timer defines | moneromooo-monero | 1 | -0/+3 | |
2017-12-07 | util: allow non numeric version parts | moneromooo-monero | 1 | -7/+7 | |
2017-11-28 | Fix password capitalization mismatch | xmr-eric | 1 | -1/+1 | |
2017-11-27 | new wipeable_string class to replace std::string passphrases | moneromooo-monero | 3 | -26/+20 | |
2017-11-27 | utils: initialize easylogging++ in on_startup | moneromooo-monero | 1 | -0/+2 | |
It will be reinitialized later once we know about log file and other command line configuration | |||||
2017-11-27 | use memwipe in a few relevant places | moneromooo-monero | 1 | -2/+5 | |
2017-11-27 | add a memwipe function | moneromooo-monero | 3 | -0/+153 | |
It's meant to avoid being optimized out memory_cleanse lifted from bitcoin | |||||
2017-11-18 | fixed common/util.cpp to link against libressl | ston1th | 1 | -1/+1 | |
2017-11-15 | Tools, daemonizer: fix building on Windows | iDunk5400 | 1 | -0/+5 | |
2017-11-14 | wallet: rejig to avoid prompting in wallet2 | moneromooo-monero | 2 | -6/+3 | |
wallet2 is a library, and should not prompt for stdin. Instead, pass a function so simplewallet can prompt on stdin, and a GUI might display a window, etc. | |||||
2017-11-14 | move input_line from command_line to simplewallet | moneromooo-monero | 2 | -20/+0 | |
It was only used there, and this removes one part of the common dependency on libreadline | |||||
2017-11-14 | move cryptonote command line options to cryptonote_core | moneromooo-monero | 2 | -58/+0 | |
Those have no reason to be in a generic module | |||||
2017-11-14 | make this build on SunOS/Solaris | Pavel Maryanov | 2 | -1/+5 | |
2017-11-14 | simplewallet: reject invalid argument for boolean parameter | stoffu | 2 | -0/+16 | |
2017-11-03 | updates: add a special case for "install-" build tags on windows | moneromooo-monero | 1 | -1/+1 | |
Those will have a ".exe" file extension, not .zip. | |||||
2017-11-03 | Disguise password length in prompt | Leon Klingele | 1 | -4/+0 | |
2017-11-02 | Use max_concurrency as-is | Howard Chu | 1 | -2/+2 | |
Don't try to 2nd guess user | |||||
2017-10-21 | Initialize openssl on startup | moneromooo-monero | 1 | -0/+7 | |
2017-10-14 | Add tools::on_startup, and warn about glibc 2.25 bug if found | moneromooo-monero | 2 | -0/+17 | |
https://sourceware.org/bugzilla/show_bug.cgi?id=21778 | |||||
2017-10-10 | dns_utils: allow an optional DNS server IP in DNS_PUBLIC | moneromooo-monero | 2 | -6/+41 | |
tcp://a.b.c.d | |||||
2017-10-09 | util: ignore SIGPIPE | moneromooo-monero | 1 | -1/+2 | |
In practice, this seems to cause monero-wallet-rpc to exit when ^C quits whatever its output is piped into (such as tee), but it saves, while it did not before. | |||||
2017-10-06 | add a command_line function to check for defaulted options | moneromooo-monero | 1 | -0/+6 | |
2017-09-21 | dns_utils: query DNS records in parallel | moneromooo-monero | 1 | -6/+15 | |
2017-09-18 | blockchain: reject unsorted ins and outs from v7 | moneromooo-monero | 1 | -1/+8 | |
This ensures no information is leaked by the ordering | |||||
2017-09-15 | Tweak concurrency limits | Howard Chu | 2 | -2/+6 | |
Create capacity for 2x max, but lie about it | |||||
2017-09-14 | Use a threadpool | Howard Chu | 8 | -619/+203 | |
Instead of constantly creating and destroying threads | |||||
2017-09-13 | common: add apply_permutation file and function | moneromooo-monero | 2 | -0/+62 | |
This algorithm is adapted from Raymond Chen's code: https://blogs.msdn.microsoft.com/oldnewthing/20170109-00/?p=95145 | |||||
2017-09-08 | Silence more stupid gcc warnings | Howard Chu | 1 | -7/+7 | |
2017-09-05 | json serialization for rpc-relevant monero types | Thomas Winget | 1 | -0/+147 | |
Structured {de-,}serialization methods for (many new) types which are used for requests or responses in the RPC. New types include RPC requests and responses, and structs which compose types within those. # Conflicts: # src/cryptonote_core/blockchain.cpp | |||||
2017-09-04 | dns_utils: remove a few obsolete things | moneromooo-monero | 1 | -4/+0 | |
2017-09-03 | Add a --fluffy-blocks option to relay blocks as fluffy blocks | moneromooo-monero | 2 | -0/+6 | |
Defaults to off, but fluffy blocks are forced enabled on testnet | |||||
2017-08-30 | Do not create file when RPC user/pass is given and use file locking | Lee Clagett | 2 | -23/+79 | |
2017-08-29 | move db specific options to BlockchainDB | moneromooo-monero | 2 | -20/+0 | |
Avoids common depending on blockchain_db, which can cause link errors. | |||||
2017-08-23 | thread_group: set thread size to THREAD_STACK_SIZE | moneromooo-monero | 1 | -1/+4 | |
2017-08-22 | rpc_client: print destination host/port when failing to connect | moneromooo-monero | 1 | -3/+3 | |
2017-08-20 | More DB support cleanup | Howard Chu | 1 | -1/+1 | |
Hide DB types from db_types.h - no reason to recompile dependencies when DB types change. Also remove lingering in-memory DB references, they've been obsolete since 9e82b694da120708652871b55f639d1ef306a7ec | |||||
2017-08-17 | cryptonote_protocol: large block sync size before v4 | moneromooo-monero | 1 | -2/+2 | |
2017-08-12 | core: add --db-salvage command line flag | moneromooo-monero | 2 | -0/+6 | |
Use to load the database when the primary meta page is corrupted | |||||
2017-08-11 | simplewallet: factor out message_writer | moneromooo-monero | 1 | -2/+2 | |
2017-08-11 | scoped_message_writer: pause readline to match simplewallet | moneromooo-monero | 1 | -0/+9 | |
2017-08-07 | updates: add "misc_log_ex.h" for logs | moneromooo-monero | 1 | -0/+1 | |
2017-08-07 | dns_utils: add <functional> for std::function | moneromooo-monero | 1 | -0/+1 | |
2017-08-01 | perf_timer: allow profiling more granular than millisecond | moneromooo-monero | 1 | -6/+9 | |
2017-07-31 | some include cleanup | moneromooo-monero | 3 | -4/+3 | |
2017-07-27 | move get_proof_of_trust_hash from util.h to p2p_protocol_defs.h | moneromooo-monero | 1 | -9/+0 | |
This avoids having to include p2p_protocol_defs.h in util.h, as util.h is used a lot, and p2p_protocol_defs.h includes a lot of other things that most users don't need. | |||||
2017-07-27 | Move OpenAlias console input back from libs | moneromooo-monero | 2 | -44/+4 | |
Library code should definitely not ask for console input unless it's clearly an input function. Delegating the user interaction part to the caller means it can now be used by a GUI, or have a decision algorithm better adapted to a particular caller. | |||||
2017-07-24 | Make msgwriter logs go to file only | moneromooo-monero | 1 | -1/+1 | |
This was the case for monero-wallet-cli already, but not for monerod, which was making it pretty spammy as it was duplicating intended output. Since my original intent was to ensure logs included command output for debugging, this achieves both. | |||||
2017-07-05 | Fix spelling errors | Erik de Castro Lopo | 1 | -2/+2 | |
2017-06-28 | Ensure DNSResolver destructor runs on exit | Howard Chu | 1 | -6/+2 | |
Plugs a noisy but benign memory leak | |||||
2017-06-18 | Add readline support to cli | jethro | 2 | -0/+14 | |
This PR adds readline support to the daemon and monero-wallet-cli. Only GNU readline is supported (e.g. not libedit) and there are cmake checks to ensure this. There is a cmake variable, Readline_ROOT_DIR that can specify a directory to find readline, otherwise some default paths are searched. There is also a cmake option, USE_READLINE, that defaults to ON. If set to ON, if readline is not found, the build continues but without readline support. One negative side effect of using readline is that the color prompt in the wallet-cli now has no color and just uses terminal default. I know how to fix this but it's quite a big change so will tackle another time. | |||||
2017-05-23 | changed crypto to cncrypto so it generated libcncrypto | Gentian | 1 | -1/+1 | |
fix a cmakelist | |||||
2017-03-18 | use const references in catch blocks | moneromooo-monero | 1 | -1/+1 | |
2017-03-17 | wallet-rpc: enable openalias | stoffu | 2 | -4/+6 | |
2017-03-05 | download: check available disk space before downloading | moneromooo-monero | 1 | -0/+8 | |
We don't check *while* the download happens, so it might still be that we don't have enough space later | |||||
2017-03-05 | download: give download threads distinct names | moneromooo-monero | 1 | -0/+5 | |
2017-03-05 | download: async API | moneromooo-monero | 2 | -26/+153 | |
2017-02-23 | core: protect precomputed block hashes with SHA256 | moneromooo-monero | 2 | -0/+13 | |
2017-02-22 | updates: fix user/auto url split | moneromooo-monero | 1 | -1/+1 | |
2017-02-22 | updates: remove testnet case | moneromooo-monero | 2 | -6/+3 | |
It need not be any different | |||||
2017-02-22 | updates: we now have a user URL, and an automatic one | moneromooo-monero | 2 | -3/+3 | |
So the user can use https, while the automatic does not have to | |||||
2017-02-22 | updates: add all update servers | moneromooo-monero | 1 | -0/+4 | |
2017-02-22 | updates: use HTTP, not HTTPS | moneromooo-monero | 1 | -1/+1 | |
The files are hashed and the hashes signed | |||||
2017-02-21 | updates: use updates host, not downloads, for HTTP | moneromooo-monero | 1 | -1/+1 | |
2017-02-21 | update copyright year, fix occasional lack of newline at line end | Riccardo Spagni | 23 | -23/+23 | |
2017-02-21 | cmakify openssl | Riccardo Spagni | 1 | -1/+3 | |
2017-02-21 | dns_utils: fix infinite recursion when distributing empty dns_urls | anonimal | 1 | -0/+3 | |
load_txt_records_from_dns attempts to distribute `a = 0, b = -1` where (b = dns_urls.size() - 1) and IntType is signed integer. This results in an infinite recursion which leads to SIGSEGV. | |||||
2017-02-20 | core: updates can now be downloaded (and SHA256 hash checked) | moneromooo-monero | 3 | -0/+176 | |
2017-02-20 | util: add a SHA256 function | moneromooo-monero | 3 | -1/+37 | |
2017-02-20 | Optionally query moneropulse DNS records to check for updates | moneromooo-monero | 5 | -2/+161 | |
It just checks and prints a message if there is a new version for now. | |||||
2017-02-20 | dns_utils: fix first checked DNS entry being ignored | moneromooo-monero | 1 | -1/+0 | |
2017-02-20 | util: add a vercmp function to compare version numbers | moneromooo-monero | 2 | -0/+18 | |
It is simple, supports simple x.y.z type numeric versions, and does not attempt any kind of validation | |||||
2017-02-20 | dns_utils: factor TXT record loading code from checkpoint code | moneromooo-monero | 2 | -0/+105 | |
2017-02-12 | Fixup choice of easylogging++ vs libunwind stack trace code | moneromooo-monero | 1 | -1/+1 | |
2017-02-08 | extract some basic code from libcryptonote_core into libcryptonote_basic | kenshi84 | 3 | -2/+3 | |
2017-02-06 | Add server auth to monerod, and client auth to wallet-cli and wallet-rpc | Lee Clagett | 7 | -3/+416 | |
2017-02-05 | common: fix link error on at least one platform (no clue which one) | moneromooo-monero | 1 | -0/+1 | |
Bug and fix reported by tdprime | |||||
2017-02-04 | Use easylogging++'s stack trace facility where possible | moneromooo-monero | 1 | -0/+19 | |
This avoids using libunwind, which often causes trouble. | |||||
2017-01-28 | Factor is_address_local code into a tools function | moneromooo-monero | 2 | -0/+39 | |
2017-01-25 | Updates to epee HTTP client code | Lee Clagett | 2 | -35/+17 | |
- http_simple_client now uses std::chrono for timeouts - http_simple_client accepts timeouts per connect / invoke call - shortened names of epee http invoke functions - invoke command functions only take relative path, connection is not automatically performed | |||||
2017-01-24 | moved get_account_address_from_str_or_url from libcommon to libcryptonote_core | kenshi84 | 2 | -23/+0 | |
2017-01-22 | Replace BOOST_FOREACH with C++11 ranged for | Miguel Herranz | 1 | -3/+3 | |
2017-01-21 | Make stack trace show up in log file with default settings | moneromooo-monero | 1 | -1/+1 | |
2017-01-16 | Change logging to easylogging++ | moneromooo-monero | 7 | -33/+54 | |
This replaces the epee and data_loggers logging systems with a single one, and also adds filename:line and explicit severity levels. Categories may be defined, and logging severity set by category (or set of categories). epee style 0-4 log level maps to a sensible severity configuration. Log files now also rotate when reaching 100 MB. To select which logs to output, use the MONERO_LOGS environment variable, with a comma separated list of categories (globs are supported), with their requested severity level after a colon. If a log matches more than one such setting, the last one in the configuration string applies. A few examples: This one is (mostly) silent, only outputting fatal errors: MONERO_LOGS=*:FATAL This one is very verbose: MONERO_LOGS=*:TRACE This one is totally silent (logwise): MONERO_LOGS="" This one outputs all errors and warnings, except for the "verify" category, which prints just fatal errors (the verify category is used for logs about incoming transactions and blocks, and it is expected that some/many will fail to verify, hence we don't want the spam): MONERO_LOGS=*:WARNING,verify:FATAL Log levels are, in decreasing order of priority: FATAL, ERROR, WARNING, INFO, DEBUG, TRACE Subcategories may be added using prefixes and globs. This example will output net.p2p logs at the TRACE level, but all other net* logs only at INFO: MONERO_LOGS=*:ERROR,net*:INFO,net.p2p:TRACE Logs which are intended for the user (which Monero was using a lot through epee, but really isn't a nice way to go things) should use the "global" category. There are a few helper macros for using this category, eg: MGINFO("this shows up by default") or MGINFO_RED("this is red"), to try to keep a similar look and feel for now. Existing epee log macros still exist, and map to the new log levels, but since they're used as a "user facing" UI element as much as a logging system, they often don't map well to log severities (ie, a log level 0 log may be an error, or may be something we want the user to see, such as an important info). In those cases, I tried to use the new macros. In other cases, I left the existing macros in. When modifying logs, it is probably best to switch to the new macros with explicit levels. The --log-level options and set_log commands now also accept category settings, in addition to the epee style log levels. | |||||
2017-01-10 | Remove db-auto-remove-logs | Miguel Herranz | 2 | -6/+0 | |
2017-01-10 | Show available types for db-type command | Miguel Herranz | 1 | -1/+4 | |
2017-01-05 | Build wallet with Android NDK | MoroccanMalinois | 1 | -1/+13 | |
2016-12-21 | make openalias also available for solo miner; introduce namespace ↵ | kenshi84 | 2 | -0/+162 | |
tools::dns_utils; support integrated address with dns lookup | |||||
2016-12-20 | common: add missing #include <system_error> for std::error_code | moneromooo-monero | 1 | -0/+1 | |
2016-12-20 | also use portable serializer for boost_serialization_helper.h and ↵ | kenshi84 | 1 | -5/+20 | |
net_node.inl, completely adandon boost/archive/binary_oarchive.hpp | |||||
2016-12-16 | Enabled HTTP auth support for monero-wallet-rpc | Lee Clagett | 3 | -10/+111 | |
2016-12-11 | thread_group: fix build on older GCC | moneromooo-monero | 1 | -2/+0 | |
vtnerd (original author) confirmed this is the Right Way. | |||||
2016-12-04 | Fix a few minor typos | Pierre Boyer | 1 | -1/+1 | |
2016-11-25 | Added command_line::is_yes | Lee Clagett | 2 | -1/+29 | |
2016-11-23 | Added task_region - a fork/join task implementation | Lee Clagett | 5 | -77/+394 | |
2016-11-09 | thread_group: fix build with asserts enabled | moneromooo-monero | 1 | -1/+1 | |
See https://github.com/monero-project/monero/pull/1291 | |||||
2016-11-02 | adding thread_group for managing async tasks | Lee Clagett | 3 | -2/+301 | |
2016-10-20 | perf_timer: format string fix for 32 bits | moneromooo-monero | 1 | -1/+1 | |
2016-10-10 | perf_timer: new class and macros to make performance logs easier | moneromooo-monero | 3 | -1/+142 | |
Call PERF_TIMER(name), which is scoped. | |||||
2016-09-26 | Dropped "bit" from bitmonero. | Randi Joseph | 1 | -3/+3 | |
2016-09-26 | Dropped "bit" from bitmonero. | Randi Joseph | 1 | -3/+3 | |
2016-09-24 | core: make the sync chunk block count overridable | moneromooo-monero | 2 | -0/+7 | |
2016-09-18 | epee: optionally restrict HTTP service to a configurable user agent | moneromooo-monero | 2 | -0/+2 | |
This is intended to catch traffic coming from a web browser, so we avoid issues with a web page sending a transfer RPC to the wallet. Requiring a particular user agent can act as a simple password scheme, while we wait for 0MQ and proper authentication to be merged. | |||||
2016-09-18 | cmake: transitive deps and remove deprecated LINK_* | redfish | 1 | -1/+3 | |
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. | |||||
2016-08-29 | More for PR#999 | Howard Chu | 1 | -1/+1 | |
2016-08-28 | wallet: fix some "may be used uninitialized" warnings | moneromooo-monero | 1 | -2/+2 | |
The compiler can't always work out the _found booleans are set iff the value is initialized. | |||||
2016-07-27 | cmake,common: flag for stack trace | redfish | 2 | -6/+5 | |
By default the flag is enabled whenever libunwind is found on the system, with the exception of static build on OSX (for which we can't install the throw hook #932 due to lack of support for --wrap in OSX ld64 linker). | |||||
2016-07-10 | common: stack trace: make clang happy with func ptrs | redfish | 1 | -9/+29 | |
Tested that it builds with: gcc 6.1.1, STATIC=OFF,i686 gcc 6.1.1, STATIC=OFF,armv7h clang 3.8, STATIC=OFF,i686 clang 3.8, STATIC=OFF,armv7h gcc 6.1.1, STATIC=ON,i686 clang 3.8, STATIC=ON,i686 Also tested that stack trace is generated fine on exception on: i686, gcc 6.1.1, STATIC=OFF (didn't bother testing all the other platforms/configs) This should fix the build problem on OSX (#871, #901), but I don't have OSX, so I could only test Clang on Linux. | |||||
2016-06-21 | remove POSIX_C_SOURCE and remove dlfcn.h for static builds | luigi1111 | 1 | -0/+2 | |
The former was a faulty "fix" for gmtime_r not existing on Windows. The latter is needed only for dynamic builds, and is not included with msys2, which ends up fine because Windows is only built static at this time. | |||||
2016-06-20 | common: fix build without libunwind | moneromooo-monero | 1 | -2/+2 | |
2016-04-28 | Print stack trace on exceptions | moneromooo-monero | 3 | -2/+168 | |
if libunwind is found. Useful for debugging logs. | |||||
2016-04-28 | add a --max-concurrency flag | moneromooo-monero | 2 | -0/+26 | |
It sets the max number of threads to use for a parallel job. This is different that the number of total threads, since monero binaries typically start a lot of them. | |||||
2016-04-06 | util: add a function to set umask to 077 | moneromooo-monero | 2 | -0/+11 | |
Useful to ensure files are written without group/other read rights. | |||||
2016-03-27 | common: new json_util.h | moneromooo-monero | 1 | -0/+53 | |
With code to help factor out reading typed fields from JSON | |||||
2016-03-21 | Revert "Print stack trace upon exceptions" | moneromooo-monero | 3 | -140/+0 | |
Ain't nobody got time for link/cmake skullduggery. This reverts commit fff238ec94ac6d45fc18c315d7bc590ddfaad63d. | |||||
2016-03-19 | Print stack trace upon exceptions | moneromooo-monero | 3 | -0/+140 | |
Useful for debugging users' logs | |||||
2016-03-11 | Use boost::thread instead of std::thread | Howard Chu | 1 | -2/+2 | |
and all other associated IPC | |||||
2016-02-23 | dns_utils: const compatibility with older libunbound | moneromooo-monero | 1 | -22/+16 | |
https://www.nlnetlabs.nl/bugs-script/show_bug.cgi?id=515 | |||||
2016-02-18 | std::condvar is broken on Win32 with gcc/g++ 4.8 too | Howard Chu | 1 | -2/+2 | |
Use boost... | |||||
2016-02-08 | core_tests: add tests for hard fork behaviors (MRL-0004) | moneromooo-monero | 2 | -6/+0 | |
We also replace the --fakechain option with an optional structure containing details about configuration for the core/blockchain, for test purposes. This seems more future friendly. | |||||
2016-01-27 | more typos fixed | Henning Kopp | 1 | -1/+1 | |
2016-01-25 | more typos fixed | Henning Kopp | 1 | -1/+1 | |
2016-01-21 | OpenBSD support for Monero. | me0wmix | 1 | -0/+2 | |
2015-12-31 | updated copyright year | Riccardo Spagni | 19 | -19/+19 | |
2015-12-19 | Add missing semicolons after log statements | moneromooo-monero | 1 | -1/+1 | |
2015-12-15 | Replace tabs and remove trailing whitespace | warptangent | 1 | -24/+24 | |
2015-12-15 | Optionally restrict DNS queries to TCP | warptangent | 1 | -3/+24 | |
Sample use: DNS_PUBLIC=tcp torsocks bin/bitmonerod --p2p-bind-ip 127.0.0.1 Test: Run above with --log-level 4 with and without DNS_PUBLIC environment variable set. DNS debugging info should show successful DNS lookups only when DNS_PUBLIC is set to "tcp": DNS lookup for seeds.moneroseeds.se: 17 results DNS lookup for seeds.moneroseeds.ae.org: 17 results DNS lookup for seeds.moneroseeds.ch: 12 results DNS lookup for seeds.moneroseeds.li: 12 results | |||||
2015-12-13 | add a --fakechain argument for tests | moneromooo-monero | 2 | -0/+6 | |
The core tests use the blockchain, and reset it to be able to add test data to it. This does not play nice with the databases, since those will save that data without an explicit save call. We add a fakechain flag that the tests will set, which tells the core and blockchain code to use a separate database, as well as skip a few things like checkpoints and fixup, which only make sense for real data. | |||||
2015-12-08 | Register daemon command line arguments to core if they're used in core | moneromooo-monero | 2 | -0/+48 | |
This fixes coretests, which does not register daemon specific arguments, but uses core, which uses those arguments. Also gets rid of an unwanted dependency on daemon code from core. | |||||
2015-11-29 | wallet: cancellable refresh | moneromooo-monero | 2 | -7/+7 | |
^C while in manual refresh will cancel the refresh, since that's often an annoying thing to have to wait for. Also, a manual refresh command will interrupt any running background refresh and take over, rather than wait for the background refresh to be done, and look to be hanging. | |||||
2015-11-25 | util: use putenv instead of setenv for mingw | moneromooo-monero | 1 | -0/+5 | |
2015-11-21 | Fix startup crash when using a locale boost does not like | moneromooo-monero | 2 | -0/+21 | |
There are various locale related bugs in various versions of boost, where exceptions are thrown in boost::filesystem APIs when the current locale is not to boost's liking. It's not clear what "not to boost's liking" means in detail, though "en" and "en_US.UTF-8" are not to its liking. Fix it by running a test function that's known to throw in such a case, and resetting LANG and LC_ALL to C if an exception is thrown. In simplewallet, the locale is queried before that so the correct translations will still be used. | |||||
2015-11-21 | i18n: allow language to be passed as a parameter | moneromooo-monero | 2 | -5/+7 | |
If empty, it will still be fetched from the environment | |||||
2015-10-27 | common: const and init list pedantry | moneromooo-monero | 2 | -2/+3 | |
2015-09-27 | dns_utils: fix wrong asserts | moneromooo-monero | 1 | -2/+2 | |
Braino. | |||||
2015-08-30 | dns_utils: remove unnecessary string conversion | moneromooo-monero | 1 | -5/+2 | |
2015-08-30 | dns_utils: factor the fetching code for different DNS record types | moneromooo-monero | 2 | -59/+34 | |
2015-08-30 | dns_utils: simplify string handling and fix leak | moneromooo-monero | 1 | -5/+1 | |
2015-08-27 | dns_utils: add a const where possible | moneromooo-monero | 2 | -2/+2 | |
2015-08-27 | dns_utils: lock access to the singleton | moneromooo-monero | 1 | -0/+4 | |
This avoids races which could result in two objects being created | |||||
2015-08-27 | dns: make ctor private | moneromooo-monero | 2 | -1/+15 | |
This ensures one can't instanciate a DNSResolver object by mistake, but uses the singleton. A separate create static function is added for cases where a new object is explicitely needed. | |||||
2015-07-15 | Add missing file - i18n.cpp | moneromooo-monero | 1 | -0/+297 | |
2015-07-14 | Translatable strings for simplewallet | moneromooo-monero | 2 | -2/+40 | |
The system is mostly the Qt system, but we don't use Qt to avoid the dependencies. See README.i18n for details. | |||||
2015-06-20 | Set dnssec_valid value correctly in dns_utils; fix address_from_url test | Rostislav | 1 | -3/+3 | |
2015-06-07 | dns_utils: simpify smart pointer use, and use for url strings too | moneromooo-monero | 2 | -39/+46 | |
OK, I admit I wanted to template this struct for fun too. | |||||
2015-05-31 | cleaning up, removing redundant files, renaming, fixing incorrect licenses | Riccardo Spagni | 3 | -0/+84 | |
2015-05-19 | Allow name@domain.tld for OpenAlias lookups | warptangent | 2 | -0/+25 | |
Based on tewinget's update. Make OpenAlias address format independent of existing DNS functions. Add tests. Test: make debug-test cd build/debug/tests/unit_tests # test that regular DNS functions work, including IPv4 lookups. # also test function that converts OpenAlias address format make && ./unit_tests --gtest_filter=DNSResolver* # test that OpenAlias addresses like donate@getmonero.org work from # wallet tools make && ./unit_tests --gtest_filter=AddressFromURL.Success | |||||
2015-05-19 | Revert "Allow name@domain.tld for OpenAlias lookups" | warptangent | 2 | -25/+14 | |
This reverts commit b18368b635ba08aea541ef52ebc74180822644a2. | |||||
2015-04-29 | Allow name@domain.tld for OpenAlias lookups | Thomas Winget | 2 | -14/+25 | |
2015-04-10 | [fix] log level change. compilation: dns, tests | rfree2monero | 1 | -1/+1 | |
old unbound #warning does not block compilation unit tests build fine. Even though the RPC/P2P network type is required again | |||||
2015-04-02 | Fixed DNS resolution bug in Windows | Thomas Winget | 1 | -4/+2 | |
Due to a bug in unbound, we were passing a string containing a null character to ub_ctx_resolvconf and ub_ctx_hosts rather than a NULL pointer. On *nix this wasn't causing headache, but on Windows this was causing unbound to not correctly load DNS settings from the OS. Note on the bug: in a Windows-specific code branch in the function ub_ctx_hosts(), if the hosts file specified was a NULL pointer, a call to getenv() was stored in a local char* and later freed. This is incorrect, as we do not own that data, and caused the program to crash. | |||||
2015-04-01 | remerged; commands JSON. logging upgrade. doxygen | rfree2monero | 3 | -1/+24 | |
2015-03-24 | DNSSEC added (hardcoded key) | Thomas Winget | 1 | -0/+66 | |
DNSSEC is now implemented with the hardcoded key from unbound. This will need to be not hardcoded in the future, but is okay for now. Unit tests updated for DNSSEC (as well as for the fact that, contrary to previous assumption, example.com does not have a static IP address). | |||||
2015-03-20 | Hopefully fixes build on Windows | Thomas Winget | 2 | -1/+13 | |
2015-02-24 | 2014 network limit 1.3 fix log/path/data +utils | rfree2monero | 1 | -1/+1 | |
+toc -doc -drmonero Fixed the windows path, and improved logging and data (for graph) logging, fixed some locks and added more checks. Still there is a locking error, not added by my patches, but present in master version (locking of map/list of peers). | |||||
2015-02-24 | Daemonize changes pulled in -- daemon builds | Thomas Winget | 4 | -0/+272 | |
many RPC functions added by the daemonize changes (and related changes on the upstream dev branch that were not merged) were commented out (apart from return). Other than that, this *should* work...at any rate, it builds, and that's something. | |||||
2015-01-02 | year updated in license | Riccardo Spagni | 14 | -14/+14 | |
2014-12-01 | moved rapidjson to external folder, fixed CMake | Riccardo Spagni | 24 | -8020/+0 | |
2014-10-24 | cmake: support 2.8.7 | Ben Boeckel | 1 | -1/+1 | |
Older versions of CMake support LINK_{PUBLIC,PRIVATE} while newer versions prefer PUBLIC and PRIVATE instead, but still support the LINK_ prefix. | |||||
2014-10-23 | cmake: handle private vs. public headers | Ben Boeckel | 1 | -2/+10 | |
2014-10-23 | cmake: refactor common code with libraries | Ben Boeckel | 1 | -9/+1 | |
2014-10-23 | cmake: put each library into its own directory | Ben Boeckel | 1 | -0/+64 | |
This cleans up the CMake code and shows patterns more easily (to be refactored in the next commit). |