aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-10-23Merge pull request #2717v0.11.1.0Riccardo Spagni1-1/+1
bbed29b2 update version to 0.11.1.0 (Riccardo Spagni)
2017-10-23update version to 0.11.1.0Riccardo Spagni1-1/+1
2017-10-23Merge pull request #2700Riccardo Spagni2-1/+21
6fb5de3b simplewallet: add get/set for refresh-from-height (moneromooo-monero)
2017-10-23Merge pull request #2708Riccardo Spagni1-1/+1
076d8237 wallet2: fix tx size estimator for large number of inputs (moneromooo-monero)
2017-10-23Merge pull request #2707Riccardo Spagni1-1/+9
3067da20 core: guard against a mined block not finding all txes in the pool (moneromooo-monero)
2017-10-22wallet2: fix tx size estimator for large number of inputsmoneromooo-monero1-1/+1
2017-10-22core: guard against a mined block not finding all txes in the poolmoneromooo-monero1-1/+9
This can happen for several reasons, but mainly if another block was received, which took that tx off the pool.
2017-10-22Merge pull request #2654Riccardo Spagni1-1/+1
44afa6de wallet2: Missing underflow check on low heights (landergate)
2017-10-22Merge pull request #2632Riccardo Spagni3-9/+28
b4c5180f core: fix failure to sync when a tx is already in the pool (moneromooo-monero)
2017-10-22Merge pull request #2514Riccardo Spagni2-3/+6
cda45a7f Source updates are in a source subdirectory (moneromooo-monero)
2017-10-22Merge pull request #2493Riccardo Spagni1-2/+2
19fab620 blockchain: fix crash checking pre-validated txids (moneromooo-monero)
2017-10-22Merge pull request #2478Riccardo Spagni1-2/+2
14e5d779 db_lmdb: fix use of uninitialized key in for_blocks_range (moneromooo-monero)
2017-10-22simplewallet: add get/set for refresh-from-heightmoneromooo-monero2-1/+21
2017-10-15wallet2: Missing underflow check on low heightslandergate1-1/+1
Lack of it results in `m_refresh_from_block_height` being < 0 (18446744...) on low heights, which blocks `process_new_blockchain_entry` and never process coins on heights less than blocks_per_month. Follow-up to #2258
2017-10-10core: fix failure to sync when a tx is already in the poolmoneromooo-monero3-9/+28
2017-09-25Merge pull request #2448Riccardo Spagni1-0/+2
8133a642 p2p: init hashes after deserializing a network address (moneromooo-monero)
2017-09-22Source updates are in a source subdirectorymoneromooo-monero2-3/+6
rather than in the same directory as the prebuilt versions
2017-09-20blockchain: fix crash checking pre-validated txidsmoneromooo-monero1-2/+2
2017-09-19db_lmdb: fix use of uninitialized key in for_blocks_rangemoneromooo-monero1-2/+2
2017-09-14p2p: init hashes after deserializing a network addressmoneromooo-monero1-0/+2
Fixes multiple connections to the same address
2017-09-12Merge pull request #2437Riccardo Spagni1-2/+18
3deef401 core: guard against exceptions in tx verification worker threads (moneromooo-monero)
2017-09-12Merge pull request #2433Riccardo Spagni1-1/+1
67bdf65c rpc: get_txpool_backlog is now unrestricted (moneromooo-monero)
2017-09-12Merge pull request #2423Riccardo Spagni1-0/+4
bbb07f88 ITS#8728 fix MDB_VL32 freeing overflow page (Howard Chu)
2017-09-12core: guard against exceptions in tx verification worker threadsmoneromooo-monero1-2/+18
2017-09-11rpc: get_txpool_backlog is now unrestrictedmoneromooo-monero1-1/+1
2017-09-09ITS#8728 fix MDB_VL32 freeing overflow pageHoward Chu1-0/+4
Fix #2420
2017-09-06Merge pull request #2406v0.11.0.0Riccardo Spagni1-1/+1
64ab224c update checkpoint hashes (Riccardo Spagni)
2017-09-06update checkpoint hashesRiccardo Spagni1-1/+1
2017-09-06Merge pull request #2403Riccardo Spagni2-0/+2
12b86e44 update hardcoded checkpoints (Riccardo Spagni) 21d0a40c update checkpoints.dat (Riccardo Spagni)
2017-09-06update hardcoded checkpointsRiccardo Spagni1-0/+2
2017-09-06update checkpoints.datRiccardo Spagni1-0/+0
2017-09-04Merge pull request #2397Riccardo Spagni1-1/+1
c6375a14 tx_pool: catch exceptions in LockedTXN dtor (moneromooo-monero)
2017-09-04Merge pull request #2393Riccardo Spagni7-1/+20
585e6b35 Add a --fluffy-blocks option to relay blocks as fluffy blocks (moneromooo-monero)
2017-09-04Merge pull request #2391Riccardo Spagni1-2/+3
d685d5d9 Use latest height for fork date estimate (Howard Chu)
2017-09-04tx_pool: catch exceptions in LockedTXN dtormoneromooo-monero1-1/+1
This might prevent some calls to terminate when the LockedTXN dtor is called as part of stack unwinding caused by another exception in the first place.
2017-09-03Add a --fluffy-blocks option to relay blocks as fluffy blocksmoneromooo-monero7-1/+20
Defaults to off, but fluffy blocks are forced enabled on testnet
2017-09-02Use latest height for fork date estimateHoward Chu1-2/+3
2017-09-02Merge pull request #2385Riccardo Spagni3-26/+27
2289ead5 blockchain_import: warn for chunks over 500000, not 100000 (moneromooo-monero) 2f9a5528 blockchain_import: properly cleanup core/db on exit (moneromooo-monero) 8d6967be blockchain_import: do not error out on truncated files (moneromooo-monero)
2017-09-02Merge pull request #2383Riccardo Spagni1-5/+7
c65062ad Fix miniupnpc CVE-2017-8798 (MaxXor)
2017-09-02Merge pull request #2375Riccardo Spagni1-0/+3
ff1cdf30 tx_pool: wrap tx meta updates in a LockedTXN (moneromooo-monero)
2017-09-02Merge pull request #2373Riccardo Spagni6-21/+89
a3662bae cryptonote_protocol: error handling on cleanup_handle_incoming_blocks (moneromooo-monero) cf4aa653 Fix blockchain_import wedge on exception in cleanup_handle_incoming_blocks (moneromooo-monero) 0ffad5a3 core: guard against exceptions in handle_incoming_{block,tx} (moneromooo-monero)
2017-09-02Merge pull request #2365Riccardo Spagni1-0/+1
bf724327 cryptonote_protocol: remove old spans when received as old blocks (moneromooo-monero)
2017-09-02Merge pull request #2363Riccardo Spagni4-26/+106
31b1c6c1 simplewallet: new "fee" command to display fee information (moneromooo-monero)
2017-09-02Merge pull request #2358Riccardo Spagni2-5/+11
0c6c3eb3 Silence stupid fallthru warning in gcc 7 (Howard Chu)
2017-09-01blockchain_import: warn for chunks over 500000, not 100000moneromooo-monero3-4/+5
We have a lot of 350000 byte blocks now.
2017-09-01blockchain_import: properly cleanup core/db on exitmoneromooo-monero1-19/+9
2017-09-01blockchain_import: do not error out on truncated filesmoneromooo-monero1-3/+13
This will happen often when downloading from a live file
2017-09-01Fix miniupnpc CVE-2017-8798MaxXor1-5/+7
2017-08-29tx_pool: wrap tx meta updates in a LockedTXNmoneromooo-monero1-0/+3
2017-08-29simplewallet: new "fee" command to display fee informationmoneromooo-monero4-26/+106
including expected transaction backlog at different priorities
2017-08-29cryptonote_protocol: error handling on cleanup_handle_incoming_blocksmoneromooo-monero1-6/+34
2017-08-29Fix blockchain_import wedge on exception in cleanup_handle_incoming_blocksmoneromooo-monero5-15/+47
2017-08-29core: guard against exceptions in handle_incoming_{block,tx}moneromooo-monero1-0/+8
When one happens, cleanup must be called or the incoming tx lock will stay locked
2017-08-28cryptonote_protocol: remove old spans when received as old blocksmoneromooo-monero1-0/+1
fixes getting those in a loop
2017-08-26Merge pull request #2343Riccardo Spagni4-140/+93
c656dd0e Fix refresh counter display (Howard Chu) c088d38a Simplify readline support (Howard Chu)
2017-08-26Merge pull request #2319Riccardo Spagni11-2/+61
c22d22e2 Cleanup test impact of adding safesyncmode() method (Howard Chu) 9a859844 Toggle SAFE syncmode on and off automatically (Howard Chu)
2017-08-26Merge pull request #2318Riccardo Spagni14-192/+105
3dd34a49 Cleanup test impact of moving blockchain_db_types() (Howard Chu) 80344740 More DB support cleanup (Howard Chu) 4c7f8ac0 DB cleanup (Howard Chu)
2017-08-26Merge pull request #2356Riccardo Spagni11-3/+203
4bd9e247 wallet: new option to check/confirm txpool backlog when sending (moneromooo-monero) 0c61be37 rpc: add a new RPC to get current txpool backlog (sizes and fees) (moneromooo-monero)
2017-08-26Merge pull request #2354Riccardo Spagni1-2/+3
aeb30c83 daemon: fix backlog estimating at max block size (moneromooo-monero)
2017-08-26Merge pull request #2352Riccardo Spagni2-6/+14
2d8a6a6f blockchain: cap memory size of retrieved blocks (moneromooo-monero) 20bedf32 rpc: decrease memory usage a bit in getblocks.bin (moneromooo-monero)
2017-08-26Merge pull request #2350Riccardo Spagni1-0/+3
fa65da25 http_client: add getters for host and port (moneromooo-monero)
2017-08-26blockchain: cap memory size of retrieved blocksmoneromooo-monero1-2/+7
It helps keep memory usage down when a wallet refreshes through a string of large blocks
2017-08-26rpc: decrease memory usage a bit in getblocks.binmoneromooo-monero1-4/+7
2017-08-26wallet: new option to check/confirm txpool backlog when sendingmoneromooo-monero4-3/+123
2017-08-26rpc: add a new RPC to get current txpool backlog (sizes and fees)moneromooo-monero7-0/+80
2017-08-26daemon: fix backlog estimating at max block sizemoneromooo-monero1-2/+3
Block size will pretty much never be fully used, unless all txes are using max fee.
2017-08-25http_client: add getters for host and portmoneromooo-monero1-0/+3
2017-08-25Merge pull request #2339Riccardo Spagni11-78/+166
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)
2017-08-25Merge pull request #2337Riccardo Spagni1-2/+24
6707f0af daemon: print estimated tx backlog in print_pool_stats (moneromooo-monero)
2017-08-25Merge pull request #2336Riccardo Spagni1-3/+3
2392c4c4 rpc_client: print destination host/port when failing to connect (moneromooo-monero)
2017-08-25Merge pull request #2331Riccardo Spagni1-1/+1
ea15e72d tx_pool: fix crash in stats (Howard Chu)
2017-08-25Merge pull request #2335Riccardo Spagni1-0/+3
2147859a core: add mainnet v6 fork height at 1400000 (moneromooo-monero)
2017-08-23daemon: print estimated tx backlog in print_pool_statsmoneromooo-monero1-2/+24
2017-08-23rpc_client: print destination host/port when failing to connectmoneromooo-monero1-3/+3
2017-08-23core: add mainnet v6 fork height at 1400000moneromooo-monero1-0/+3
2017-08-23tx_pool: fix crash in statsHoward Chu1-1/+1
if tx receive_time == now. supersedes #2322
2017-08-23cryptonote_protocol: warn if we see a higher top version we expectmoneromooo-monero1-0/+2
2017-08-23cryptonote_protocol: less strict check on top version on connectmoneromooo-monero1-1/+1
This allows peers who synced past a fork on the wrong height to reorg to the right chain after they updated their software to include the new version.
2017-08-23cryptonote_protocol: update target height when syncing toomoneromooo-monero1-0/+4
2017-08-23cryptonote_protocol: simplify and remove unnecessary castsmoneromooo-monero1-5/+6
2017-08-23cryptonote_protocol: print peer top height along with its versionmoneromooo-monero1-1/+1
2017-08-23crypto: use malloc instead of allocamoneromooo-monero1-10/+9
2017-08-23thread_group: set thread size to THREAD_STACK_SIZEmoneromooo-monero1-1/+4
2017-08-23print peer id in 0 padded hex for consistencymoneromooo-monero4-22/+29
2017-08-22Cleanup test impact of moving blockchain_db_types()Howard Chu3-0/+13
2017-08-22Cleanup test impact of adding safesyncmode() methodHoward Chu5-2/+16
2017-08-22contrib: add sync_info to rlwrap command setmoneromooo-monero1-0/+1
2017-08-22Fix refresh counter displayHoward Chu1-0/+8
Suspend readline when refreshing
2017-08-22Simplify readline supportHoward Chu3-140/+85
And don't use std::mutex
2017-08-21cryptonote_protocol: misc fixes to the new sync algorithmmoneromooo-monero5-38/+109
Fix sync wedge corner case: It could happen if a connection went into standby mode, while it was the one which had requested the next span, and that span was still waiting for the data, and that peer is not on the main chain. Other peers can then start asking for that data again and again, but never get it as only that forked peer does. And various other fixes
2017-08-21Silence stupid fallthru warning in gcc 7Howard Chu2-5/+11
2017-08-20Toggle SAFE syncmode on and off automaticallyHoward Chu8-2/+47
If monerod is started with default sync mode, set it to SAFE after synchronization completes. Set it back to FAST if synchronization restarts (e.g. because another peer has a longer blockchain). If monerod is started with an explicit sync mode, none of this automation takes effect.
2017-08-20More DB support cleanupHoward Chu6-72/+42
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-19DB cleanupHoward Chu8-120/+50
Hide LMDB-specific stuff behind blockchain_db.h. Nobody besides blockchain_db.cpp should ever be including DB-specific headers any more.
2017-08-17Merge pull request #2303Riccardo Spagni11-8/+61
5a283078 cryptonote_protocol: large block sync size before v4 (moneromooo-monero) 7b747607 cryptonote_protocol: kick idle synchronizing peers (moneromooo-monero)
2017-08-17Merge pull request #2301Riccardo Spagni2-20/+27
1249a2a5 Construct on first use for completion_commands (Jethro Grassie) 67dd4933 Add sync lock on stop (Jethro Grassie)
2017-08-17Merge pull request #2300Riccardo Spagni2-6/+13
42b34b35 Consistently print peer id in hex and on 16 chars (moneromooo-monero)
2017-08-17Merge pull request #2291Riccardo Spagni2-5/+5
b59cd074 befor -> before (Nano Akron)
2017-08-17Merge pull request #2287Riccardo Spagni8-0/+30
827afcb7 protocol: pass blockchain cumulative difficulty when syncing (moneromooo-monero)
2017-08-17cryptonote_protocol: large block sync size before v4moneromooo-monero7-8/+17
2017-08-16cryptonote_protocol: kick idle synchronizing peersmoneromooo-monero5-0/+44
In case they dropped off downloading for any reason, they'll get sent to download again.
2017-08-16Construct on first use for completion_commandsJethro Grassie2-15/+23
2017-08-16Add sync lock on stopJethro Grassie1-5/+4
Also added and moved two free's hoping to fix leaks.
2017-08-16Consistently print peer id in hex and on 16 charsmoneromooo-monero2-6/+13
2017-08-15befor -> beforeNano Akron2-5/+5
Really unique yet consistent spelling mistake
2017-08-15protocol: pass blockchain cumulative difficulty when syncingmoneromooo-monero8-0/+30
Not used yet.
2017-08-15Merge pull request #2297Riccardo Spagni1-2/+2
78ecb2ad update major version number (Riccardo Spagni)
2017-08-15update major version numberRiccardo Spagni1-2/+2
2017-08-15Merge pull request #2288Riccardo Spagni4-1/+14
c6e200a8 core: add --db-salvage command line flag (moneromooo-monero)
2017-08-15Merge pull request #2293Riccardo Spagni2-1/+14
dee41efa simplewallet: mnemonic language command-line arg (Eugene Otto)
2017-08-15Merge pull request #2292Riccardo Spagni4-3/+1708
cb2d5ac7 mnemonics: new Esperanto word list (moneromooo-monero)
2017-08-15Merge pull request #2286Riccardo Spagni2-11/+18
8655ba04 wallet_rpc_server: adjust small ring sizes to 5 for v6 (moneromooo-monero)
2017-08-15Merge pull request #2285Riccardo Spagni8-15/+68
9c6eb75c ITS#8704 add MDB_PREVSNAPSHOT flag to mdb_env_open (Howard Chu)
2017-08-15Merge pull request #2283Riccardo Spagni1-1/+1
d1f204d6 miner: set thread name before logging (moneromooo-monero)
2017-08-15Merge pull request #2282Riccardo Spagni1-0/+2
7fdc178a p2p: fix random peer index being too large (moneromooo-monero)
2017-08-15Merge pull request #2281Riccardo Spagni2-82/+19
e499ff33 simplewallet: factor out message_writer (moneromooo-monero) 7ed5ab47 scoped_message_writer: pause readline to match simplewallet (moneromooo-monero)
2017-08-15Merge pull request #2279Riccardo Spagni2-1/+12
359517c7 wallet_rpc_server: fix possible privacy leak in on_import_key_images() (Jaquee) 20495b27 simplewallet: fix possible privacy leak in import_key_images() (Jaquee)
2017-08-15Merge pull request #2276Riccardo Spagni5-2/+30
a1891ebe tests: fix tests build (moneromooo-monero)
2017-08-15Merge pull request #2277Riccardo Spagni1-4/+3
6ce769c1 p2p: get net log spam down a bit (moneromooo-monero)
2017-08-15Merge pull request #2275Riccardo Spagni1-1/+1
88e83f94 cryptonote_protocol_handler: log versions as unsigned ints (moneromooo-monero)
2017-08-15Merge pull request #2236Riccardo Spagni2-23/+23
cb2d5110 Tweak net logs so we get more info on why networking can't start (moneromooo-monero)
2017-08-15Merge pull request #2274Riccardo Spagni2-6/+26
7591c528 p2p: fallback on seed nodes if we can't make a connection (moneromooo-monero)
2017-08-15Merge pull request #2273Riccardo Spagni1-2/+2
0e8d60c0 cryptonote_protocol: fix recv/send idle time before handshake (moneromooo-monero)
2017-08-15Merge pull request #2272Riccardo Spagni2-67/+56
f90bbe2a cryptonote_protocol: keep target in sync with dropped connections (moneromooo-monero)
2017-08-15Merge pull request #2270Riccardo Spagni3-0/+10
1307e3cc WalletAPI: add getDefaultDataDir() (Jaquee)
2017-08-15Merge pull request #2266Riccardo Spagni1-1/+1
7007bd14 Change default block sync size from 200 to 20 (moneromooo-monero)
2017-08-15Merge pull request #2264Riccardo Spagni1-1/+1
980e476c cryptonote_basic: fix silly CLANG warning about not emitting function (moneromooo-monero)
2017-08-15Merge pull request #2258Riccardo Spagni1-3/+20
74597bd1 wallet2: improve refresh height determination (moneromooo-monero)
2017-08-15Merge pull request #2256Riccardo Spagni1-6/+11
042b86c4 simplewallet: do not ask wallet filename twice when restoring (moneromooo-monero)
2017-08-15Tweak net logs so we get more info on why networking can't startmoneromooo-monero2-23/+23
This should prevent "silent" failures to start
2017-08-15Merge pull request #2255Riccardo Spagni1-2/+2
8bbed275 simplewallet: Be explicit about secret keys (Erik de Castro Lopo)
2017-08-15Merge pull request #2253Riccardo Spagni1-2/+2
51ebedb8 epee: remove a couple unused locals (moneromooo-monero)
2017-08-15Merge pull request #2252Riccardo Spagni1-0/+4
9707998a wallet2: clear some missing containers in clear() (moneromooo-monero)
2017-08-15Merge pull request #2250Riccardo Spagni1-1/+3
f4f7eeba blockchain: log more info when we reject an orphan (moneromooo-monero)
2017-08-15Merge pull request #2248Riccardo Spagni5-25/+194
71e28760 debug_utilities: only build for debug builds (moneromooo-monero) 55e150ff debug_utilities: new object-sizes debug tool (moneromooo-monero) fbaf5375 cn_deserialize: move to new debug_utilities subdirectory (moneromooo-monero)
2017-08-15Merge pull request #2246Riccardo Spagni2-14/+4
d732c73e blockchain: remove a few unused variables (moneromooo-monero)
2017-08-15Merge pull request #2245Riccardo Spagni1-2/+2
c8640a3d difficulty: fix misleading comment (Guillaume LE VAILLANT)
2017-08-15Merge pull request #2240Riccardo Spagni7-28/+89
b7d6ec83 simplewallet: add (out of sync) or (no daemon) markers in the prompt (moneromooo-monero) fa23a500 wallet2: add a is_synced function (moneromooo-monero) f1307bbd node_rpc_proxy: add a proxy for target height (moneromooo-monero)
2017-08-15Merge pull request #2238Riccardo Spagni5-3/+36
ad4649ac Enable verifying wallet password with having to load wallet. (m2049r)
2017-08-15Merge pull request #2237Riccardo Spagni4-19/+34
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)
2017-08-15Merge pull request #2233Riccardo Spagni1-0/+8
67ce4910 wallet2: store testnet bool in keys file (Jaquee)
2017-08-15Merge pull request #2232Riccardo Spagni1-1/+1
87b5ede9 miner: fix ignoring battery from command line (moneromooo-monero)
2017-08-15Merge pull request #2205Riccardo Spagni5-3/+53
c97d1bd3 wallet: return unlock_time in get_transfers (moneromooo-monero)
2017-08-15Merge pull request #2295Riccardo Spagni2-1/+41
35e01a6e cryptonote_protocol: fix "holes" in block download schedule (moneromooo-monero) 3da1edfd cryptonote_protocol: fix out of order addition (moneromooo-monero) 6edb1b3e block_queue: do not add empty spans (moneromooo-monero)
2017-08-15cryptonote_protocol: fix "holes" in block download schedulemoneromooo-monero1-1/+2
2017-08-15cryptonote_protocol: fix out of order additionmoneromooo-monero1-0/+37
This was broken by the reorg fix, since we now have to add blocks regardless of their starting height. We now check whether we know the parent for the first block in the next span, or whether it was requested. If neither, it's an orphan. If it is not known, but was requested, we wait to get that block.
2017-08-15block_queue: do not add empty spansmoneromooo-monero1-0/+2
2017-08-14mnemonics: new Esperanto word listmoneromooo-monero4-3/+1708
Word list authored by: Engelberg, ProkhorZ Sources: Baza Radikaro Oficiala Reta Vortaro (http://www.reta-vortaro.de/revo/) Esperanto Panorama - Esperanto-English Dictionary (http://www.esperanto-panorama.net/vortaro/eoen.htm) ESPDIC - Paul Denisowski (http://www.denisowski.org/Esperanto/ESPDIC/espdic.txt)
2017-08-13simplewallet: mnemonic language command-line argEugene Otto2-1/+14
Add `--mnemonic-language` command-line arg so it's possible to generate a wallet without interacting with the CLI.
2017-08-13Merge pull request #2284Riccardo Spagni7-291/+56
2ec15a69 daemon: print peers' top height in sync_info (moneromooo-monero) 08abb670 protocol: fix reorgs while syncing (moneromooo-monero)
2017-08-12daemon: print peers' top height in sync_infomoneromooo-monero3-2/+8
2017-08-12core: add --db-salvage command line flagmoneromooo-monero4-1/+14
Use to load the database when the primary meta page is corrupted
2017-08-12wallet_rpc_server: adjust small ring sizes to 5 for v6moneromooo-monero2-11/+18
2017-08-12ITS#8704 add MDB_PREVSNAPSHOT flag to mdb_env_openHoward Chu8-15/+68
used to open the previous snapshot, in case the latest one is corrupted
2017-08-12cryptonote_protocol_handler: log versions as unsigned intsmoneromooo-monero1-1/+1
They're interpreted as characters otherwise
2017-08-12protocol: fix reorgs while syncingmoneromooo-monero5-289/+48
2017-08-12miner: set thread name before loggingmoneromooo-monero1-1/+1
2017-08-11p2p: fix random peer index being too largemoneromooo-monero1-0/+2
2017-08-11simplewallet: factor out message_writermoneromooo-monero2-82/+10
2017-08-11scoped_message_writer: pause readline to match simplewalletmoneromooo-monero1-0/+9
2017-08-11wallet_rpc_server: fix possible privacy leak in on_import_key_images()Jaquee1-1/+6
2017-08-11simplewallet: fix possible privacy leak in import_key_images()Jaquee1-0/+6
2017-08-10p2p: get net log spam down a bitmoneromooo-monero1-4/+3
2017-08-10tests: fix tests buildmoneromooo-monero5-2/+30
Add get_fork_version and add_ideal_fork_version to core so cryptonote_protocol does not have to need the Blockchain class directly, as it's not in its dependencies, and add those to the fake core classes in tests too.
2017-08-09p2p: fallback on seed nodes if we can't make a connectionmoneromooo-monero2-6/+26
This avoids failing to connect to the network in case all known peers are unavailable (which can happen if the peer list is small).
2017-08-09cryptonote_protocol: fix recv/send idle time before handshakemoneromooo-monero1-2/+2
2017-08-09cryptonote_protocol: keep target in sync with dropped connectionsmoneromooo-monero2-67/+56
When a node is dropped, we stop considering its claimed blockchain height as a factor in the target height calculation. This prevents a runaway chain from being still thought to be the target even if the nodes carrying it are dropped.
2017-08-09Merge pull request #2271Riccardo Spagni1-0/+1
3ff5ce63 connection_context: initialize state (moneromooo-monero)
2017-08-09connection_context: initialize statemoneromooo-monero1-0/+1
Why this was initialized properly before I have no idea, but it is not anymore. Fix it, which fixes syncing in release mode.
2017-08-09Merge pull request #2269Riccardo Spagni4-1/+26
635929ea protocol: add checks for top block hard fork version (moneromooo-monero) 7482253a epee: fixup KV_SERIALIZE_OPT to work in more cases (moneromooo-monero)
2017-08-09WalletAPI: add getDefaultDataDir()Jaquee3-0/+10
2017-08-09protocol: add checks for top block hard fork versionmoneromooo-monero3-0/+22
We won't even talk to a peer which claims a wrong version for its top block. This will avoid syncing to known bad peers in the first place. Also add IP fails when failing to verify a block.
2017-08-09epee: fixup KV_SERIALIZE_OPT to work in more casesmoneromooo-monero1-1/+4
2017-08-09Merge pull request #2267Riccardo Spagni2-1/+2
e49f6d43 net_node: fix m_in_timedsync initialization (moneromooo-monero)
2017-08-08net_node: fix m_in_timedsync initializationmoneromooo-monero2-1/+2
This fixes nodes not being able to connect to nodes which use recent code. While there, init peer_id too.
2017-08-08Change default block sync size from 200 to 20moneromooo-monero1-1/+1
With the new sync algorithm, the network overhead will be masked as the thread adding blocks isn't interrupted by network calls anymore. This should reduce memory usage a lot during sync.
2017-08-08cryptonote_basic: fix silly CLANG warning about not emitting functionmoneromooo-monero1-1/+1
2017-08-07Merge pull request #2247Riccardo Spagni4-0/+10
a839a6fa Wallet API: add tx unlock time (Jaquee)
2017-08-07Merge pull request #2263Riccardo Spagni1-1/+1
49ffb156 cmake: do not use GREATER_EQUAL, it's too new (moneromooo-monero)
2017-08-07Merge pull request #2231Riccardo Spagni10-63/+67
61770ec2 change mixin to ring size in user visible places (moneromooo-monero)
2017-08-07cmake: do not use GREATER_EQUAL, it's too newmoneromooo-monero1-1/+1
2017-08-07change mixin to ring size in user visible placesmoneromooo-monero10-63/+67
2017-08-07Merge pull request #2262Riccardo Spagni1-1/+1
7f7d42f8 core: fix invalid memory access creating tx (moneromooo-monero)
2017-08-07Merge pull request #2225Riccardo Spagni3-1/+17
5d91b26c blockchain: skip checking tx semantics in embedded block hash range (moneromooo-monero)
2017-08-07Merge pull request #2224Riccardo Spagni1-162/+36
04bd1925 cmake: Update detection of external miniupnpc (Erik de Castro Lopo)
2017-08-07core: fix invalid memory access creating txmoneromooo-monero1-1/+1
2017-08-07Merge pull request #2207Riccardo Spagni5-288/+162
c93b7692 blockchain_import: much faster when verifying with cryptonote::core (moneromooo-monero) 38756d00 core: new API to disable DNS checkpoint lookups (moneromooo-monero)
2017-08-07Merge pull request #2254Riccardo Spagni4-0/+12
e31aac80 walletAPI: add getRefreshFromBlockHeight() (Jaquee) 48c0cb1b wallet api: pause refresh while commiting tx (Jaquee) f233c01c CMakeLists.txt - ios/xcode fix (Jaquee)
2017-08-07Merge pull request #2259Riccardo Spagni2-0/+2
569b9b2b updates: add "misc_log_ex.h" for logs (moneromooo-monero) 74628941 dns_utils: add <functional> for std::function (moneromooo-monero)
2017-08-07updates: add "misc_log_ex.h" for logsmoneromooo-monero1-0/+1
2017-08-07dns_utils: add <functional> for std::functionmoneromooo-monero1-0/+1
2017-08-07blockchain_import: much faster when verifying with cryptonote::coremoneromooo-monero3-287/+152
Quick test with the first 56569 blocks from mainnet version verify batch time old 0 200 1:16 new 0 200 0:57 old 0 5000 0:53 new 0 5000 0:51 old 1 200 est > 1h new 1 200 10:21 old 1 5000 est > 1h new 1 5000 8:27
2017-08-07core: new API to disable DNS checkpoint lookupsmoneromooo-monero2-1/+10
2017-08-07Merge pull request #2218Riccardo Spagni2-3/+145
02f13d6c Fix handling of strings & simplify summation of spendkeys (JollyMort) 40fc9d7b Add option to join multisig wallet pieces together (JollyMort)
2017-08-07Merge pull request #2194Riccardo Spagni1-0/+1
380009e5 README: give credit where credit is due (moneromooo-monero)
2017-08-07Merge pull request #2189Riccardo Spagni1-1/+1
335fc8ab mlog: fix crash accessing stale data when rotating logs (moneromooo-monero)
2017-08-07Merge pull request #2149Riccardo Spagni26-184/+1614
158c3ecf core: thread most of handle_incoming_tx (moneromooo-monero) f57ee382 cryptonote_protocol: retry stale spans early (moneromooo-monero) 90df52e1 cryptonote_protocol: light cleanup (moneromooo-monero) 84e23156 cryptonote_protocol: avoid spurious SYNCHRONIZED OK messages (moneromooo-monero) 5be43fcd cryptonote_protocol_handler: sync speedup (moneromooo-monero)
2017-08-07Merge pull request #2138Riccardo Spagni3-0/+173
044c5b55 Readme: add android docker build instruction (MoroccanMalinois) 82836be4 Utils: Add dockerfile for android NDK build (MoroccanMalinois)
2017-08-07Merge pull request #2126Riccardo Spagni3-979/+3922
98cb3fee italian translation (erciccione) ff07cdc9 updates monero_fr.ts (erciccione) f675fedc updates monero.ts (erciccione)
2017-08-07Merge pull request #2244Riccardo Spagni1-4/+1
328bebbe daemon: some more include cleanup (moneromooo-monero)