summaryrefslogtreecommitdiff
path: root/src/common
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Merge pull request #2318Riccardo 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 #2339Riccardo 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-231-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
* updates: we now have a user URL, and an automatic onemoneromooo-monero2017-02-222-3/+3
| | | | So the user can use https, while the automatic does not have to
* updates: add all update serversmoneromooo-monero2017-02-221-0/+4
|
* updates: use HTTP, not HTTPSmoneromooo-monero2017-02-221-1/+1
| | | | The files are hashed and the hashes signed
* Merge pull request #1766Riccardo Spagni2017-02-2223-23/+23
|\ | | | | | | | | | | | | 72deb484 updated fallback nodes (Riccardo Spagni) 33329f5b update version to 0.10.2 (Riccardo Spagni) 04a50a7e update checkpoints.dat (Riccardo Spagni) c3599fa7 update copyright year, fix occasional lack of newline at line end (Riccardo Spagni)
| * update copyright year, fix occasional lack of newline at line endRiccardo Spagni2017-02-2123-23/+23
| |
* | updates: use updates host, not downloads, for HTTPmoneromooo-monero2017-02-211-1/+1
|/
* Merge pull request #1760Riccardo Spagni2017-02-211-1/+3
|\ | | | | | | | | efdd783c add openssl to readme (Riccardo Spagni) 058eed36 cmakify openssl (Riccardo Spagni)
| * cmakify opensslRiccardo Spagni2017-02-211-1/+3
| |
* | dns_utils: fix infinite recursion when distributing empty dns_urlsanonimal2017-02-211-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.
* core: updates can now be downloaded (and SHA256 hash checked)moneromooo-monero2017-02-203-0/+176
|
* util: add a SHA256 functionmoneromooo-monero2017-02-203-1/+37
|
* Optionally query moneropulse DNS records to check for updatesmoneromooo-monero2017-02-205-2/+161
| | | | | It just checks and prints a message if there is a new version for now.