aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
AgeCommit message (Collapse)AuthorFilesLines
2017-10-06Merge pull request #2548Riccardo Spagni1-0/+1
7d4ef258 rpc: fix getting txpool transactions (moneromooo-monero)
2017-10-06Merge pull request #2542Riccardo Spagni1-1/+1
180a848c wallet2: Missing underflow check on low heights (landergate)
2017-10-06Merge pull request #2541Riccardo Spagni1-1/+1
15e62581 connection_context: initialize m_callback_request_count to 0 (moneromooo-monero) 5fa199c6 copyable_atomic: add a ctor with initial value (moneromooo-monero)
2017-10-06Merge pull request #2540Riccardo Spagni1-1/+1
71c7f8d0 core: fix logging the one time public key on error (moneromooo-monero)
2017-10-06Merge pull request #2539Riccardo Spagni1-1/+10
93ed9321 cmake: add libversion and libcheckpoints to libwallet_merged (redfish)
2017-10-06Merge pull request #2537Riccardo Spagni1-2/+2
269a2a01 blockchain: fix off by one getting blocks (moneromooo-monero)
2017-10-06Merge pull request #2534Riccardo Spagni2-37/+4
4e115a3a core: remove out sorting from v7 rules (moneromooo-monero)
2017-10-06Merge pull request #2530Riccardo Spagni3-5/+5
cbc5508b construct_tx_and_get_tx_key: return sorted sources for print_ring_memebrs to work properly (stoffu)
2017-10-06Merge pull request #2529Riccardo Spagni2-11/+6
bd937139 wallet2: error check for generate_key_image_helper, removed redundant wallet_generate_key_image_helper (stoffu)
2017-10-06Merge pull request #2468Riccardo Spagni4-2/+32
986d03d4 simplewallet: allow to set threshold before warning about tx backlog (selsta)
2017-10-05Upgrades to epee::net_utils::network_addressLee Clagett4-16/+23
- internal nullptr checks - prevent modifications to network_address (shallow copy issues) - automagically works with any type containing interface functions - removed fnv1a hashing - ipv4_network_address now flattened with no base class
2017-10-03wallet2: error check for generate_key_image_helper, removed redundant ↵stoffu2-11/+6
wallet_generate_key_image_helper
2017-10-03construct_tx_and_get_tx_key: return sorted sources for print_ring_memebrs to ↵stoffu3-5/+5
work properly
2017-10-02Merge pull request #2515Riccardo Spagni1-0/+3
c34093db simplewallet: add privacy warning when using an untrusted demon (moneromooo-monero)
2017-10-02Merge pull request #2513Riccardo Spagni2-3/+6
309290d1 Source updates are in a source subdirectory (moneromooo-monero)
2017-10-02Merge pull request #2512Riccardo Spagni6-6/+17
792ba4f0 Log categories can now be added to and removed from (moneromooo-monero) 48f92eb6 easylogging++: add categories getter (moneromooo-monero) f35afe62 epee: factor log level/categories setting (moneromooo-monero)
2017-10-02Merge pull request #2506Riccardo Spagni1-0/+1
c3de19ed json_object: add missing do_not_relay to tx_in_pool serialization (moneromooo-monero)
2017-10-02simplewallet: allow to set threshold before warning about tx backlogselsta4-2/+32
2017-10-02Merge pull request #2504Riccardo Spagni1-6/+15
f182acdd dns_utils: query DNS records in parallel (moneromooo-monero)
2017-10-02Merge pull request #2491Riccardo Spagni1-7/+20
d5a9edf2 wallet2: fix exception on split txes (moneromooo-monero) 5c5b0fd0 wallet2: print unused indices on a single line (moneromooo-monero)
2017-10-02Merge pull request #2470Riccardo Spagni6-52/+218
2e59f6ea rpc: add new RPCs to get and set limits (MaxXor)
2017-10-02wallet2: fix hash chain trimming when the inner chain becomes emptymoneromooo-monero2-2/+30
It'd prevent further syncing. Recovery of empty hash chains is automatic, but requires a running daemon
2017-09-29rpc: fix getting txpool transactionsmoneromooo-monero1-0/+1
2017-09-27core: remove out sorting from v7 rulesmoneromooo-monero2-37/+4
and restore random shuffle of outputs This turned out to have a flaw (sort order depends on output index), and this doesn't really bring much anyway
2017-09-27wallet2: 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-09-27connection_context: initialize m_callback_request_count to 0moneromooo-monero1-1/+1
2017-09-27core: fix logging the one time public key on errormoneromooo-monero1-1/+1
2017-09-27cmake: add libversion and libcheckpoints to libwallet_mergedredfish1-1/+10
Needed to link monero-core Qt wallet.
2017-09-27blockchain: fix off by one getting blocksmoneromooo-monero1-2/+2
2017-09-26Merge pull request #2533Riccardo Spagni1-0/+2
97cdd4c9 core: undo output sorting (moneromooo-monero)
2017-09-26core: undo output sortingmoneromooo-monero1-0/+2
It looks like it may be buggy
2017-09-25Merge pull request #2527Riccardo Spagni1-1/+2
ba6907f6 core: fix creation of v1 txes (moneromooo-monero)
2017-09-25core: fix creation of v1 txesmoneromooo-monero1-1/+2
2017-09-25Merge pull request #2526Riccardo Spagni1-0/+60
db215ecd checkpoints: add missing CMakeLists.txt (moneromooo-monero)
2017-09-25checkpoints: add missing CMakeLists.txtmoneromooo-monero1-0/+60
2017-09-25wallet2: do not keep block hashes below last checkpointmoneromooo-monero2-20/+100
This saves a lot of space and load/save time for wallet caches
2017-09-25checkpoints: add a token checkpoint on testnet (the genesis block)moneromooo-monero3-3/+10
2017-09-25serialization: add deque serializationmoneromooo-monero2-2/+34
2017-09-25fix typo in basic and core CMakeLists.txtmoneromooo-monero2-2/+2
2017-09-25move checkpoints in a separate librarymoneromooo-monero22-58/+63
2017-09-25Merge pull request #2466Riccardo Spagni1-1/+1
bc429e9c daemon: make this build with boost 1.61 (moneromooo-monero)
2017-09-25Merge pull request #2525Riccardo Spagni2-0/+3
8e0670c6 version: fix link to new version strings (moneromooo-monero)
2017-09-25version: fix link to new version stringsmoneromooo-monero2-0/+3
p2p uses it, and the cpp file needs to know the symbols should be public
2017-09-25wallet2: simplify tx processing a bitmoneromooo-monero2-74/+68
2017-09-25wallet2: factor some of the tx scanning codemoneromooo-monero2-48/+21
2017-09-25Merge pull request #2460Riccardo Spagni1-2/+3
3487d810 cryptonote_protocol: fix needless chain hashes downloads (moneromooo-monero)
2017-09-25Merge pull request #2458Riccardo Spagni4-16/+2
7f2f6ee1 protocol: remove hop count on block propagation (moneromooo-monero)
2017-09-25Merge pull request #2457Riccardo Spagni7-66/+134
d2d8a41c Use actual batch size for resize estimates (Howard Chu)
2017-09-25Merge pull request #2456Riccardo Spagni3-2/+10
91def9a5 daemon, wallet: add --max-log-file-size option (selsta)
2017-09-25Merge pull request #2452Riccardo Spagni3-16/+32
0aaaca29 tx_pool: set the "invalid input" bit when check_tx_inputs fails (moneromooo-monero) 9236823b simplewallet: print tx rejection reason where it was missing (moneromooo-monero) 3dee3301 core_rpc_server: print tx rejection reason at L0 too (moneromooo-monero)
2017-09-25Merge pull request #2424Riccardo Spagni14-65/+60
28b72b6e tx_pool: pre-init tvc.m_verifivation_failed before processing (moneromooo-monero) 50a629b2 core_tests: catch (impossible in practice) tx extra api failure (moneromooo-monero) fee15ef1 wallet2: catch failure to parse address (moneromooo-monero) 1399e26d net_peerlist: remove dead code (moneromooo-monero) 50e09698 tx_pool: guard against failure getting tx hash (moneromooo-monero) 54cc209a wallet_rpc_server: catch failure to create directory (moneromooo-monero) 3e55099c wallet_rpc_server: init m_vm to NULL in ctor (moneromooo-monero) 7d0dde5e wallet_args: remove redundant default value for --log-file (moneromooo-monero) ed4a3350 wallet2: catch failure to save keys file (moneromooo-monero) 44434c8a wallet2_api: check whether dynamic_cast returns NULL (moneromooo-monero) 92f2f687 core: check return value from parse_hexstr_to_binbuff (moneromooo-monero) 5475692e wallet2_api: remove an unused, uninitialized, field (moneromooo-monero) a7ba3de1 libwallet_api_tests: initialize newblock_triggered on reset (moneromooo-monero) b2763ace wallet2_api: init error code to "no error" in the ctor (moneromooo-monero) b5faac53 get_blockchain_top now returns void (moneromooo-monero) 2e44d8f2 wallet_rpc_server: guard against exceptions (moneromooo-monero) 4230876b simplewallet: guard against I/O exceptions (moneromooo-monero) 06c1e057 daemon: initialize decode_as_json in RPC request (moneromooo-monero) 11f71af5 http_base: init size_t in http_request_info ctor (moneromooo-monero)
2017-09-25Merge pull request #2443Riccardo Spagni1-1/+1
ffe27127 wallet_rpc_server: fix index for newly added address book entry (moneromooo-monero)
2017-09-25Merge pull request #2442Riccardo Spagni14-30/+26
e29282d2 build: auto update version info without manually deleting version.h (stoffu)
2017-09-25Merge pull request #2440Riccardo Spagni5-6/+140
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-25tx_pool: pre-init tvc.m_verifivation_failed before processingmoneromooo-monero1-3/+3
CID 175316
2017-09-25wallet2: catch failure to parse addressmoneromooo-monero1-1/+5
CID 175297
2017-09-25net_peerlist: remove dead codemoneromooo-monero1-20/+1
CID 175290
2017-09-25tx_pool: guard against failure getting tx hashmoneromooo-monero1-1/+2
Should be impossible in practice, but easy change CID 175282
2017-09-25wallet_rpc_server: catch failure to create directorymoneromooo-monero1-1/+10
CID 175281
2017-09-25wallet_rpc_server: init m_vm to NULL in ctormoneromooo-monero1-1/+1
CID 175279
2017-09-25wallet_args: remove redundant default value for --log-filemoneromooo-monero1-1/+1
CID 175265
2017-09-25wallet2: catch failure to save keys filemoneromooo-monero1-2/+3
CID 161848
2017-09-25wallet2_api: check whether dynamic_cast returns NULLmoneromooo-monero1-0/+2
CID 161844
2017-09-25core: check return value from parse_hexstr_to_binbuffmoneromooo-monero1-2/+3
2017-09-25wallet2_api: remove an unused, uninitialized, fieldmoneromooo-monero1-1/+0
Silences CID 161874
2017-09-25wallet2_api: init error code to "no error" in the ctormoneromooo-monero1-1/+1
CID 161872
2017-09-25get_blockchain_top now returns voidmoneromooo-monero3-27/+6
It was always returning true, and could not be foreseen to usefully return errors in the future. This silences CID 162652 as well as saves some checking code in a few places.
2017-09-25wallet_rpc_server: guard against exceptionsmoneromooo-monero1-1/+9
CID 175305
2017-09-25simplewallet: guard against I/O exceptionsmoneromooo-monero1-3/+12
CID 175308
2017-09-25daemon: initialize decode_as_json in RPC requestmoneromooo-monero1-0/+1
CID 161886
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 #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-23store is optional during close and defaults to true; except during descructionm2049r5-14/+16
2017-09-22simplewallet: add privacy warning when using an untrusted demonmoneromooo-monero1-0/+3
2017-09-22Source updates are in a source subdirectorymoneromooo-monero2-3/+6
rather than in the same directory as the prebuilt versions
2017-09-22Log categories can now be added to and removed frommoneromooo-monero6-6/+17
Also, set_log without parameters now prints the log categories
2017-09-21json_object: add missing do_not_relay to tx_in_pool serializationmoneromooo-monero1-0/+1
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-21dns_utils: query DNS records in parallelmoneromooo-monero1-6/+15
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 Spagni1-0/+5
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.hstoffu14-30/+26
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 #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-20wallet2: fix exception on split txesmoneromooo-monero1-1/+3
2017-09-20wallet2: print unused indices on a single linemoneromooo-monero1-6/+17
Decreases log spam massively on large wallets
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-19rpc: add new RPCs to get and set limitsMaxXor6-53/+219
2017-09-18Merge pull request #2446Riccardo Spagni13-785/+306
6d0ca7d1 Tweak concurrency limits (Howard Chu) 510d0d47 Use a threadpool (Howard Chu)
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 Spagni30-77/+5461
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-18daemon: make this build with boost 1.61moneromooo-monero1-1/+1
2017-09-18blockchain: reject unsorted ins and outs from v7moneromooo-monero2-1/+47
This ensures no information is leaked by the ordering
2017-09-17Use actual batch size for resize estimatesHoward Chu7-66/+134
And optimize import startup: Remember start_height position during initial count_blocks pass to avoid having to reread entire file again to arrive at start_height
2017-09-17cryptonote_protocol: fix needless chain hashes downloadsmoneromooo-monero1-2/+3
The last known hash was calculated incorrectly, causing further chain hash downloads to restart from the current chain. When the block queue has close to 10k blocks waiting, this causes frequent downloads of 10k more hashes, but with only the last few hashes actually being useful.
2017-09-17protocol: remove hop count on block propagationmoneromooo-monero4-16/+2
It is unused, as it was apparently a future optimization, and it leaks some information (though since pools publish thei blocks they find, that amount seems small).
2017-09-17daemon, wallet: add --max-log-file-size optionselsta3-2/+10
2017-09-16tx_pool: set the "invalid input" bit when check_tx_inputs failsmoneromooo-monero1-0/+1
2017-09-16simplewallet: print tx rejection reason where it was missingmoneromooo-monero1-0/+3
2017-09-16core_rpc_server: print tx rejection reason at L0 toomoneromooo-monero1-16/+28
2017-09-15Tweak concurrency limitsHoward Chu2-2/+6
Create capacity for 2x max, but lie about it
2017-09-14Use a threadpoolHoward Chu13-785/+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 #2438Riccardo Spagni1-2/+18
9443eec1 core: guard against exceptions in tx verification worker threads (moneromooo-monero)
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 Spagni5-1/+18
6ac61100 Add a --fluffy-blocks option to relay blocks as fluffy blocks (moneromooo-monero)
2017-09-13wallet_rpc_server: fix index for newly added address book entrymoneromooo-monero1-1/+1
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-monero2-0/+62
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-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-10wallet: fix --help and --version erroring outmoneromooo-monero1-15/+15
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-08rpc: get_txpool_backlog is now unrestrictedmoneromooo-monero1-1/+1
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 hardcoded checkpointsRiccardo Spagni1-0/+2
2017-09-06update checkpoints.datRiccardo Spagni1-0/+0
2017-09-05Fix various oversights/bugs in ZMQ RPC server codeThomas Winget14-216/+519
- 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 Winget28-3/+4966
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-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-monero5-1/+18
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 Spagni7-28/+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 Spagni1-0/+1
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-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 Chu1-1/+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 Spagni1-0/+8
c656dd0e Fix refresh counter display (Howard Chu) c088d38a Simplify readline support (Howard Chu)
2017-08-26Merge pull request #2314Riccardo Spagni8-2/+58
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 Spagni11-191/+92
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-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 Spagni9-78/+153
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 Spagni1-3/+3
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-23tx_pool: fix crash in statsHoward Chu1-1/+1
if tx receive_time == now. supersedes #2322