aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/hardfork.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2017-03-10fix dependency: put HardFork back to cryptonote_basic, made some ↵kenshi841-265/+0
BlockchainDB functions virtual again to avoid missing symbols error
2017-02-25core: move hardfork back to cryptonote_coremoneromooo-monero1-0/+265
should fix a cross dependency betewen cryptonote_basic and blockchain_db
2017-02-08extract some basic code from libcryptonote_core into libcryptonote_basickenshi841-265/+0
2017-01-14core: check block version for alt chains toomoneromooo-monero1-0/+15
This is incompatible with block version voting
2016-08-12daemon: print time to next forkmoneromooo-monero1-0/+7
2016-07-13remove hf_starting_height dbmoneromooo-monero1-7/+0
It's not really needed, it used to be an optimization for when that code was not using the db and needed to recalculate things fast on startup.
2015-12-31fixed copyrights with bad year referencesRiccardo Spagni1-1/+1
2015-12-19Allow the wallet to access hard fork informationmoneromooo-monero1-1/+7
And make it change behavior slightly when close/after first hard fork
2015-11-24hardfork: fix more major/minor issuesmoneromooo-monero1-5/+6
Also add some more tests, and rename some instances of "version" and "add" for clarity. NOTE: the starting height values are sometimes wrong. I suspect this is due to the hard fork reorg code being buggy, since they're good when syncing after the fact. However, they're not actually used by the consensus code, so I'm ignoring this for now, but this needs debugging.
2015-11-10hardfork: add a get_ideal_version(uint64_t) functionmoneromooo-monero1-0/+7
It returns the ideal version for a given height, which is based on the minimum height for a fork, disregarding votes
2015-11-08hardfork: allow per-fork voting thresholdsmoneromooo-monero1-6/+18
And setup the first fork to not vote
2015-10-17hardfork: simplify work done on reloadmoneromooo-monero1-0/+3
There is no need to fully recalculate and rewrite state, just refill state from the DB.
2015-09-27hardfork: make the voting window a weekmoneromooo-monero1-1/+1
2015-09-27hardfork: rescan speedupmoneromooo-monero1-3/+7
Add a block height before which version 1 is assumed Use DB transactions
2015-09-27hardfork: remove use of GNU extension for initializing objectmoneromooo-monero1-2/+3
2015-09-20hardfork: most state now saved to the DBmoneromooo-monero1-23/+18
There will be a delay on first load of an existing blockchain as it gets reparsed for this state data.
2015-09-20hardfork: remove the "parts are copyright cryptonote" noticesmoneromooo-monero1-2/+0
I coded the whole thing from scratch.
2015-09-19Add an RPC call and daemon command to get info on hard fork votingmoneromooo-monero1-2/+20
2015-09-12New hardfork classmoneromooo-monero1-0/+205
This keeps track of voting via block version, in order to decide when to enable a particular fork's code.