aboutsummaryrefslogtreecommitdiffstats
path: root/params/util.go
Commit message (Collapse)AuthorAgeFilesLines
* params: remove redundant consts, disable metro on AllProtocolChangesPéter Szilágyi2017-07-041-47/+0
|
* consensus, core/*, params: metropolis preparation refactorJeffrey Wilcke2017-05-181-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | This commit is a preparation for the upcoming metropolis hardfork. It prepares the state, core and vm packages such that integration with metropolis becomes less of a hassle. * Difficulty calculation requires header instead of individual parameters * statedb.StartRecord renamed to statedb.Prepare and added Finalise method required by metropolis, which removes unwanted accounts from the state (i.e. selfdestruct) * State keeps record of destructed objects (in addition to dirty objects) * core/vm pre-compiles may now return errors * core/vm pre-compiles gas check now take the full byte slice as argument instead of just the size * core/vm now keeps several hard-fork instruction tables instead of a single instruction table and removes the need for hard-fork checks in the instructions * core/vm contains a empty restruction function which is added in preparation of metropolis write-only mode operations * Adds the bn256 curve * Adds and sets the metropolis chain config block parameters (2^64-1)
* core, consensus: pluggable consensus engines (#3817)Péter Szilágyi2017-04-051-2/+2
| | | | | This commit adds pluggable consensus engines to go-ethereum. In short, it introduces a generic consensus interface, and refactors the entire codebase to use this interface.
* core: implemented new ropsten testnetJeffrey Wilcke2016-11-231-6/+6
|
* params: hardfork blocknumber (#3264)Jeffrey Wilcke2016-11-151-2/+2
|
* cmd/utils, params: define chain idsJeffrey Wilcke2016-11-151-0/+3
|
* cmd/utils: set temporary HF numberJeffrey Wilcke2016-11-131-0/+3
|
* cmd, params: only set default fork configs for test and mainnetPéter Szilágyi2016-10-291-0/+3
|
* cmd/utils, core, params: explicitly pick reprice fork for fast syncPéter Szilágyi2016-10-291-5/+13
|
* params: set reprice block number to 2463000Jeffrey Wilcke2016-10-151-1/+1
|
* core, core/vm: added gas price variance tableJeffrey Wilcke2016-10-151-2/+4
| | | | | | | | | | | | | This implements 1b & 1c of EIP150 by adding a new GasTable which must be returned from the RuleSet config method. This table is used to determine the gas prices for the current epoch. Please note that when the CreateBySuicide gas price is set it is assumed that we're in the new epoch phase. In addition this PR will serve as temporary basis while refactorisation in being done in the EVM64 PR, which will substentially overhaul the gas price code.
* cmd, core, eth, miner, params, tests: finalize the DAO forkPéter Szilágyi2016-07-151-11/+1
|
* core, params, tests: add DAO hard-fork balance movesPéter Szilágyi2016-07-151-4/+5
|
* cmd/geth, miner, params: special extradata for DAO fork startPéter Szilágyi2016-07-151-5/+12
|
* cmd, core, eth, params: implement flags to control dao fork blocksPéter Szilágyi2016-07-151-0/+2
|
* core: added basic chain configurationJeffrey Wilcke2016-04-011-11/+2
| | | | | | | | | Added chain configuration options and write out during genesis database insertion. If no "config" was found, nothing is written to the database. Configurations are written on a per genesis base. This means that any chain (which is identified by it's genesis hash) can have their own chain settings.
* params: updated homestead blockJeffrey Wilcke2016-02-291-1/+1
|
* cmd/utils, params: homestead blockJeffrey Wilcke2016-02-291-1/+5
|
* core, core/vm, crypto: fixes for homesteadJeffrey Wilcke2016-02-181-2/+1
| | | | | | * Removed some strange code that didn't apply state reverting properly * Refactored code setting from vm & state transition to the executioner * Updated tests
* parmas, crypto, core, core/vm: homestead consensus protocol changesGustav Simonsson2016-02-181-0/+30
* change gas cost for contract creating txs * invalidate signature with s value greater than secp256k1 N / 2 * OOG contract creation if not enough gas to store code * new difficulty adjustment algorithm * new DELEGATECALL op code