aboutsummaryrefslogtreecommitdiff
path: root/src/blockchain_utilities
Commit message (Collapse)AuthorAgeFilesLines
* Establish Monzero Phase 0 and inactive assets baselinemonzero-phase0-assets-prototype-20260815Monzero Build System6 hours9-9/+9
|
* blockchain_utilities: fix --data-dir optionjeffro2562026-04-228-33/+15
|
* blockchain sync: reduce disk writes from 2 to 1 per txjeffro2562025-03-101-2/+5
|
* blockchain-stats: print any remaining data at end of loopHoward Chu2023-01-291-74/+83
| | | | Fix #8711
* Copyright: Update to 2022mj-xmr2022-03-0417-17/+18
|
* Doc: Update blockchain stats with review commentsmj-xmr2021-07-061-2/+4
|
* Merge pull request #7672luigi11112021-06-241-0/+54
|\ | | | | | | 5bf91fc add documentation for monero-blockchain-stats (donkeydonkey)
| * add documentation for monero-blockchain-statsdonkeydonkey2021-04-191-0/+54
| |
* | Merge pull request #7611luigi11112021-06-241-5/+11
|\ \ | | | | | | | | | 71741a1 blockchain_import: fix wrong reported block/tx hashes on error (moneromooo-monero)
| * | blockchain_import: fix wrong reported block/tx hashes on errormoneromooo-monero2021-03-191-5/+11
| | |
* | | Improve cryptonote (block and tx) binary read performanceLee Clagett2021-01-231-3/+1
| |/ |/|
* | Reduce compilation time of epee/portable_storage_template_helper.hmj-xmr2021-03-287-0/+8
|/
* Merge pull request #7355luigi11112021-02-181-2/+2
|\ | | | | | | | | bd12984 Remove copies from foreach loops (thanks to Clang) (Lee Clagett) 1572df9 Removing unused namespace alias (Lee Clagett)
| * Remove copies from foreach loops (thanks to Clang)Lee Clagett2021-01-281-2/+2
| |
* | Remove unused variables in monero codebaseKevin Barbour2021-02-095-14/+2
|/ | | | | | | | | | | There are quite a few variables in the code that are no longer (or perhaps never were) in use. These were discovered by enabling compiler warnings for unused variables and cleaning them up. In most cases where the unused variables were the result of a function call the call was left but the variable assignment removed, unless it was obvious that it was a simple getter with no side effects.
* Allow setting start block on exportHoward Chu2020-10-184-34/+69
| | | | And make import honor the starting block# recorded in a bootstrap file
* replace most boost serialization with existing monero serializationmoneromooo-monero2020-08-171-2/+0
| | | | | | | | | | | | | | | | | | | | | | This reduces the attack surface for data that can come from malicious sources (exported output and key images, multisig transactions...) since the monero serialization is already exposed to the outside, and the boost lib we were using had a few known crashers. For interoperability, a new load-deprecated-formats wallet setting is added (off by default). This allows loading boost format data if there is no alternative. It will likely go at some point, along with the ability to load those. Notably, the peer lists file still uses the boost serialization code, as the data it stores is define in epee, while the new serialization code is in monero, and migrating it was fairly hairy. Since this file is local and not obtained from anyone else, the marginal risk is minimal, but it could be migrated later if needed. Some tests and tools also do, this will stay as is for now.
* Tweak format, add option for difficultyHoward Chu2020-08-031-11/+36
| | | | | Set input, output, ringsize averages to 2 decimal places precision Add option to show min/max/av per-block difficulty
* Add options to print daily coin emission and feesHoward Chu2020-08-011-0/+32
| | | | Closes #6735
* Don't forget size of prunable txn partHoward Chu2020-08-011-0/+2
| | | | Fixes #6732
* Merge pull request #6512Alexander Blair2020-07-1916-16/+16
|\ | | | | | | 5ef0607da Update copyright year to 2020 (SomaticFanatic)
| * Update copyright year to 2020SomaticFanatic2020-05-0616-16/+16
| | | | | | | | Update copyright year to 2020
* | Fix boost <1.60 compilation and fix boost 1.73+ warningsLee Clagett2020-05-312-2/+0
|/
* Merge pull request #6094Alexander Blair2020-02-061-2/+2
|\ | | | | | | 236d2a88 blockchain_stats: make it work on pruned blockchains (moneromooo-monero)
| * blockchain_stats: make it work on pruned blockchainsmoneromooo-monero2019-11-041-2/+2
| | | | | | | | It reports the actual size as pruned, however
* | Adding support for hidden (anonymity) txpoolLee Clagett2019-11-021-1/+1
|/
* utils: Increase max block size for import/exportNathan Dorfman2019-10-171-1/+1
|
* Merge pull request #5915luigi11112019-10-083-11/+23
|\ | | | | | | 8330e77 monerod can now sync from pruned blocks (moneromooo-monero)
| * monerod can now sync from pruned blocksmoneromooo-monero2019-09-273-11/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | If the peer (whether pruned or not itself) supports sending pruned blocks to syncing nodes, the pruned version will be sent along with the hash of the pruned data and the block weight. The original tx hashes can be reconstructed from the pruned txes and theur prunable data hash. Those hashes and the block weights are hashes and checked against the set of precompiled hashes, ensuring the data we received is the original data. It is currently not possible to use this system when not using the set of precompiled hashes, since block weights can not otherwise be checked for validity. This is off by default for now, and is enabled by --sync-pruned-blocks
* | Merge pull request #5878luigi11112019-09-249-236/+26
|\ \ | | | | | | | | | f9b3f6e Removed Berkeley DB and db switching logic (JesusRami)
| * | Removed Berkeley DB and db switching logicJesus Ramirez2019-09-169-236/+26
| | |
* | | Merge pull request #5877luigi11112019-09-241-1/+1
|\ \ \ | |_|/ |/| | | | | | | | | | | 2cd4fd8 Changed the use of boost:value_initialized for C++ list initializer (JesusRami) 4ad191f Removed unused boost/value_init header (whyamiroot) 928f4be Make null hash constants constexpr (whyamiroot)
| * | Changed the use of boost:value_initialized for C++ list initializerJesus Ramirez2019-09-021-1/+1
| |/
* | blockchain_blackball: use is_output_spent instead of ringdb.blackballed for ↵stoffu2019-08-221-1/+11
| | | | | | | | spentness test
* | blockchain_blackball: add --historical-stat which prints historical stats of ↵stoffu2019-08-221-2/+165
|/ | | | spent ratio
* Merge pull request #5574luigi11112019-07-241-1/+1
|\ | | | | | | 162c3e1 blockchain_export: allow exporting blocks.dat format from pruned (moneromooo-monero)
| * blockchain_export: allow exporting blocks.dat format from prunedmoneromooo-monero2019-05-241-1/+1
| | | | | | | | We don't need any of the pruned data for this
* | Merge pull request #5502luigi11112019-07-241-0/+1
|\ \ | |/ |/| | | | | 25a7cfd add a few checks where it seems appropriate (moneromooo-monero) 1a66a86 remove unused code (moneromooo-monero)
| * add a few checks where it seems appropriatemoneromooo-monero2019-04-291-0/+1
| |
* | Made code block usage consistent across all .md filesRohaq2019-05-121-1/+1
|/
* Merge pull request #5406Riccardo Spagni2019-04-161-1/+5
|\ | | | | | | bea1918a blockchain_import: error out if preparing to handle blocks fails (moneromooo-monero)
| * blockchain_import: error out if preparing to handle blocks failsmoneromooo-monero2019-04-071-1/+5
| | | | | | | | Coverity 197562
* | Merge pull request #5380Riccardo Spagni2019-04-111-1/+1
|\ \ | | | | | | | | | | | | | | | 113e4877 blockchain_stats: fix sign in formatting function (moneromooo-monero) adaea3ea various: remove unused variables (moneromooo-monero) 631ef00e blockchain: some debug info when adding txes-from-block fails (moneromooo-monero)
| * | blockchain_stats: fix sign in formatting functionmoneromooo-monero2019-04-011-1/+1
| |/
* | Merge pull request #5378Riccardo Spagni2019-04-111-18/+0
|\ \ | |/ |/| | | eda2661a Allow pruning before v10 (moneromooo-monero)
| * Allow pruning before v10moneromooo-monero2019-04-011-18/+0
| | | | | | | | | | This check is now not needed anymore, and would prevent people from using --prune-blockchain when starting a new sync
* | Make difficulty 128 bit instead of 64 bitmoneromooo-monero2019-03-244-9/+46
|/ | | | | | Based on Boolberry work by: jahrsg <jahr@jahr.me> cr.zoidberg <crypto.zoidberg@gmail.com>
* Update 2019 copyrightbinaryFate2019-03-0516-16/+16
|
* core: avoid double parsing blocks after hohmoneromooo-monero2019-03-051-2/+10
|
* Avoid repeated (de)serialization when syncingmoneromooo-monero2019-03-051-3/+3
|