aboutsummaryrefslogtreecommitdiffstats
path: root/params/config.go
Commit message (Collapse)AuthorAgeFilesLines
* core/vm, params: implement EXTCODEHASH opcode (#17202)gary rong2018-07-241-0/+2
| | | | | | | | * core/vm, params: implement EXTCODEHASH opcode * core, params: tiny fixes and polish * core: add function description
* params: fix golint warnings (#16853)kiel barry2018-06-051-14/+21
| | | params: fix golint warnings
* core, vm, common: define constantinople fork + shift (#16045)Martin Holst Swende2018-02-231-37/+46
| | | | | | | | | | | | * core, vm, common: define constantinople fork, start implementation of shift instructions * vm: more testcases * vm: add tests for intpool erroneous intpool handling * core, vm, common: fix constantinople review concerns * vm: add string<->op definitions for new opcodes
* cmd, consensus, core, miner: instatx clique for --dev (#15323)Péter Szilágyi2017-10-241-10/+15
| | | | | | | | * cmd, consensus, core, miner: instatx clique for --dev * cmd, consensus, clique: support configurable --dev block times * cmd, core: allow --dev to use persistent storage too
* params: explain EIP150Hash (#15237)Péter Szilágyi2017-10-101-2/+3
|
* cmd/puppeth, params: enable Byzantium on all networksPéter Szilágyi2017-10-021-3/+2
|
* params: rename EIP150 gas table (#15167)gary rong2017-09-201-1/+1
|
* params: enable Byzantium on Ropsten/tests, fix failuresPéter Szilágyi2017-09-141-3/+3
|
* consensus, core, params: rebrand Metro to ByzantiumPéter Szilágyi2017-09-141-36/+36
|
* params: remove redundant consts, disable metro on AllProtocolChangesPéter Szilágyi2017-07-041-11/+17
|
* consensus, core, core/vm, parems: review fixesJeffrey Wilcke2017-05-181-18/+20
|
* core/types: corrected abstract signing addressJeffrey Wilcke2017-05-181-1/+1
|
* consensus, core/*, params: metropolis preparation refactorJeffrey Wilcke2017-05-181-23/+56
| | | | | | | | | | | | | | | | | | | | | | | | 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)
* cmd, core, params: add --rinkeby flag for fast connectivityPéter Szilágyi2017-05-041-1/+17
|
* consensus/clique: Proof of Authority (#3753)Péter Szilágyi2017-04-101-10/+45
| | | | This PR is a prototype implementation of plugable consensus engines and the Clique PoA protocol ethereum/EIPs#225
* core: refactor genesis handlingFelix Lange2017-03-231-68/+140
| | | | | | | | | | | | | | | | | | | | | | | | This commit solves several issues concerning the genesis block: * Genesis/ChainConfig loading was handled by cmd/geth code. This left library users in the cold. They could specify a JSON-encoded string and overwrite the config, but didn't get any of the additional checks performed by geth. * Decoding and writing of genesis JSON was conflated in WriteGenesisBlock. This made it a lot harder to embed the genesis block into the forthcoming config file loader. This commit changes things so there is a single Genesis type that represents genesis blocks. All uses of Write*Genesis* are changed to use the new type instead. * If the chain config supplied by the user was incompatible with the current chain (i.e. the chain had already advanced beyond a scheduled fork), it got overwritten. This is not an issue in practice because previous forks have always had the highest total difficulty. It might matter in the future though. The new code reverts the local chain to the point of the fork when upgrading configuration. The change to genesis block data removes compression library dependencies from package core.
* cmd/utils, core, params: fork all teh things for dev mode (#3697)Jeffrey Wilcke2017-03-011-0/+10
|
* core: improved bad block error reporting (#3320)Jeffrey Wilcke2016-11-231-0/+14
|
* core: implemented new ropsten testnetJeffrey Wilcke2016-11-231-8/+8
|
* cmd/utils, mobile, params: set the correct field on testnet EIP 155 (#3272)Péter Szilágyi2016-11-161-0/+2
|
* mobile: port wrappers to EIP155 and EIP158 forkPéter Szilágyi2016-11-151-0/+22
|
* core/types, params: EIP#155Jeffrey Wilcke2016-11-131-4/+32
|
* core, core/state, trie: EIP158, reprice & skip empty account writeJeffrey Wilcke2016-11-131-0/+84
This commit implements EIP158 part 1, 2, 3 & 4 1. If an account is empty it's no longer written to the trie. An empty account is defined as (balance=0, nonce=0, storage=0, code=0). 2. Delete an empty account if it's touched 3. An empty account is redefined as either non-existent or empty. 4. Zero value calls and zero value suicides no longer consume the 25k reation costs. params: moved core/config to params Signed-off-by: Jeffrey Wilcke <jeffrey@ethereum.org>