aboutsummaryrefslogtreecommitdiff
path: root/src/common
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge pull request #2398Riccardo Spagni2017-09-251-4/+0
|\ \ \ | | | | | | | | | | | | e0592e87 dns_utils: remove a few obsolete things (moneromooo-monero)
| * | | dns_utils: remove a few obsolete thingsmoneromooo-monero2017-09-041-4/+0
| |/ /
* | | Merge pull request #2379Riccardo Spagni2017-09-252-23/+79
|\ \ \ | | | | | | | | | | | | 9c83f806 Do not create file when RPC user/pass is given and use file locking (Lee Clagett)
| * | | Do not create file when RPC user/pass is given and use file lockingLee Clagett2017-08-302-23/+79
| | | |
* | | | Merge pull request #2412Riccardo Spagni2017-09-201-7/+7
|\ \ \ \ | |_|_|/ |/| | | | | | | 81fb2f53 Silence more stupid gcc warnings (Howard Chu)
| * | | Silence more stupid gcc warningsHoward Chu2017-09-081-7/+7
| | |/ | |/|
* | | Merge pull request #2446Riccardo Spagni2017-09-188-619/+207
|\ \ \ | | | | | | | | | | | | | | | | 6d0ca7d1 Tweak concurrency limits (Howard Chu) 510d0d47 Use a threadpool (Howard Chu)
| * | | Tweak concurrency limitsHoward Chu2017-09-152-2/+6
| | | | | | | | | | | | | | | | Create capacity for 2x max, but lie about it
| * | | Use a threadpoolHoward Chu2017-09-148-619/+203
| | | | | | | | | | | | | | | | Instead of constantly creating and destroying threads
* | | | Merge pull request #2044Riccardo Spagni2017-09-181-0/+147
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | 0299cb77 Fix various oversights/bugs in ZMQ RPC server code (Thomas Winget) 77986023 json serialization for rpc-relevant monero types (Thomas Winget) 5c1e08fe Refactor some things into more composable (smaller) functions (Thomas Winget) 9ac2ad07 DRY refactoring (Thomas Winget)
| * | | json serialization for rpc-relevant monero typesThomas Winget2017-09-051-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
* | | | Add a --fluffy-blocks option to relay blocks as fluffy blocksmoneromooo-monero2017-09-032-0/+6
| |/ / |/| | | | | | | | Defaults to off, but fluffy blocks are forced enabled on testnet
* | | move db specific options to BlockchainDBmoneromooo-monero2017-08-292-20/+0
|/ / | | | | | | | | Avoids common depending on blockchain_db, which can cause link errors.
* | Merge pull request #2313Riccardo Spagni2017-08-261-1/+1
|\ \ | |/ |/| | | | | | | 3dd34a49 Cleanup test impact of moving blockchain_db_types() (Howard Chu) 80344740 More DB support cleanup (Howard Chu) 4c7f8ac0 DB cleanup (Howard Chu)
| * More DB support cleanupHoward Chu2017-08-201-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
* | Merge pull request #2311Riccardo Spagni2017-08-251-1/+4
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | df0cffed cryptonote_protocol: warn if we see a higher top version we expect (moneromooo-monero) 317ab21a cryptonote_protocol: less strict check on top version on connect (moneromooo-monero) cc81a371 cryptonote_protocol: update target height when syncing too (moneromooo-monero) e2ad372b cryptonote_protocol: simplify and remove unnecessary casts (moneromooo-monero) 727e67ca cryptonote_protocol: print peer top height along with its version (moneromooo-monero) b5345ef4 crypto: use malloc instead of alloca (moneromooo-monero) 80794b31 thread_group: set thread size to THREAD_STACK_SIZE (moneromooo-monero) 5524bc31 print peer id in 0 padded hex for consistency (moneromooo-monero) 8f8cc09b contrib: add sync_info to rlwrap command set (moneromooo-monero) 70b8c6d7 cryptonote_protocol: misc fixes to the new sync algorithm (moneromooo-monero)
| * | thread_group: set thread size to THREAD_STACK_SIZEmoneromooo-monero2017-08-231-1/+4
| |/
* / rpc_client: print destination host/port when failing to connectmoneromooo-monero2017-08-221-3/+3
|/
* cryptonote_protocol: large block sync size before v4moneromooo-monero2017-08-171-2/+2
|
* Merge pull request #2288Riccardo Spagni2017-08-152-0/+6
|\ | | | | | | c6e200a8 core: add --db-salvage command line flag (moneromooo-monero)
| * core: add --db-salvage command line flagmoneromooo-monero2017-08-122-0/+6
| | | | | | | | Use to load the database when the primary meta page is corrupted
* | Merge pull request #2281Riccardo Spagni2017-08-151-2/+11
|\ \ | | | | | | | | | | | | e499ff33 simplewallet: factor out message_writer (moneromooo-monero) 7ed5ab47 scoped_message_writer: pause readline to match simplewallet (moneromooo-monero)
| * | simplewallet: factor out message_writermoneromooo-monero2017-08-111-2/+2
| | |
| * | scoped_message_writer: pause readline to match simplewalletmoneromooo-monero2017-08-111-0/+9
| |/
* | Merge pull request #2237Riccardo Spagni2017-08-151-6/+9
|\ \ | |/ |/| | | | | | | 5d4ef719 core: speed up output index unique set calculation (moneromooo-monero) 19d7f568 perf_timer: allow profiling more granular than millisecond (moneromooo-monero) bda8c598 epee: add nanosecond timer and pause/restart profiling macros (moneromooo-monero)
| * perf_timer: allow profiling more granular than millisecondmoneromooo-monero2017-08-011-6/+9
| |
* | updates: add "misc_log_ex.h" for logsmoneromooo-monero2017-08-071-0/+1
| |
* | dns_utils: add <functional> for std::functionmoneromooo-monero2017-08-071-0/+1
| |
* | Merge pull request #2234Riccardo Spagni2017-08-073-4/+3
|\ \ | | | | | | | | | 214fd81e some include cleanup (moneromooo-monero)
| * | some include cleanupmoneromooo-monero2017-07-313-4/+3
| |/
* | Merge pull request #2215Riccardo Spagni2017-08-071-9/+0
|\ \ | | | | | | | | | 06aea2cf move get_proof_of_trust_hash from util.h to p2p_protocol_defs.h (moneromooo-monero)
| * | move get_proof_of_trust_hash from util.h to p2p_protocol_defs.hmoneromooo-monero2017-07-271-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.
* | Merge pull request #2210Riccardo Spagni2017-08-072-44/+4
|\ \ | | | | | | | | | cb0b5594 Move OpenAlias console input back from libs (moneromooo-monero)
| * | Move OpenAlias console input back from libsmoneromooo-monero2017-07-272-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.
* | Merge pull request #2195Riccardo Spagni2017-08-071-1/+1
|\ \ | | | | | | | | | | | | 599436a4 mlog: default to msgwriter logs only for log level 1 (moneromooo-monero) 58f3fc68 Make msgwriter logs go to file only (moneromooo-monero)
| * | Make msgwriter logs go to file onlymoneromooo-monero2017-07-241-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.
* | Merge pull request #2153Riccardo Spagni2017-08-071-2/+2
|\ \ | | | | | | | | | 35d68b2c Fix spelling errors (Erik de Castro Lopo)
| * | Fix spelling errorsErik de Castro Lopo2017-07-051-2/+2
| |/
* / Ensure DNSResolver destructor runs on exitHoward Chu2017-06-281-6/+2
|/ | | | Plugs a noisy but benign memory leak
* Add readline support to clijethro2017-06-182-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.
* changed crypto to cncrypto so it generated libcncryptoGentian2017-05-231-1/+1
| | | | fix a cmakelist
* Merge pull request #1883Riccardo Spagni2017-03-181-1/+1
|\ | | | | | | d0238313 use const references in catch blocks (moneromooo-monero)
| * use const references in catch blocksmoneromooo-monero2017-03-181-1/+1
| |
* | wallet-rpc: enable openaliasstoffu2017-03-172-4/+6
|/
* download: check available disk space before downloadingmoneromooo-monero2017-03-051-0/+8
| | | | | We don't check *while* the download happens, so it might still be that we don't have enough space later
* download: give download threads distinct namesmoneromooo-monero2017-03-051-0/+5
|
* download: async APImoneromooo-monero2017-03-052-26/+153
|
* core: protect precomputed block hashes with SHA256moneromooo-monero2017-02-232-0/+13
|
* updates: fix user/auto url splitmoneromooo-monero2017-02-221-1/+1
|
* updates: remove testnet casemoneromooo-monero2017-02-222-6/+3
| | | | It need not be any different