aboutsummaryrefslogtreecommitdiff
path: root/src/blockchain_utilities/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Copyright: Update to 2022mj-xmr2022-03-041-1/+1
|
* Update copyright year to 2020SomaticFanatic2020-05-061-1/+1
| | | | Update copyright year to 2020
* Update 2019 copyrightbinaryFate2019-03-051-1/+1
|
* Pruningmoneromooo-monero2019-01-221-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The blockchain prunes seven eighths of prunable tx data. This saves about two thirds of the blockchain size, while keeping the node useful as a sync source for an eighth of the blockchain. No other data is currently pruned. There are three ways to prune a blockchain: - run monerod with --prune-blockchain - run "prune_blockchain" in the monerod console - run the monero-blockchain-prune utility The first two will prune in place. Due to how LMDB works, this will not reduce the blockchain size on disk. Instead, it will mark parts of the file as free, so that future data will use that free space, causing the file to not grow until free space grows scarce. The third way will create a second database, a pruned copy of the original one. Since this is a new file, this one will be smaller than the original one. Once the database is pruned, it will stay pruned as it syncs. That is, there is no need to use --prune-blockchain again, etc.
* Outputs where all amounts are known spent can now be prunedmoneromooo-monero2018-11-271-0/+33
| | | | | | | | | | | | | | Only for pre rct for obvious reasons. Note: DO NOT use a known spent list which includes outputs which are not known spent. If the list includes any output that's just strongly thought to be spent, but not provably so, you risk finding yourself unable to sync past the point where that output is spent. I estimate only 200 MB saved on current mainnet though, unless the new blackballing rule unearths a good amount of large-amount-set extra spent outs.
* Merge pull request #4694Riccardo Spagni2018-11-041-0/+28
|\ | | | | | | a43daebf Add stats utility (Howard Chu)
| * Add stats utilityHoward Chu2018-10-231-0/+28
| | | | | | | | Report statistics from a blockchain DB
* | Merge pull request #4536Riccardo Spagni2018-10-261-17/+3
|\ \ | |/ |/| | | fd62b6e7 blocks: use auto-generated .c files instead of 'LD -r -b binary' (xiphon)
| * blocks: use auto-generated .c files instead of 'LD -r -b binary'xiphon2018-10-221-17/+3
| |
* | Rename "blackball" for claritymoneromooo-monero2018-10-181-1/+1
|/ | | | Apparently some people seem to think it's a censorship list...
* Revert "Merge pull request #4472"Riccardo Spagni2018-10-081-3/+17
| | | | | This reverts commit 79d46c4d551a9b1261801960095bf4d24967211a, reversing changes made to c9fc61dbb56cca442c775faa2554a7460879b637.
* blocks: use auto-generated .c files instead of 'LD -r -b binary'xiphon2018-10-041-17/+3
|
* Fix 32bit depends buildsTheCharlatan2018-09-291-0/+2
| | | | | Add architecture flags when cmake invokes gcc manually. Add 32bit to Travis.
* Merge pull request #3430Riccardo Spagni2018-09-181-1/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 42397359 Fixup 32bit arm build (TheCharlatan) a06d2581 Fix Windows build (TheCharlatan) ecaf5b3f Add libsodium to the packages, the arm build was complaining about it. (TheCharlatan) cbbf4d24 Adapt translations to upstream changes (TheCharlatan) db571546 Updated pcsc url (TheCharlatan) f0ba19fd Add lrelease to the depends (TheCharlatan) cfb30462 Add Miniupnp submodule (TheCharlatan) 5f7da005 Unbound is now a submodule. Adapt depends for this. (TheCharlatan) d6b9bdd3 Update readmes to reflect the usage of depends (TheCharlatan) 56b6e41e Add support for apple and arm building (TheCharlatan) 29311fd1 Disable stack unwinding for mingw32 depends build. (TheCharlatan) 8db3d573 Modify depends for monero's dependencies (TheCharlatan) 0806a23a Initial depends addition (TheCharlatan)
| * Add support for apple and arm buildingTheCharlatan2018-09-101-1/+3
| | | | | | | | | | | | Add pcsc-lite to linux builds Fixup windows icu4c linking with depends, the static libraries have an 's' appended to them Compiling depends arm-linux-gnueabihf will allow you to compile armv6zk monero binaries
* | blockchain_depth: get the average min depth of a set of txesmoneromooo-monero2018-08-071-0/+32
| |
* | blockchain_ancestry: finds all ancestors of a tx, block, or chainmoneromooo-monero2018-07-301-0/+32
|/
* blockchain_utilities: do not link against unneeded p2p libmoneromooo-monero2018-05-301-4/+0
|
* new blockchain_usage tool, reports on output usagemoneromooo-monero2018-03-161-0/+33
|
* blockchain_utilities: new blockchain_blackball toolmoneromooo-monero2018-03-161-0/+37
| | | | | | | | | | 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
* Update 2018 copyrightxmr-eric2018-01-261-1/+1
|
* Add misc hardening flags to the cmake machinerymoneromooo-monero2017-12-311-2/+2
| | | | See https://wiki.debian.org/Hardening#User_Space
* 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
* build: auto update version info without manually deleting version.hstoffu2017-09-211-4/+2
|
* Merge pull request #2248Riccardo Spagni2017-08-151-23/+0
|\ | | | | | | | | | | 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)
| * cn_deserialize: move to new debug_utilities subdirectorymoneromooo-monero2017-08-031-23/+0
| |
* | blockchain_import: much faster when verifying with cryptonote::coremoneromooo-monero2017-08-071-2/+12
|/ | | | | | | | | | | | | | 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
* blockchain_utilities: link against blockchain_dbmoneromooo-monero2017-02-241-0/+1
|
* update copyright year, fix occasional lack of newline at line endRiccardo Spagni2017-02-211-1/+1
|
* Change logging to easylogging++moneromooo-monero2017-01-161-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This replaces the epee and data_loggers logging systems with a single one, and also adds filename:line and explicit severity levels. Categories may be defined, and logging severity set by category (or set of categories). epee style 0-4 log level maps to a sensible severity configuration. Log files now also rotate when reaching 100 MB. To select which logs to output, use the MONERO_LOGS environment variable, with a comma separated list of categories (globs are supported), with their requested severity level after a colon. If a log matches more than one such setting, the last one in the configuration string applies. A few examples: This one is (mostly) silent, only outputting fatal errors: MONERO_LOGS=*:FATAL This one is very verbose: MONERO_LOGS=*:TRACE This one is totally silent (logwise): MONERO_LOGS="" This one outputs all errors and warnings, except for the "verify" category, which prints just fatal errors (the verify category is used for logs about incoming transactions and blocks, and it is expected that some/many will fail to verify, hence we don't want the spam): MONERO_LOGS=*:WARNING,verify:FATAL Log levels are, in decreasing order of priority: FATAL, ERROR, WARNING, INFO, DEBUG, TRACE Subcategories may be added using prefixes and globs. This example will output net.p2p logs at the TRACE level, but all other net* logs only at INFO: MONERO_LOGS=*:ERROR,net*:INFO,net.p2p:TRACE Logs which are intended for the user (which Monero was using a lot through epee, but really isn't a nice way to go things) should use the "global" category. There are a few helper macros for using this category, eg: MGINFO("this shows up by default") or MGINFO_RED("this is red"), to try to keep a similar look and feel for now. Existing epee log macros still exist, and map to the new log levels, but since they're used as a "user facing" UI element as much as a logging system, they often don't map well to log severities (ie, a log level 0 log may be an error, or may be something we want the user to see, such as an important info). In those cases, I tried to use the new macros. In other cases, I left the existing macros in. When modifying logs, it is probably best to switch to the new macros with explicit levels. The --log-level options and set_log commands now also accept category settings, in addition to the epee style log levels.
* rename cn_deserializeRiccardo Spagni2016-12-131-1/+1
|
* Revert "remove cn_deserialize"moneromooo-monero2016-10-301-0/+22
| | | | | | This is useful (to me). This reverts commit f968ccb9d3d34d163dc5638006e6b87c78ddfdb3.
* Dropped "bit" from bitmonero.Randi Joseph2016-09-261-4/+4
|
* cmake: transitive deps and remove deprecated LINK_*redfish2016-09-181-8/+16
| | | | | | | | | | | | | | Keep the immediate direct deps at the library that depends on them, declare deps as PUBLIC so that targets that link against that library get the library's deps as transitive deps. Break dep cycle between blockchain_db <-> crytonote_core. No code refactoring, just hide cycle from cmake so that it doesn't complain (cycles are allowed only between static libs, not shared libs). This is in preparation for supproting BUILD_SHARED_LIBS cmake built-in option for building internal libs as shared.
* remove blockchain_dumpRiccardo Spagni2016-09-031-27/+0
|
* rename blockchain utilsRiccardo Spagni2016-09-031-3/+3
|
* remove cn_deserializeRiccardo Spagni2016-09-031-27/+0
|
* remove original Cryptonote blockchain_storage blockchain formatmoneromooo-monero2016-08-281-33/+0
|
* blockchain_import: Pass ARCH_WIDTH macro if 32-bit or not.warptangent2016-02-181-4/+4
| | | | This also avoids warnings.
* blockchain_import: Check bit width for more than just WIN32warptangent2016-02-171-0/+10
| | | | | | | | Pass the CMake bit width setting to compile flags for blockchain_import and blockchain_converter. For LMDB on 32-bit, hyc has found that batch size of 100 appears to be a good default.
* updated copyright yearRiccardo Spagni2015-12-311-1/+1
|
* cn_deserialize: a new tool to decode blocks and transactionsmoneromooo-monero2015-11-221-0/+26
|
* blockchain_utilities: new blockchain_dump diagnostic toolmoneromooo-monero2015-10-251-0/+27
| | | | | | It dumps data from the blockchain to a JSON format, and is intended to help detect differences between data held in different database formats.
* blockchain_export can now export to a blocks.dat formatmoneromooo-monero2015-10-171-0/+4
| | | | | Also make the number of blocks endian independant, and add support for testnet
* Rename src/blockchain_converter/ to src/blockchain_utilities/warptangent2015-05-081-0/+118
Update appropriate files (CMakeLists.txt, README.md)