aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-09-25Merge pull request #2442Riccardo Spagni20-46/+63
e29282d2 build: auto update version info without manually deleting version.h (stoffu)
2017-09-25Merge pull request #2440Riccardo Spagni7-6/+215
6137a0b9 blockchain: reject unsorted ins and outs from v7 (moneromooo-monero) 16afab90 core: sort ins and outs key key image and public key, respectively (moneromooo-monero) 0c36b9f9 common: add apply_permutation file and function (moneromooo-monero)
2017-09-25Merge pull request #2435Riccardo Spagni2-143/+5
74a465c8 Repo: remove in-tree VRP, link to single-policy VRP (anonimal)
2017-09-25Merge pull request #2428Riccardo Spagni1-0/+2
054054c9 p2p: disable gray list housekeeping when an exclusive node is given (moneromooo-monero)
2017-09-25Merge pull request #2425Riccardo Spagni1-2/+3
df322ddd utils: systemd: dir for pidfile with permissions (redfish)
2017-09-25Merge pull request #2418Riccardo Spagni1-13/+7
50431112 cmake: make warning about headers not fatal (redfish) 0a70ba2c cmake: fix setting of -Werror (redfish)
2017-09-25Merge pull request #2398Riccardo Spagni1-4/+0
e0592e87 dns_utils: remove a few obsolete things (moneromooo-monero)
2017-09-25Merge pull request #2386Riccardo Spagni2-19/+29
a15e8583 wallet2: guard against daemon sending txes in the wrong order (moneromooo-monero) 8fe5f609 rpc: order transactions in the order they were requested (moneromooo-monero)
2017-09-25Merge pull request #2379Riccardo Spagni4-53/+101
9c83f806 Do not create file when RPC user/pass is given and use file locking (Lee Clagett)
2017-09-25Merge pull request #2377Riccardo Spagni3-2/+146
b5cbdce8 wallet2: correctly handle in/out payments for view-only wallet (stoffu)
2017-09-25Merge pull request #2357Riccardo Spagni1-1/+1
58015df4 Fix getblocktemplate RPC returning wrong reserved_offset (Guillaume LE VAILLANT)
2017-09-25Merge pull request #2289Riccardo Spagni5-14/+16
6ee1116d store is optional during close and defaults to true; except during descruction (m2049r)
2017-09-25Merge pull request #2257Riccardo Spagni6-5/+63
651baaec wallet: add encrypted seed functionality (moneromooo-monero)
2017-09-24cmake: make warning about headers not fatalredfish1-1/+1
Warning issued on older boost and/or OS: In file included from /usr/include/boost/asio/detail/socket_types.hpp:61:0, from /usr/include/boost/asio/detail/epoll_reactor.hpp:30, from /usr/include/boost/asio/detail/reactor.hpp:21, from /usr/include/boost/asio/detail/impl/task_io_service.ipp:24, from /usr/include/boost/asio/detail/task_io_service.hpp:198, from /usr/include/boost/asio/impl/io_service.hpp:71, from /usr/include/boost/asio/io_service.hpp:767, from /usr/include/boost/asio/basic_io_object.hpp:19, from /usr/include/boost/asio/basic_socket.hpp:20, from /usr/include/boost/asio/basic_datagram_socket.hpp:20, from /usr/include/boost/asio.hpp:21, from /home/vagrant/slave/monero-static-alpine-3_5-x86_64/build/src/common/download.cpp:32: /usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp] #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
2017-09-24cmake: fix setting of -Werrorredfish1-12/+6
Setting COMPILE_FLAGS (or COMPILE_OPTIONS) property directly does not end up on the command line (even though it should because add_compile_options does just that). Also, set -Werror for tests as well, because no warnings now. Not set for 'external' only because simply moving add_compile_options above add_subdirectory(external) doesn't do it, and moving add_usbdirectory down is too big of a change (it will pick up new flags). -Werror set only for GCC on Linux, since warnings not yet cleared for other compilers/systems.
2017-09-23store is optional during close and defaults to true; except during descructionm2049r5-14/+16
2017-09-21Merge pull request #2496Riccardo Spagni1-3/+23
3b8b4be5 tx_pool: drop invalid txes from the pool on startup (moneromooo-monero)
2017-09-21Merge pull request #2492Riccardo Spagni1-2/+2
e457aa51 blockchain: fix crash checking pre-validated txids (moneromooo-monero)
2017-09-21Merge pull request #2477Riccardo Spagni1-2/+2
9aeae7a2 db_lmdb: fix use of uninitialized key in for_blocks_range (moneromooo-monero)
2017-09-21Merge pull request #2479Riccardo Spagni1-1/+3
58908295 Fixes static_assert on arm and ppc builds (Lee Clagett)
2017-09-21Merge pull request #2324Riccardo Spagni1-1/+1
c09aa94d daemon: indicate whether the spent key image is mined or unconfirmed (stoffu)
2017-09-21Merge pull request #2302Riccardo Spagni3-22/+20
ef005f5e p2p: add a couple early outs when the stop signal is received (moneromooo-monero) 80d361c7 abstract_tcp_server2: improve tracking/cancelling of early connections (moneromooo-monero)
2017-09-21build: auto update version info without manually deleting version.hstoffu20-46/+63
2017-09-21daemon: indicate whether the spent key image is mined or unconfirmedstoffu1-1/+1
2017-09-21wallet2: correctly handle in/out payments for view-only walletstoffu3-2/+146
2017-09-20Merge pull request #2441Riccardo Spagni1-1/+1
fee3c3ed Update wallet2.cpp for misspelling (Matthew Campassi)
2017-09-20Merge pull request #2429Riccardo Spagni1-15/+15
55b91d86 wallet: fix --help and --version erroring out (moneromooo-monero)
2017-09-20Merge pull request #2414Riccardo Spagni1-1/+1
ea016330 updated clarification bc_dyn_stats (Matthew Campassi) 5aa2f24b clarification bc_dyn_stats (Matthew Campassi)
2017-09-20Merge pull request #2412Riccardo Spagni2-9/+9
81fb2f53 Silence more stupid gcc warnings (Howard Chu)
2017-09-20Merge pull request #2410Riccardo Spagni1-13/+0
20256b7c Fix AC power supply detection on Linux (Guillaume LE VAILLANT)
2017-09-20Merge pull request #2405Riccardo Spagni1-6/+7
9cad4981 readme.me again, fixed v2 fork info on table (Gingeropolous) 8f68291d README.md - update info for first fork (Gingeropolous) 43813327 README.md - update fork table with fork height (Gingeropolous) 0e7e307c update hardfork table with height and version info (Gingeropolous)
2017-09-20Merge pull request #2399Riccardo Spagni1-5/+5
d0bbc591 Only check for upnp version if version is determined (Orestis Konstantinidis)
2017-09-20Merge pull request #2381Riccardo Spagni2-0/+11
840aed1c monero-wallet-cli: New command 'wallet_info' improved (rbrunner7) 9bdd985c monero-wallet-cli: New command 'wallet_info' (rbrunner7)
2017-09-20Merge pull request #2376Riccardo Spagni2-48/+102
e3680b69 Rename m_listenning_port to m_listening_port (MaxXor) a1ea475f Delete UPnP port mapping on exit (MaxXor)
2017-09-20tx_pool: drop invalid txes from the pool on startupmoneromooo-monero1-3/+23
instead of just failing This is a workaround for bad tx blobs being inserted in the pool for unknown reasons
2017-09-20blockchain: fix crash checking pre-validated txidsmoneromooo-monero1-2/+2
2017-09-19Fixes static_assert on arm and ppc buildsLee Clagett1-1/+3
2017-09-19db_lmdb: fix use of uninitialized key in for_blocks_rangemoneromooo-monero1-2/+2
2017-09-18Merge pull request #2446Riccardo Spagni15-963/+306
6d0ca7d1 Tweak concurrency limits (Howard Chu) 510d0d47 Use a threadpool (Howard Chu)
2017-09-18Merge pull request #2416Riccardo Spagni1-1/+3
2b363e10 README.md: add instructions to fix core pattern (moneromooo-monero)
2017-09-18Merge pull request #2174Riccardo Spagni1-0/+120
87f58974 Docs: C4 revisions as discussed in #2174 (anonimal) 84d25d25 Docs: C4 development process addendum (anonimal) e022c4e9 Docs: add C4 to contributing guide (anonimal)
2017-09-18Merge pull request #2023Riccardo Spagni1-1/+1
f761dbae Remove 1.25x multiplier from tx_pool (Nano Akron)
2017-09-18Merge pull request #2044Riccardo Spagni31-77/+5471
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)
2017-09-18blockchain: reject unsorted ins and outs from v7moneromooo-monero3-1/+76
This ensures no information is leaked by the ordering
2017-09-15Tweak concurrency limitsHoward Chu2-2/+6
Create capacity for 2x max, but lie about it
2017-09-14Use a threadpoolHoward Chu15-963/+302
Instead of constantly creating and destroying threads
2017-09-14Remove 1.25x multiplier from tx_poolNano Akron1-1/+1
2017-09-14Merge pull request #2378Riccardo Spagni25-159/+619
b338dad2 update miniupnpc (MaxXor)
2017-09-14Merge pull request #2438Riccardo Spagni1-2/+18
9443eec1 core: guard against exceptions in tx verification worker threads (moneromooo-monero)
2017-09-14Merge pull request #2421Riccardo Spagni1-0/+4
edda2014 ITS#8728 fix MDB_VL32 freeing overflow page (Howard Chu)
2017-09-14Merge pull request #2417Riccardo Spagni1-1/+1
a9845cc3 rpc: get_txpool_backlog is now unrestricted (moneromooo-monero)
2017-09-14Merge pull request #2404Riccardo Spagni3-1/+3
e5238adf update checkpoint hashes (Riccardo Spagni) d4f56bdf update hardcoded checkpoints (Riccardo Spagni) ed730511 update checkpoints.dat (Riccardo Spagni)
2017-09-14Merge pull request #2396Riccardo Spagni1-1/+1
dbfef643 tx_pool: catch exceptions in LockedTXN dtor (moneromooo-monero)
2017-09-14Merge pull request #2392Riccardo Spagni7-1/+20
6ac61100 Add a --fluffy-blocks option to relay blocks as fluffy blocks (moneromooo-monero)
2017-09-14Merge pull request #2389Riccardo Spagni1-2/+3
11818487 Use latest height for fork date estimate (Howard Chu)
2017-09-13core: sort ins and outs key key image and public key, respectivelymoneromooo-monero2-6/+32
This avoids leaking some small amount of information
2017-09-13common: add apply_permutation file and functionmoneromooo-monero4-0/+108
This algorithm is adapted from Raymond Chen's code: https://blogs.msdn.microsoft.com/oldnewthing/20170109-00/?p=95145
2017-09-12Update wallet2.cpp for misspellingMatthew Campassi1-1/+1
Misspelling in wallet2.cpp
2017-09-12wallet: add encrypted seed functionalitymoneromooo-monero6-5/+63
This uses luigi1111's CN_Add method. See https://xmr.llcoins.net for details.
2017-09-12core: guard against exceptions in tx verification worker threadsmoneromooo-monero1-2/+18
2017-09-12Docs: C4 revisions as discussed in #2174anonimal1-25/+17
2017-09-11Repo: remove in-tree VRP, link to single-policy VRPanonimal2-143/+5
2017-09-11wallet2: guard against daemon sending txes in the wrong ordermoneromooo-monero1-12/+10
2017-09-11rpc: order transactions in the order they were requestedmoneromooo-monero1-7/+19
2017-09-10utils: systemd: dir for pidfile with permissionsredfish1-2/+3
monerod runs as user monero which does not have write permissions for /var/run. Use systemd's RuntimeDirectory feature to handle this.
2017-09-10readme.me again, fixed v2 fork info on tableGingeropolous1-1/+1
included increased fee free zone of 60 kb, changed data of v2
2017-09-10wallet: fix --help and --version erroring outmoneromooo-monero1-15/+15
2017-09-10README.md - update info for first forkGingeropolous1-1/+1
Include change in blocktime
2017-09-10README.md - update fork table with fork height Gingeropolous1-6/+7
I added a column for fork height and included the september 2016 fork info
2017-09-10p2p: disable gray list housekeeping when an exclusive node is givenmoneromooo-monero1-0/+2
Exclusive nodes may be used for privacy reasons, and thus we don't want to connect to other nodes, even for checking connectivity. See https://github.com/monero-project/monero/issues/2346
2017-09-09ITS#8728 fix MDB_VL32 freeing overflow pageHoward Chu1-0/+4
Fix #2420
2017-09-08rpc: get_txpool_backlog is now unrestrictedmoneromooo-monero1-1/+1
2017-09-08README.md: add instructions to fix core patternmoneromooo-monero1-1/+3
2017-09-08updated clarification bc_dyn_stats Matthew Campassi1-1/+1
updated clarification of required parameter for bc_dyn_stats
2017-09-08clarification bc_dyn_statsMatthew Campassi1-1/+1
clarification of required parameter for bc_dyn_stats
2017-09-08Silence more stupid gcc warningsHoward Chu2-9/+9
2017-09-08Fix AC power supply detection on LinuxGuillaume LE VAILLANT1-13/+0
The /sys/class/power_supply/*/present file usually does not exist for AC power supplies.
2017-09-06update checkpoint hashesRiccardo Spagni1-1/+1
2017-09-06update hardfork table with height and version infoGingeropolous1-2/+2
2017-09-06update hardcoded checkpointsRiccardo Spagni1-0/+2
2017-09-06update checkpoints.datRiccardo Spagni1-0/+0
2017-09-05Fix various oversights/bugs in ZMQ RPC server codeThomas Winget15-216/+527
- Add some RPC commands (and touch up a couple others) - some bounds checking - some better pointer management - const correctness and error handling -- Thanks @vtnerd for type help with serialization and CMake changes
2017-09-05json serialization for rpc-relevant monero typesThomas Winget29-3/+4968
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-05Refactor some things into more composable (smaller) functionsThomas Winget2-73/+179
This commit refactors some of the rpc-related functions in the Blockchain class to be more composable. This change was made in order to make implementing the new zmq rpc easier without trampling on the old rpc. New functions: Blockchain::get_num_mature_outputs Blockchain::get_random_outputs Blockchain::get_output_key Blockchain::get_output_key_mask_unlocked Blockchain::find_blockchain_supplement (overload) functions which previously had this functionality inline now call these functions as necessary.
2017-09-04Only check for upnp version if version is determinedOrestis Konstantinidis1-5/+5
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-04dns_utils: remove a few obsolete thingsmoneromooo-monero1-4/+0
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 #2384Riccardo Spagni3-26/+27
4e0e4e99 blockchain_import: warn for chunks over 500000, not 100000 (moneromooo-monero) 5b29e87f blockchain_import: properly cleanup core/db on exit (moneromooo-monero) e167c4d9 blockchain_import: do not error out on truncated files (moneromooo-monero)
2017-09-02Merge pull request #2374Riccardo Spagni1-0/+3
e72e625e tx_pool: wrap tx meta updates in a LockedTXN (moneromooo-monero)
2017-09-02Merge pull request #2372Riccardo Spagni6-21/+89
c867357a cryptonote_protocol: error handling on cleanup_handle_incoming_blocks (moneromooo-monero) ce901fcb Fix blockchain_import wedge on exception in cleanup_handle_incoming_blocks (moneromooo-monero) 84fa015e core: guard against exceptions in handle_incoming_{block,tx} (moneromooo-monero)
2017-09-02Merge pull request #2370Riccardo Spagni9-40/+40
3d19ab70 Revert "Cleanup test impact of moving blockchain_db_types()" (Howard Chu) a95e460c move db specific options to BlockchainDB (moneromooo-monero)
2017-09-02Merge pull request #2364Riccardo Spagni1-0/+1
63d8dddc cryptonote_protocol: remove old spans when received as old blocks (moneromooo-monero)
2017-09-02Merge pull request #2362Riccardo Spagni4-26/+106
adce8ae4 simplewallet: new "fee" command to display fee information (moneromooo-monero)
2017-09-02Merge pull request #2342Riccardo Spagni1-0/+3
2e338ca5 wallet2: account for huge testnet reorgs for estimating height (moneromooo-monero)
2017-09-02Merge pull request #2329Riccardo Spagni1-0/+2
e3c4395a p2p: init hashes after deserializing a network address (moneromooo-monero)
2017-09-02Merge pull request #2316Riccardo Spagni2-5/+11
0c6c3eb3 Silence stupid fallthru warning in gcc 7 (Howard Chu)
2017-09-02Merge pull request #2310Riccardo Spagni1-1/+1
ea996f91 clarification of parameters for print_coinbase_tx_sum (Matthew Campassi)
2017-09-02Merge pull request #2309Riccardo Spagni3-20/+111
d58700e0 WalletAPI: only allow trusted daemon when importing key images (Jaquee) 8a9bbd26 WalletAPI: copy wallet data when creating a view only wallet (Jaquee) d27fe32e wallet2: export/import wallet data functions (Jaquee) 225a25f3 import_key_images - allow importing without being connected to daemon (Jaquee)
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-01Rename m_listenning_port to m_listening_portMaxXor2-7/+7
2017-08-31monero-wallet-cli: New command 'wallet_info' improvedrbrunner71-5/+4
2017-08-31DRY refactoringThomas Winget3-2/+14
2017-08-31monero-wallet-cli: New command 'wallet_info'rbrunner72-0/+12
2017-08-30Do not create file when RPC user/pass is given and use file lockingLee Clagett4-53/+101
2017-08-30update miniupnpcMaxXor25-159/+619
2017-08-29Delete UPnP port mapping on exitMaxXor2-43/+97
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-29Revert "Cleanup test impact of moving blockchain_db_types()"Howard Chu3-13/+0
This reverts commit 3dd34a49efd2954b0a5eb020abd168d9379b98c4.
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-29move db specific options to BlockchainDBmoneromooo-monero6-27/+40
Avoids common depending on blockchain_db, which can cause link errors.
2017-08-28cryptonote_protocol: remove old spans when received as old blocksmoneromooo-monero1-0/+1
fixes getting those in a loop
2017-08-27Merge pull request #2349Riccardo Spagni3-3/+23
1914c999 txpool: update db tx metadata when it changes (moneromooo) 4dbf29bd txpool: add tx size median to the pool stats (moneromooo)
2017-08-27Merge pull request #2347Riccardo Spagni2-6/+14
5807529e blockchain: cap memory size of retrieved blocks (moneromooo-monero) c1b10381 rpc: decrease memory usage a bit in getblocks.bin (moneromooo-monero)
2017-08-26Merge pull request #2320Riccardo Spagni4-140/+93
c656dd0e Fix refresh counter display (Howard Chu) c088d38a Simplify readline support (Howard Chu)
2017-08-26Merge pull request #2314Riccardo 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 #2313Riccardo 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 #2353Riccardo Spagni1-2/+3
19393115 daemon: fix backlog estimating at max block size (moneromooo-monero)
2017-08-26Merge pull request #2355Riccardo Spagni11-3/+203
f906d87e wallet: new option to check/confirm txpool backlog when sending (moneromooo-monero) 55bec1f0 rpc: add a new RPC to get current txpool backlog (sizes and fees) (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-26Fix getblocktemplate RPC returning wrong reserved_offsetGuillaume LE VAILLANT1-1/+1
The byte for TX_EXTRA_TAG_PUBKEY is already included in res.reserved_offset by the call to slow_memmem.
2017-08-26wallet: new option to check/confirm txpool backlog when sendingmoneromooo-monero4-3/+123
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-26rpc: add a new RPC to get current txpool backlog (sizes and fees)moneromooo-monero7-0/+80
2017-08-25txpool: update db tx metadata when it changesmoneromooo1-1/+15
2017-08-25txpool: add tx size median to the pool statsmoneromooo3-2/+8
2017-08-25wallet2: account for huge testnet reorgs for estimating heightmoneromooo-monero1-0/+3
2017-08-25Merge pull request #2311Riccardo 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 #2330Riccardo Spagni1-1/+1
ea15e72d tx_pool: fix crash in stats (Howard Chu)
2017-08-25Merge pull request #2328Riccardo Spagni1-2/+24
679a5ab8 daemon: print estimated tx backlog in print_pool_stats (moneromooo-monero)
2017-08-25Merge pull request #2326Riccardo Spagni2-3/+6
64ab8844 rpc_client: print destination host/port when failing to connect (moneromooo-monero) 333f7012 http_client: add getters for host and port (moneromooo-monero)
2017-08-25Merge pull request #2306Riccardo Spagni1-0/+3
5d989b66 core: add mainnet v6 fork height at 1400000 (moneromooo-monero)
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-23p2p: init hashes after deserializing a network addressmoneromooo-monero1-0/+2
Fixes multiple connections to the same address
2017-08-23daemon: print estimated tx backlog in print_pool_statsmoneromooo-monero1-2/+24
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-22rpc_client: print destination host/port when failing to connectmoneromooo-monero1-3/+3
2017-08-22http_client: add getters for host and portmoneromooo-monero1-0/+3
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-21WalletAPI: only allow trusted daemon when importing key imagesJaquee1-0/+5
2017-08-21WalletAPI: copy wallet data when creating a view only walletJaquee1-0/+27
2017-08-21wallet2: export/import wallet data functionsJaquee2-1/+55
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-18import_key_images - allow importing without being connected to daemonJaquee2-19/+24
2017-08-18clarification of parameters for print_coinbase_tx_sumMatthew Campassi1-1/+1
2017-08-18core: add mainnet v6 fork height at 1400000moneromooo-monero1-0/+3
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-16p2p: add a couple early outs when the stop signal is receivedmoneromooo-monero1-0/+5
This avoids quicker exit
2017-08-16abstract_tcp_server2: improve tracking/cancelling of early connectionsmoneromooo-monero2-22/+15
We don't actually need to keep them past the call to start, as this adds them to the config object list, and so they'll then be cancelled already when the stop signal arrives. This allows removing the periodic call to cleanup connections.
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)