aboutsummaryrefslogtreecommitdiff
path: root/src/checkpoints/checkpoints.cpp (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2022-04-20build: prepare v0.17.3.2selsta1-0/+1
2021-10-29build: prepare v0.17.3.0selsta1-0/+1
2021-08-19build: prepare v0.17.2.3selsta1-0/+1
2021-03-26build: prepare v0.17.2.0selsta1-0/+1
2021-01-02build: prepare v0.17.1.9selsta1-0/+1
2020-12-23build: prepare v0.17.1.8selsta1-0/+1
2020-12-10build: prepare v0.17.1.7selsta1-0/+1
2020-12-03build: prepare v0.17.1.6selsta1-0/+1
2020-11-23build: prepare v0.17.1.5selsta1-0/+1
2020-11-07build: prepare v0.17.1.2selsta1-0/+1
2020-10-18build: prepare v0.17.1.1selsta1-0/+1
2020-10-13build: prepare v0.17.1.0selsta1-0/+1
2020-09-25build: prepare v0.17.0.1selsta1-0/+1
2020-09-14build: prepare v0.17selsta1-0/+1
2020-06-09daemon: guard against rare 'difficulty drift' bug with checkpoints and ↵stoffu1-47/+71
recalculation On startup, it checks against the difficulty checkpoints, and if any mismatch is found, recalculates all the blocks with wrong difficulties. Additionally, once a week it recalculates difficulties of blocks after the last difficulty checkpoint.
2020-05-31Fix boost <1.60 compilation and fix boost 1.73+ warningsLee Clagett1-5/+4
2020-05-14build: fix boost 1.73 compatibilityselsta1-2/+2
2020-05-13build: prepare v0.16.0.0 releaseselsta1-0/+2
2020-05-06Update copyright year to 2020SomaticFanatic1-1/+1
Update copyright year to 2020
2019-11-02Merge pull request #6079Riccardo Spagni1-0/+1
e4d1674e8 0.15.0.0 release engineering (Riccardo Spagni)
2019-11-020.15.0.0 release engineeringRiccardo Spagni1-0/+1
2019-06-14prep for 0.14.1 releaseRiccardo Spagni1-0/+1
2019-03-05Update 2019 copyrightbinaryFate1-1/+1
2019-03-05update checkpoints, update README for 0.14.1 releaseRiccardo Spagni1-0/+1
2018-12-08epee: avoid string allocation when parsing a pod from stringmoneromooo-monero1-2/+2
2018-11-15Removed a lot of unnecessary includesMartijn Otto1-5/+3
2018-09-25add checkpoints for testnet and mainnetRiccardo Spagni1-1/+2
2018-05-23update checkpoints for point releaseRiccardo Spagni1-1/+1
2018-03-18update checkpointsRiccardo Spagni1-0/+2
2018-03-05Stagenetstoffu1-6/+18
2018-01-26Update 2018 copyrightxmr-eric1-1/+1
2017-12-18checkpoints: trap failure to load JSON checkpointsmoneromooo-monero1-1/+5
2017-12-18checkpoints: pass std::string by const ref, not const valuemoneromooo-monero1-2/+2
2017-12-16move includes around to lessen overall loadmoneromooo-monero1-2/+25
2017-11-11checkpoints: add a testnet checkpoint at 1000000moneromooo-monero1-1/+1
Makes working on testnet a lot easier (much less I/O when loading and saving wallets, and exercises the hashchain code before any changes are merged)
2017-09-25checkpoints: add a token checkpoint on testnet (the genesis block)moneromooo-monero1-1/+7
2017-09-25move checkpoints in a separate librarymoneromooo-monero1-1/+2
2017-09-06update hardcoded checkpointsRiccardo Spagni1-0/+2
2017-02-21update copyright year, fix occasional lack of newline at line endRiccardo Spagni1-1/+1
2017-02-20dns_utils: factor TXT record loading code from checkpoint codemoneromooo-monero1-104/+5
2017-02-08extract some basic code from libcryptonote_core into libcryptonote_basickenshi841-0/+0
2017-01-16Change logging to easylogging++moneromooo-monero1-2/+5
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.
2016-12-13update checkpointsRiccardo Spagni1-0/+3
2016-09-18add checkpointsRiccardo Spagni1-0/+2
2016-03-25Merge pull request #749Riccardo Spagni1-11/+240
bfd4a28 Update BlockchainDB documentation (Thomas Winget) 797357e Change Doxyfile, Blockchain not blockchain_storage (Thomas Winget) c835215 remove defunct code from cryptonote::core (Thomas Winget) 50dba6d cryptonote::core doxygen documentation (Thomas Winget) 8ac329d doxygen documentation for difficulty functions (Thomas Winget) 540a76c Move checkpoint functions into checkpoints class (Thomas Winget) 1b0c98e doxygen documentation for checkpoints.{h,cpp} (Thomas Winget) 89c24ac Remove unnecessary or defunct code (Thomas Winget) ab0ed14 doxygen include private and static members (Thomas Winget) 3a48449 Updated documentation for blockchain.* (Thomas Winget)
2016-03-25Revert "Merge pull request #749"Riccardo Spagni1-240/+11
This reverts commit 7fa63a82a1c3a0243f6757c1689855ed3ca61695, reversing changes made to cb6be986c36b78eddb4b7f16e9ad440af8567dc4.
2016-03-24Move checkpoint functions into checkpoints classThomas Winget1-7/+239
The functions in src/cryptonote_core/checkpoints_create.{h,cpp} should be member functions of the checkpoints class, if nothing else for the sake of keeping their documentation together. This commit covers moving those functions to be member functions of the checkpoints class as well as documenting those functions.
2016-03-22doxygen documentation for checkpoints.{h,cpp}Thomas Winget1-4/+1
All functions in src/cryptonote_core/checkpoints.h are now documented in doxygen style. checkpoints.cpp has been reviewed, one function has been marked for discussion on correctness.
2015-12-31updated copyright yearRiccardo Spagni1-1/+1
2015-01-09Fixes segfault in Blockchain::handle_alternative_blockThomas Winget1-0/+4
This commit should fix the segfault in Blockchain::handle_alternative_block, and also updates a few comments that were either incorrect or incomplete.
2015-01-04checkpoints: add consts where appropriatemoneromooo-monero1-4/+4
2015-01-02year updated in licenseRiccardo Spagni1-1/+1
2014-10-02moved checkpoint log levelRiccardo Spagni1-1/+1
2014-09-30various changes to runtime checkpoint updatingThomas Winget1-0/+11
json checkpoints will be checked every 10 minutes, dns every 60. json checkpoints always enforced, dns still with flag. conflicting checkpoints is hard fail, but soft if dns enforce flag not set and dns checkpoints are wonky.
2014-09-30reload checkpoints file every ~hr and print if any failThomas Winget1-0/+6
also some other minor bug squashing and code formatting
2014-09-30Adding an identical existing checkpoint should not errorThomas Winget1-2/+7
For checkpoints being read at runtime to work correctly, the checkpoint add code needs to not return false if a checkpoint is added that already exists. In this case, instead return false if the checkpoint is for a height that already has a checkpoint and the hashes are different.
2014-09-25Added ability to read chechpoint hashes from json file in data folderTomer Konforty1-0/+9
2014-07-23License updated to BSD 3-clausefluffypony1-3/+29
2014-05-250.8.8updatemydesktop1-2/+24
2014-03-03moved all stuff to githubAntonio Juarez1-0/+48