aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_basic/hardfork.cpp (follow)
AgeCommit message (Collapse)AuthorFilesLines
2020-05-06Update copyright year to 2020SomaticFanatic1-1/+1
Update copyright year to 2020
2019-09-19core: move hardforks into its own libmoneromooo-monero1-2/+2
So it can be used by others without encumbrance
2019-04-20hardfork: fix off by one updating fork index after poppingmoneromooo-monero1-3/+2
2019-04-16Merge pull request #5443Riccardo Spagni1-20/+2
07dd5536 hardfork: remove "no hf version db" recreation check (moneromooo-monero)
2019-04-14hardfork: remove "no hf version db" recreation checkmoneromooo-monero1-20/+2
This is now obsolete, and this removes the warning on startup on a new db that confuses some people
2019-04-14blockchain_db: fix db txn ending too earlymoneromooo-monero1-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.
2019-03-21Merge pull request #5271Riccardo Spagni1-0/+3
2790d4d3 hardfork: update last_versions on popped block (moneromooo-monero)
2019-03-12hardfork: update last_versions on popped blockmoneromooo-monero1-0/+3
2019-03-05Update 2019 copyrightbinaryFate1-1/+1
2019-03-04hardfork: fix fork determination for historical heightsmoneromooo1-1/+1
2019-01-01blockchain: fix wrong hf version when popping multiple blocksmoneromooo-monero1-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
2019-01-01hardfork: remove batch transactions setupmoneromooo-monero1-1/+0
This is now default, so it spares us the warnings
2018-10-29hardfork: initialize current_fork_index in ctormoneromooo-monero1-3/+4
Also order init list to match actual runtime init order Coverity 136605
2018-05-30hardfork: fix get_next_version()stoffu1-3/+3
2018-05-30hardfork: fix get_earliest_ideal_height_for_version() to support ↵stoffu1-4/+8
non-existent versions
2018-01-26Update 2018 copyrightxmr-eric1-1/+1
2017-03-10fix dependency: put HardFork back to cryptonote_basic, made some ↵kenshi841-0/+417
BlockchainDB functions virtual again to avoid missing symbols error
2017-02-25core: move hardfork back to cryptonote_coremoneromooo-monero1-416/+0
should fix a cross dependency betewen cryptonote_basic and blockchain_db
2017-02-21update copyright year, fix occasional lack of newline at line endRiccardo Spagni1-1/+1
2017-02-14hardfork: tone down some logsmoneromooo-monero1-3/+3
2017-02-08extract some basic code from libcryptonote_core into libcryptonote_basickenshi841-0/+416