SomaticFanatic
5ef0607da6
Update copyright year to 2020
...
Update copyright year to 2020
4 years ago
moneromooo-monero
d0663837d2
core: move hardforks into its own lib
...
So it can be used by others without encumbrance
5 years ago
moneromooo-monero
375fde9454
hardfork: fix off by one updating fork index after popping
5 years ago
Riccardo Spagni
c5f64bf170
Merge pull request #5443
...
07dd5536
hardfork: remove "no hf version db" recreation check (moneromooo-monero)
5 years ago
moneromooo-monero
07dd55363c
hardfork: remove "no hf version db" recreation check
...
This is now obsolete, and this removes the warning on startup
on a new db that confuses some people
5 years ago
moneromooo-monero
5e673c03fe
blockchain_db: fix db txn ending too early
...
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.
5 years ago
Riccardo Spagni
cac4c3103a
Merge pull request #5271
...
2790d4d3
hardfork: update last_versions on popped block (moneromooo-monero)
5 years ago
moneromooo-monero
2790d4d30a
hardfork: update last_versions on popped block
5 years ago
binaryFate
1f2930ce0b
Update 2019 copyright
5 years ago
moneromooo
807903bbbf
hardfork: fix fork determination for historical heights
5 years ago
moneromooo-monero
5ee6f03742
blockchain: fix wrong hf version when popping multiple blocks
...
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
5 years ago
moneromooo-monero
94a375d559
hardfork: remove batch transactions setup
...
This is now default, so it spares us the warnings
5 years ago
moneromooo-monero
157054b840
hardfork: initialize current_fork_index in ctor
...
Also order init list to match actual runtime init order
Coverity 136605
6 years ago
stoffu
98cf62cc45
hardfork: fix get_next_version()
6 years ago
stoffu
a79fc219b7
hardfork: fix get_earliest_ideal_height_for_version() to support non-existent versions
6 years ago
xmr-eric
18216f19dd
Update 2018 copyright
6 years ago
kenshi84
7d07c64fe5
fix dependency: put HardFork back to cryptonote_basic, made some BlockchainDB functions virtual again to avoid missing symbols error
7 years ago
moneromooo-monero
12adb4a3f3
core: move hardfork back to cryptonote_core
...
should fix a cross dependency betewen cryptonote_basic and
blockchain_db
7 years ago
Riccardo Spagni
c3599fa7b9
update copyright year, fix occasional lack of newline at line end
7 years ago
moneromooo-monero
c488eca5e8
hardfork: tone down some logs
7 years ago
kenshi84
8027ce0c75
extract some basic code from libcryptonote_core into libcryptonote_basic
7 years ago