summaryrefslogtreecommitdiff
path: root/src/cryptonote_basic/hardfork.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year to 2020SomaticFanatic2020-05-061-1/+1
| | | | Update copyright year to 2020
* core: move hardforks into its own libmoneromooo-monero2019-09-191-2/+2
| | | | So it can be used by others without encumbrance
* hardfork: fix off by one updating fork index after poppingmoneromooo-monero2019-04-201-3/+2
|
* Merge pull request #5443Riccardo Spagni2019-04-161-20/+2
|\ | | | | | | 07dd5536 hardfork: remove "no hf version db" recreation check (moneromooo-monero)
| * hardfork: remove "no hf version db" recreation checkmoneromooo-monero2019-04-141-20/+2
| | | | | | | | | | This is now obsolete, and this removes the warning on startup on a new db that confuses some people
* | blockchain_db: fix db txn ending too earlymoneromooo-monero2019-04-141-6/+2
|/ | | | | | | | | | The db txn in add_block ending caused the entire overarching batch txn to stop. Also add a new guard class so a db txn can be stopped in the face of exceptions. Also use a read only db txn in init when the db itself is read only, and do not save the max tx size in that case.
* Merge pull request #5271Riccardo Spagni2019-03-211-0/+3
|\ | | | | | | 2790d4d3 hardfork: update last_versions on popped block (moneromooo-monero)
| * hardfork: update last_versions on popped blockmoneromooo-monero2019-03-121-0/+3
| |
* | Update 2019 copyrightbinaryFate2019-03-051-1/+1
|/
* hardfork: fix fork determination for historical heightsmoneromooo2019-03-041-1/+1
|
* blockchain: fix wrong hf version when popping multiple blocksmoneromooo-monero2019-01-011-0/+23
| | | | | | Since we keep track of the hf version in the db, we pick it up from there instead of doing the full reorg call, which is quite expensive
* hardfork: remove batch transactions setupmoneromooo-monero2019-01-011-1/+0
| | | | This is now default, so it spares us the warnings
* hardfork: initialize current_fork_index in ctormoneromooo-monero2018-10-291-3/+4
| | | | | | Also order init list to match actual runtime init order Coverity 136605
* hardfork: fix get_next_version()stoffu2018-05-301-3/+3
|
* hardfork: fix get_earliest_ideal_height_for_version() to support ↵stoffu2018-05-301-4/+8
| | | | non-existent versions
* Update 2018 copyrightxmr-eric2018-01-261-1/+1
|
* fix dependency: put HardFork back to cryptonote_basic, made some ↵kenshi842017-03-101-0/+417
| | | | BlockchainDB functions virtual again to avoid missing symbols error
* core: move hardfork back to cryptonote_coremoneromooo-monero2017-02-251-416/+0
| | | | | should fix a cross dependency betewen cryptonote_basic and blockchain_db
* update copyright year, fix occasional lack of newline at line endRiccardo Spagni2017-02-211-1/+1
|
* hardfork: tone down some logsmoneromooo-monero2017-02-141-3/+3
|
* extract some basic code from libcryptonote_core into libcryptonote_basickenshi842017-02-081-0/+416