aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge pull request #2533Riccardo Spagni2017-09-261-0/+2
|\ \ \ | | | | | | | | | | | | 97cdd4c9 core: undo output sorting (moneromooo-monero)
| * | | core: undo output sortingmoneromooo-monero2017-09-261-0/+2
| | | | | | | | | | | | | | | | It looks like it may be buggy
* | | | Merge pull request #2527Riccardo Spagni2017-09-251-1/+2
|\ \ \ \ | | | | | | | | | | | | | | | ba6907f6 core: fix creation of v1 txes (moneromooo-monero)
| * | | | core: fix creation of v1 txesmoneromooo-monero2017-09-251-1/+2
| |/ / /
* | | | checkpoints: add a token checkpoint on testnet (the genesis block)moneromooo-monero2017-09-251-1/+1
| | | |
* | | | fix typo in basic and core CMakeLists.txtmoneromooo-monero2017-09-251-1/+1
| | | |
* | | | move checkpoints in a separate librarymoneromooo-monero2017-09-253-3/+2
|/ / /
* | | Merge pull request #2458Riccardo Spagni2017-09-251-1/+0
|\ \ \ | | | | | | | | | | | | 7f2f6ee1 protocol: remove hop count on block propagation (moneromooo-monero)
| * | | protocol: remove hop count on block propagationmoneromooo-monero2017-09-171-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | 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).
* | | | Merge pull request #2457Riccardo Spagni2017-09-251-1/+10
|\ \ \ \ | | | | | | | | | | | | | | | d2d8a41c Use actual batch size for resize estimates (Howard Chu)
| * | | | Use actual batch size for resize estimatesHoward Chu2017-09-171-1/+10
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Merge pull request #2452Riccardo Spagni2017-09-251-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | 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)
| * | | | tx_pool: set the "invalid input" bit when check_tx_inputs failsmoneromooo-monero2017-09-161-0/+1
| |/ / /
* | | | Merge pull request #2424Riccardo Spagni2017-09-254-11/+10
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
| * | | | tx_pool: pre-init tvc.m_verifivation_failed before processingmoneromooo-monero2017-09-251-3/+3
| | | | | | | | | | | | | | | | | | | | CID 175316
| * | | | tx_pool: guard against failure getting tx hashmoneromooo-monero2017-09-251-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Should be impossible in practice, but easy change CID 175282
| * | | | core: check return value from parse_hexstr_to_binbuffmoneromooo-monero2017-09-251-2/+3
| | | | |
| * | | | get_blockchain_top now returns voidmoneromooo-monero2017-09-252-5/+2
| | |/ / | |/| | | | | | | | | | | | | | | | | | 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.
* | | | Merge pull request #2442Riccardo Spagni2017-09-251-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | e29282d2 build: auto update version info without manually deleting version.h (stoffu)
| * | | | build: auto update version info without manually deleting version.hstoffu2017-09-211-0/+1
| | |_|/ | |/| |
* | | | Merge pull request #2440Riccardo Spagni2017-09-253-6/+71
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | 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)
| * | | blockchain: reject unsorted ins and outs from v7moneromooo-monero2017-09-181-0/+39
| | | | | | | | | | | | | | | | This ensures no information is leaked by the ordering
| * | | core: sort ins and outs key key image and public key, respectivelymoneromooo-monero2017-09-132-6/+32
| | | | | | | | | | | | | | | | This avoids leaking some small amount of information
* | | | Merge pull request #2496Riccardo Spagni2017-09-211-3/+23
|\ \ \ \ | | | | | | | | | | | | | | | 3b8b4be5 tx_pool: drop invalid txes from the pool on startup (moneromooo-monero)
| * | | | tx_pool: drop invalid txes from the pool on startupmoneromooo-monero2017-09-201-3/+23
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | instead of just failing This is a workaround for bad tx blobs being inserted in the pool for unknown reasons
* / | | blockchain: fix crash checking pre-validated txidsmoneromooo-monero2017-09-201-2/+2
|/ / /
* | | Merge pull request #2446Riccardo Spagni2017-09-183-97/+56
|\ \ \ | | | | | | | | | | | | | | | | 6d0ca7d1 Tweak concurrency limits (Howard Chu) 510d0d47 Use a threadpool (Howard Chu)
| * | | Use a threadpoolHoward Chu2017-09-143-97/+56
| | |/ | |/| | | | | | | Instead of constantly creating and destroying threads
* | | Merge pull request #2023Riccardo Spagni2017-09-181-1/+1
|\ \ \ | | | | | | | | | | | | f761dbae Remove 1.25x multiplier from tx_pool (Nano Akron)
| * | | Remove 1.25x multiplier from tx_poolNano Akron2017-09-141-1/+1
| |/ /
* | | Merge pull request #2044Riccardo Spagni2017-09-186-74/+303
|\ \ \ | |/ / |/| | | | | | | | | | | | | | 0299cb77 Fix various oversights/bugs in ZMQ RPC server code (Thomas Winget) 77986023 json serialization for rpc-relevant monero types (Thomas Winget) 5c1e08fe Refactor some things into more composable (smaller) functions (Thomas Winget) 9ac2ad07 DRY refactoring (Thomas Winget)
| * | json serialization for rpc-relevant monero typesThomas Winget2017-09-055-1/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | Refactor some things into more composable (smaller) functionsThomas Winget2017-09-052-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.
| * | DRY refactoringThomas Winget2017-08-312-1/+13
| | |
* | | Merge pull request #2438Riccardo Spagni2017-09-141-2/+18
|\ \ \ | | | | | | | | | | | | 9443eec1 core: guard against exceptions in tx verification worker threads (moneromooo-monero)
| * | | core: guard against exceptions in tx verification worker threadsmoneromooo-monero2017-09-121-2/+18
| | |/ | |/|
* | | Merge pull request #2404Riccardo Spagni2017-09-141-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | e5238adf update checkpoint hashes (Riccardo Spagni) d4f56bdf update hardcoded checkpoints (Riccardo Spagni) ed730511 update checkpoints.dat (Riccardo Spagni)
| * | | update checkpoint hashesRiccardo Spagni2017-09-061-1/+1
| |/ /
* | | Merge pull request #2396Riccardo Spagni2017-09-141-1/+1
|\ \ \ | | | | | | | | | | | | dbfef643 tx_pool: catch exceptions in LockedTXN dtor (moneromooo-monero)
| * | | tx_pool: catch exceptions in LockedTXN dtormoneromooo-monero2017-09-041-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.
* / / Add a --fluffy-blocks option to relay blocks as fluffy blocksmoneromooo-monero2017-09-032-0/+11
|/ / | | | | | | Defaults to off, but fluffy blocks are forced enabled on testnet
* | Merge pull request #2374Riccardo Spagni2017-09-021-0/+3
|\ \ | | | | | | | | | e72e625e tx_pool: wrap tx meta updates in a LockedTXN (moneromooo-monero)
| * | tx_pool: wrap tx meta updates in a LockedTXNmoneromooo-monero2017-08-291-0/+3
| |/
* | Merge pull request #2372Riccardo Spagni2017-09-022-5/+25
|\ \ | | | | | | | | | | | | | | | 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)
| * | Fix blockchain_import wedge on exception in cleanup_handle_incoming_blocksmoneromooo-monero2017-08-292-5/+17
| | |
| * | core: guard against exceptions in handle_incoming_{block,tx}moneromooo-monero2017-08-291-0/+8
| |/ | | | | | | | | When one happens, cleanup must be called or the incoming tx lock will stay locked
* / move db specific options to BlockchainDBmoneromooo-monero2017-08-291-6/+4
|/ | | | | Avoids common depending on blockchain_db, which can cause link errors.
* Merge pull request #2349Riccardo Spagni2017-08-271-2/+20
|\ | | | | | | | | 1914c999 txpool: update db tx metadata when it changes (moneromooo) 4dbf29bd txpool: add tx size median to the pool stats (moneromooo)
| * txpool: update db tx metadata when it changesmoneromooo2017-08-251-1/+15
| |
| * txpool: add tx size median to the pool statsmoneromooo2017-08-251-1/+5
| |