aboutsummaryrefslogtreecommitdiff
path: root/src/blockchain_utilities
Commit message (Collapse)AuthorAgeFilesLines
...
| * | ringdb: allow blackballing many outputs at oncemoneromooo-monero2018-09-091-4/+17
| |/ | | | | | | It cuts down on txn commits, and speeds up blackballing substantially
* | Merge pull request #4147Riccardo Spagni2018-09-143-0/+1187
|\ \ | | | | | | | | | | | | | | | | | | | | | a4d2d842 blockchain_depth: add average min depth (moneromooo-monero) 289880d8 blockchain_depth: get the average min depth of a set of txes (moneromooo-monero) 628428a0 blockchain_ancestry: faster and uses less memory (moneromooo-monero) 2382484d blockchain_ancestry: add an incremental mode (moneromooo-monero) 888324fa blockchain_ancestry: finds all ancestors of a tx, block, or chain (moneromooo-monero)
| * | blockchain_depth: add average min depthmoneromooo-monero2018-08-071-3/+7
| | |
| * | blockchain_depth: get the average min depth of a set of txesmoneromooo-monero2018-08-072-0/+379
| | |
| * | blockchain_ancestry: faster and uses less memorymoneromooo-monero2018-07-301-50/+114
| | |
| * | blockchain_ancestry: add an incremental modemoneromooo-monero2018-07-301-25/+99
| | |
| * | blockchain_ancestry: finds all ancestors of a tx, block, or chainmoneromooo-monero2018-07-302-0/+666
| | |
* | | v8: per byte fee, pad bulletproofs, fixed 11 ring sizemoneromooo-monero2018-09-113-7/+7
| |/ |/|
* | Merge pull request #4196luigi11112018-08-151-4/+3
|\ \ | | | | | | | | | 361513a blockchain_blackball: use a bit less memory (moneromooo-monero)
| * | blockchain_blackball: use a bit less memorymoneromooo-monero2018-08-091-4/+3
| |/
* / blockchain_blackball: allow resumable interrupt with ^Cmoneromooo-monero2018-07-301-0/+13
|/
* Merge pull request #4064luigi11112018-07-191-3/+3
|\ | | | | | | 80d7c6c blockchain_utilities: report file offset where a read error occurs (moneromooo-monero)
| * blockchain_utilities: report file offset where a read error occursmoneromooo-monero2018-06-271-3/+3
| |
* | Merge pull request #4060Riccardo Spagni2018-07-101-0/+1
|\ \ | | | | | | | | | 22411149 blockchain_import: make sleep compile on Windows (iDunk5400)
| * | blockchain_import: make sleep compile on WindowsiDunk54002018-07-031-0/+1
| |/
* | Merge pull request #3716luigi11112018-06-271-4/+4
|\ \ | |/ |/| | | a2b557f 6795bd0 209ec96 ed2c81e a830db2 57ea902 31a895e ba8331c f7f1917 41be339 f025ae9 ef2cb63 dcfd299 5d3e702 2704624 2771a18 0e4c7d0 (moneromooo-monero)
| * replace std::list with std::vector on some hot pathsmoneromooo-monero2018-06-261-4/+4
| | | | | | | | also use reserve where appropriate
* | Merge pull request #3948luigi11112018-06-251-4/+16
|\ \ | |/ |/| | | c367609 blockchain_import: warn+delay about using --dangerous-unverified-import (moneromooo-monero)
| * blockchain_import: warn+delay about using --dangerous-unverified-importmoneromooo-monero2018-06-071-4/+16
| | | | | | | | This is the new name for --guard-against-pwnage 0
* | Merge pull request #3924luigi11112018-06-201-1/+1
|\ \ | | | | | | | | | afed978 Fixes #3645: error on freebsd lambda return values forced to std::string (rockhouse)
| * | Fixes #3645: error on freebsd lambda return values forced to std::stringS2018-06-041-1/+1
| |/
* | Merge pull request #3428luigi11112018-06-082-26/+148
|\ \ | |/ |/| | | | | | | b26cd26 blockchain_utilities: do not link against unneeded p2p lib (moneromooo-monero) 66f4700 blockchain_blackball: add incremental mode (moneromooo-monero) e09710f blockchain_blackball: also blackball N N-sized duplicate rings (moneromooo-monero)
| * blockchain_blackball: also blackball N N-sized duplicate ringsmoneromooo-monero2018-05-301-5/+48
| | | | | | | | | | | | These are unlikely to happen at random, but Wijaya et al made a paper about it, so people might try it on purpose now (and it turns out it's easy to add anyway)
| * blockchain_blackball: add incremental modemoneromooo-monero2018-05-301-19/+102
| |
| * blockchain_utilities: do not link against unneeded p2p libmoneromooo-monero2018-05-301-4/+0
| |
* | Merge pull request #3543luigi11112018-05-311-3/+10
|\ \ | | | | | | | | | 6fc97c9 blockchain_usage: don't divide by 0 when there is nothing to process (moneromooo-monero)
| * | blockchain_usage: don't divide by 0 when there is nothing to processmoneromooo-monero2018-04-031-3/+10
| | | | | | | | | | | | Coverity 184942
* | | db_lmdb: save pruned and prunable tx data separatelymoneromooo-monero2018-05-231-1/+1
| |/ |/| | | | | This bumps DB version to 2, migration code will run for v1 DBs
* | blockchain_blackball: fix build with CLANG 5moneromooo-monero2018-04-121-1/+2
|/ | | | It doesn't like the explicit NULL dereference (which is fine, honest)
* ringdb: use the genesis block as a db namemoneromooo-monero2018-03-161-1/+3
| | | | | | | This will avoid careless forkers polluting the shared database even if they make their own chain. They'll then automatically start using another subdb, and any key-reusing fork of those forks will reuse their subdbs.
* new blockchain_usage tool, reports on output usagemoneromooo-monero2018-03-162-0/+289
|
* wallet: make ringdb an object with database statemoneromooo-monero2018-03-161-4/+6
|
* blockchain_utilities: new blockchain_blackball toolmoneromooo-monero2018-03-162-0/+460
| | | | | | | | | | It scans for known spent outputs and stores their public keys in a database which can then be read by the wallet, which can then avoid using those as fake outs in new transactions. Usage: monero-blockchain-blackball db1 db2... This uses the shared database in ~/.shared-ringdb
* Stagenetstoffu2018-03-052-5/+16
|
* options: remove testnet-* optionswhythat2018-02-162-7/+3
|
* blockchain_export: fix buffer overflow in exportermoneromooo-monero2018-02-021-1/+1
| | | | Coverity 182550
* Update 2018 copyrightxmr-eric2018-01-2610-10/+10
|
* Merge pull request #2997Riccardo Spagni2018-01-101-2/+2
|\ | | | | | | 7c4f01a7 blockchain_import: more informative verification switch (moneromooo-monero)
| * blockchain_import: more informative verification switchmoneromooo-monero2017-12-231-2/+2
| |
* | Add misc hardening flags to the cmake machinerymoneromooo-monero2017-12-311-2/+2
| | | | | | | | See https://wiki.debian.org/Hardening#User_Space
* | use const refs in for loops for non tiny typesmoneromooo-monero2017-12-181-1/+1
|/
* move includes around to lessen overall loadmoneromooo-monero2017-12-163-2/+5
|
* Merge pull request #2778Riccardo Spagni2017-11-151-9/+8
|\ | | | | | | c957795b fix output_stream_header memory leak (MaxXor)
| * fix output_stream_header memory leakMaxXor2017-11-081-9/+8
| |
* | Merge pull request #2736Riccardo Spagni2017-11-142-17/+8
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 0d9c0db9 Do not build against epee_readline if it was not built (Howard Chu) 178014c9 split off readline code into epee_readline (moneromooo-monero) a9e14a19 link against readline only for monerod and wallet-wallet-{rpc,cli} (moneromooo-monero) 437421ce wallet: move some scoped_message_writer calls from the libs (moneromooo-monero) e89994e9 wallet: rejig to avoid prompting in wallet2 (moneromooo-monero) ec5135e5 move input_line from command_line to simplewallet (moneromooo-monero) 082db75f move cryptonote command line options to cryptonote_core (moneromooo-monero)
| * | move cryptonote command line options to cryptonote_coremoneromooo-monero2017-11-142-17/+8
| |/ | | | | | | Those have no reason to be in a generic module
* / remove "using namespace std" from headersmoneromooo-monero2017-11-143-5/+5
|/ | | | | | | It's nasty, and actually breaks on Solaris, where if.h fails to build due to: struct map *if_memmap;
* blockchain_utilities: Add monero-blockchain-{ex,im}port binaries toBertrand Jacquin2017-10-151-0/+2
| | | | | | | | | | | default install targets Binaries available to download on https://getmonero.org/downloads/ as embedding monerod, monero-wallet-{cli,rpc} and monero-blockchain-{ex,im}port. This change synchronise download results with a manual build from source
* Fix compiler warnings with Clang 6.0.0.Vasil Dimov2017-10-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | monero/src/cryptonote_protocol/block_queue.cpp:208:44: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] static const boost::uuids::uuid uuid0 = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } monero/src/wallet/wallet_rpc_server.cpp:1895:43: error: lambda capture 'wal' is not used [-Werror,-Wunused-lambda-capture] tools::signal_handler::install([&wrpc, &wal](int) { ^ monero/src/cryptonote_protocol/cryptonote_protocol_handler.inl:1616:40: error: lambda capture 'arg' is not used [-Werror,-Wunused-lambda-capture] m_p2p->for_each_connection([this, &arg, &fluffy_arg, &exclude_context, &fullConnections... ^ monero/src/cryptonote_protocol/cryptonote_protocol_handler.inl:1616:46: error: lambda capture 'fluffy_arg' is not used [-Werror,-Wunused-lambda-capture] m_p2p->for_each_connection([this, &arg, &fluffy_arg, &exclude_context, &fullConnections... ^ monero/src/blockchain_utilities/blockchain_export.cpp:181:3: error: bool literal returned from 'main' [-Werror,-Wmain] CHECK_AND_ASSERT_MES(r, false, "Failed to initialize source blockchain storage"); ^ ~~~~~ monero/contrib/epee/include/misc_log_ex.h:180:97: note: expanded from macro 'CHECK_AND_ASSERT_MES' ...fail_ret_val, message) do{if(!(expr)) {LOG_ERROR(message); return fail_ret_val;};}while(0) ^ ~~~~~~~~~~~~ monero/src/blockchain_utilities/blockchain_export.cpp:195:3: error: bool literal returned from 'main' [-Werror,-Wmain] CHECK_AND_ASSERT_MES(r, false, "Failed to export blockchain raw data"); ^ ~~~~~ monero/contrib/epee/include/misc_log_ex.h:180:97: note: expanded from macro 'CHECK_AND_ASSERT_MES' ...fail_ret_val, message) do{if(!(expr)) {LOG_ERROR(message); return fail_ret_val;};}while(0) ^ ~~~~~~~~~~~~
* Merge pull request #2589Riccardo Spagni2017-10-152-6/+6
|\ | | | | | | 8f0cea63 add a command_line function to check for defaulted options (moneromooo-monero)