Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | cmd, core, params: add support for Goerli | Péter Szilágyi | 2019-02-19 | 2 | -0/+41 |
| | | | | (cherry picked from commit b0ed083ead2d58cc25754eacdb48046eb2bc81cb) | ||||
* | params, swarm/version: Geth 1.8.22-stable, Swarm 0.3.10-stable | Felix Lange | 2019-01-31 | 1 | -1/+1 |
| | |||||
* | params: new CHTs (#18577) | Felföldi Zsolt | 2019-01-30 | 1 | -12/+12 |
| | |||||
* | core, cmd/puppeth: implement constantinople fix, disable EIP-1283 (#18486) | Martin Holst Swende | 2019-01-30 | 1 | -8/+24 |
| | | | | | | | | | | | | | | | | | This PR adds a new fork which disables EIP-1283. Internally it's called Petersburg, but the genesis/config field is ConstantinopleFix. The block numbers are: 7280000 for Constantinople on Mainnet 7280000 for ConstantinopleFix on Mainnet 4939394 for ConstantinopleFix on Ropsten 9999999 for ConstantinopleFix on Rinkeby (real number decided later) This PR also defaults to using the same ConstantinopleFix number as whatever Constantinople is set to. That is, it will default to mainnet behaviour if ConstantinopleFix is not set.This means that for private networks which have already transitioned to Constantinople, this PR will break the network unless ConstantinopleFix is explicitly set! | ||||
* | params, swarm: release Geth v1.8.21 and Swarm v0.3.9 | Péter Szilágyi | 2019-01-16 | 1 | -4/+4 |
| | |||||
* | params: postpone Constantinople due to net SSTORE reentrancy | Péter Szilágyi | 2019-01-16 | 1 | -1/+1 |
| | |||||
* | params, swarm: begin Geth v1.9.0 family, Swarm v0.3.9 cycle | Péter Szilágyi | 2018-12-11 | 1 | -4/+4 |
| | |||||
* | params, swarm: release Geth v1.8.20 and Swarm v0.3.8 | Péter Szilágyi | 2018-12-11 | 1 | -4/+4 |
| | |||||
* | params: update CHTs for the 1.8.20 release | Péter Szilágyi | 2018-12-10 | 1 | -12/+12 |
| | |||||
* | params: set mainnet and Rinkeby Constantinople fork blocks | Péter Szilágyi | 2018-12-10 | 1 | -2/+2 |
| | |||||
* | params, swarm: start Geth v1.8.20 and Swarm v0.3.8 release cycle | Péter Szilágyi | 2018-11-28 | 1 | -4/+4 |
| | |||||
* | params, swarm: release Geth v1.8.19 and Swarm v0.3.7 | Péter Szilágyi | 2018-11-28 | 1 | -4/+4 |
| | |||||
* | params: update CHTs for the v1.8.19 release | Péter Szilágyi | 2018-11-28 | 1 | -12/+12 |
| | |||||
* | config: add constantinople block to testchainconfig | Martin Holst Swende | 2018-11-26 | 1 | -1/+1 |
| | |||||
* | params: add Constantinople block to AllXYZProtocolChanges (#18162) | Enrique Fynn | 2018-11-22 | 1 | -2/+2 |
| | | | | | | * params: Add Constantinople block to AllCliqueProtocolChanges * params: Add Constantinople block to AllEthashProtocolChanges | ||||
* | params, swarm: begin Geth v1.8.19 and Swarm v0.3.7 cycle | Péter Szilágyi | 2018-11-14 | 1 | -4/+4 |
| | |||||
* | params, swarm: release Geth v1.8.18 and Swarm v0.3.6 | Péter Szilágyi | 2018-11-14 | 1 | -4/+4 |
| | |||||
* | params: update CHTs | Péter Szilágyi | 2018-11-14 | 1 | -12/+12 |
| | |||||
* | params, swarm: begin Geth v1.8.18, Swarm v0.3.6 cycle | Péter Szilágyi | 2018-10-09 | 1 | -4/+4 |
| | |||||
* | params, swarm: release Geth v1.8.17 and Swar v0.3.5 | Péter Szilágyi | 2018-10-09 | 1 | -4/+4 |
| | |||||
* | params: add ropsten fork delay, update les checkpoints | Péter Szilágyi | 2018-10-05 | 1 | -13/+13 |
| | |||||
* | params: enable constantinople on ropsten at 4.2M | EOS Classic | 2018-10-01 | 1 | -1/+1 |
| | |||||
* | params, swarm: begin Geth v1.8.17, Swarm v0.3.5 cycle | Péter Szilágyi | 2018-09-24 | 1 | -4/+4 |
| | |||||
* | params, swarm: release Geth v1.8.16, Swarm v0.3.4 | Péter Szilágyi | 2018-09-24 | 1 | -4/+4 |
| | |||||
* | Merge pull request #17383 from holiman/eip1283 | Péter Szilágyi | 2018-09-21 | 2 | -8/+27 |
|\ | | | | | Eip1283 | ||||
| * | core, params: polish net gas metering PR a bit | Péter Szilágyi | 2018-09-18 | 2 | -8/+27 |
| | | |||||
* | | les, light, params: update light client CHTs | Péter Szilágyi | 2018-09-20 | 1 | -0/+39 |
| | | |||||
* | | core/vm: add switches to select evm+ewasm interpreters (#17687) | Guillaume Ballet | 2018-09-20 | 1 | -3/+12 |
|/ | | | | | Interpreter initialization is left to the PRs implementing them. Options for external interpreters are passed after a colon in the `--vm.ewasm` and `--vm.evm` switches. | ||||
* | params: fix typo (#17552) | Mymskmkt | 2018-09-03 | 1 | -1/+1 |
| | |||||
* | params, swarm: begin geth v1.8.16 and swarm v0.3.4 cycle | Péter Szilágyi | 2018-08-29 | 1 | -4/+4 |
| | |||||
* | params, swarm: release geth v1.8.15 and swarm 0.3.3 | Péter Szilágyi | 2018-08-29 | 1 | -4/+4 |
| | |||||
* | cmd, core, eth, miner, params: configurable gas floor and ceil | Péter Szilágyi | 2018-08-29 | 2 | -15/+5 |
| | |||||
* | all: make indexer configurable (#17188) | gary rong | 2018-08-28 | 1 | -2/+30 |
| | |||||
* | params, swarm: begin geth v1.8.15 and swarm v0.3.3 cycle | Péter Szilágyi | 2018-08-22 | 1 | -4/+4 |
| | |||||
* | params, swarm: release Geth v1.8.14 and Swarm v0.3.2 | Péter Szilágyi | 2018-08-22 | 1 | -4/+4 |
| | |||||
* | consensus/clique, light: light client snapshots on Rinkeby | Péter Szilágyi | 2018-08-21 | 1 | -0/+1 |
| | |||||
* | params, swarm/version: begin Geth v1.8.14, Swarm v0.3.2 cycle | Péter Szilágyi | 2018-07-31 | 1 | -4/+4 |
| | |||||
* | params, swarm/version: release Geth v1.8.13, Swarm 0.3.1 | Péter Szilágyi | 2018-07-31 | 1 | -4/+4 |
| | |||||
* | build: rename swarm deb package to ethereum-swarm; change swarm deb version ↵ | Anton Evangelatov | 2018-07-30 | 1 | -2/+21 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | from 1.8.x to 0.3.x (#16988) * build: add support for different package and binary names * build: bump up copyright date * build: change default PackageName to empty string * build, internal, swarm: enhance build/release process * build: hack ethereum-swarm as a "depends" in deb package * build/ci: remove redundant variables * build, cmd, mobile, params, swarm: remove VERSION file; rename Version to VersionMeta; * internal: remove VERSION() method which reads VERSION file * build: fix VersionFilePath to Version * Makefile: remove clean_go_build_cache.sh until it works * Makefile: revert removal of clean_go_build_cache.sh | ||||
* | core/vm, params: implement EXTCODEHASH opcode (#17202) | gary rong | 2018-07-24 | 2 | -1/+18 |
| | | | | | | | | * core/vm, params: implement EXTCODEHASH opcode * core, params: tiny fixes and polish * core: add function description | ||||
* | core, crypto, params: implement CREATE2 evm instrction (#17196) | gary rong | 2018-07-24 | 1 | -0/+1 |
| | | | | | | | | | | * core, crypto, params: implement CREATE2 evm instrction * core/vm: add opcode to string mapping * core: remove past fork checking * core, crypto: use option2 to generate new address | ||||
* | params, VERSION: v1.8.13 unstable | Felix Lange | 2018-07-05 | 1 | -4/+4 |
| | |||||
* | params: v1.8.12 stable | Felix Lange | 2018-07-05 | 1 | -4/+4 |
| | |||||
* | VERSION, params: begin v1.8.12 release cycle | Péter Szilágyi | 2018-06-12 | 1 | -4/+4 |
| | |||||
* | params: release go-ethereum v1.8.11 | Péter Szilágyi | 2018-06-12 | 1 | -4/+4 |
| | |||||
* | params: fix golint warnings (#16853) | kiel barry | 2018-06-05 | 4 | -23/+33 |
| | | | params: fix golint warnings | ||||
* | VERSION, params: begin 1.8.11 release cycle | Péter Szilágyi | 2018-05-30 | 1 | -4/+4 |
| | |||||
* | params: release Geth 1.8.10 hotfix | Péter Szilágyi | 2018-05-30 | 1 | -4/+4 |
| | |||||
* | VERSION, params: begin 1.8.10 release cycle | Péter Szilágyi | 2018-05-28 | 1 | -4/+4 |
| | |||||
* | params: release go-ethereum v1.8.9 | Péter Szilágyi | 2018-05-28 | 1 | -4/+4 |
| | |||||
* | VERSION, params: start 1.8.9 release cycle | Péter Szilágyi | 2018-05-14 | 1 | -4/+4 |
| | |||||
* | params: release go-ethereum v1.8.8 | Péter Szilágyi | 2018-05-14 | 1 | -4/+4 |
| | |||||
* | VERSION, params: begin v1.8.8 release cycle | Péter Szilágyi | 2018-05-02 | 1 | -4/+4 |
| | |||||
* | params: release geth 1.8.7 | Péter Szilágyi | 2018-05-02 | 1 | -4/+4 |
| | |||||
* | VERSION, params: begin release cycle 1.8.7 | Péter Szilágyi | 2018-04-23 | 1 | -4/+4 |
| | |||||
* | params: release v1.8.6 to fix docker images | Péter Szilágyi | 2018-04-23 | 1 | -4/+4 |
| | |||||
* | VERSION, params: begin Geth 1.8.6 release cycle | Péter Szilágyi | 2018-04-23 | 1 | -4/+4 |
| | |||||
* | params: release Geth v1.8.5 - Dirty Derivative² | Péter Szilágyi | 2018-04-23 | 1 | -4/+4 |
| | |||||
* | VERSION, params: begin v1.8.5 release cycle | Péter Szilágyi | 2018-04-17 | 1 | -4/+4 |
| | |||||
* | params: release Geth v1.8.4 | Péter Szilágyi | 2018-04-17 | 1 | -4/+4 |
| | |||||
* | params, VERSION: v1.8.4 unstable | Felix Lange | 2018-03-27 | 1 | -4/+4 |
| | |||||
* | params: v1.8.3 stable | Felix Lange | 2018-03-27 | 1 | -4/+4 |
| | |||||
* | VERSION, params: begin 1.8.3 release cycle | Péter Szilágyi | 2018-03-05 | 1 | -4/+4 |
| | |||||
* | params: release Geth 1.8.2 stable | Péter Szilágyi | 2018-03-05 | 1 | -4/+4 |
| | |||||
* | core, vm, common: define constantinople fork + shift (#16045) | Martin Holst Swende | 2018-02-23 | 1 | -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 | ||||
* | VERSION, params: begin v1.8.2 release cycle | Péter Szilágyi | 2018-02-19 | 1 | -4/+4 |
| | |||||
* | params: release Geth v1.8.1 | Péter Szilágyi | 2018-02-19 | 1 | -4/+4 |
| | |||||
* | params, VERSION: v1.8.1 unstable | Felix Lange | 2018-02-14 | 1 | -4/+4 |
| | |||||
* | params: v1.8.0 stable | Felix Lange | 2018-02-14 | 1 | -4/+4 |
| | |||||
* | params: update ropsten bootnodes (#16029) | cdetrio | 2018-02-08 | 1 | -2/+2 |
| | | | | | | * params: update ropsten bootnodes * params: fix linter | ||||
* | params: fix bootnodes gofmt | Péter Szilágyi | 2018-02-02 | 1 | -2/+2 |
| | |||||
* | params: Add Ropsten bootnodes (#16008) | Afri Schoedon | 2018-02-01 | 1 | -0/+2 |
| | |||||
* | cmd, params: update discovery v5 bootnodes (#15954) | Felföldi Zsolt | 2018-01-25 | 1 | -8/+1 |
| | |||||
* | p2p, p2p/discover, p2p/discv5: implement UDP port sharing (#15200) | Felföldi Zsolt | 2018-01-22 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | This commit affects p2p/discv5 "topic discovery" by running it on the same UDP port where the old discovery works. This is realized by giving an "unhandled" packet channel to the old v4 discovery packet handler where all invalid packets are sent. These packets are then processed by v5. v5 packets are always invalid when interpreted by v4 and vice versa. This is ensured by adding one to the first byte of the packet hash in v5 packets. DiscoveryV5Bootnodes is also changed to point to new bootnodes that are implementing the changed packet format with modified hash. Existing and new v5 bootnodes are both running on different ports ATM. | ||||
* | all: switch gas limits from big.Int to uint64 | Péter Szilágyi | 2018-01-03 | 1 | -8/+12 |
| | |||||
* | params: add Rinkeby bootnode from Akasha | Péter Szilágyi | 2017-12-21 | 1 | -1/+3 |
| | |||||
* | VERSION, params: begin 1.8.0 release cycle | Péter Szilágyi | 2017-11-21 | 1 | -4/+4 |
| | |||||
* | params: release v1.7.3 stable | Péter Szilágyi | 2017-11-21 | 1 | -4/+4 |
| | |||||
* | cmd, consensus, core, miner: instatx clique for --dev (#15323) | Péter Szilágyi | 2017-10-24 | 2 | -14/+19 |
| | | | | | | | | * 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 | ||||
* | VERSION, params: start 1.7.3 release cycle | Péter Szilágyi | 2017-10-14 | 1 | -4/+4 |
| | |||||
* | params: bump to 1.7.2 stable | Péter Szilágyi | 2017-10-14 | 1 | -4/+4 |
| | |||||
* | params: explain EIP150Hash (#15237) | Péter Szilágyi | 2017-10-10 | 1 | -2/+3 |
| | |||||
* | params, VERSION: v1.7.2 unstable | Felix Lange | 2017-10-04 | 1 | -4/+4 |
| | |||||
* | params: v1.7.1 stable | Felix Lange | 2017-10-04 | 1 | -4/+4 |
| | |||||
* | cmd/puppeth, params: enable Byzantium on all networks | Péter Szilágyi | 2017-10-02 | 1 | -3/+2 |
| | |||||
* | params: rename EIP150 gas table (#15167) | gary rong | 2017-09-20 | 2 | -4/+2 |
| | |||||
* | VERSION, params: begin 1.7.1 release cycle | Péter Szilágyi | 2017-09-14 | 1 | -4/+4 |
| | |||||
* | params: release Geth 1.7.0 - Megara | Péter Szilágyi | 2017-09-14 | 1 | -4/+4 |
| | |||||
* | params: enable Byzantium on Ropsten/tests, fix failures | Péter Szilágyi | 2017-09-14 | 1 | -3/+3 |
| | |||||
* | params: Updated finalized gascosts for ECMUL/MODEXP (#15135) | Martin Holst Swende | 2017-09-14 | 1 | -2/+2 |
| | | | | | | | | | | | | * params: Updated finalized gascosts for ECMUL/MODEXP * core,tests: Updates pending new tests * tests: Updated with new tests * core: revert state transition bugfix * tests: Add expected failures due to #15119 | ||||
* | consensus, core, params: rebrand Metro to Byzantium | Péter Szilágyi | 2017-09-14 | 1 | -36/+36 |
| | |||||
* | params: add Infura bootnode to Rinkeby | Péter Szilágyi | 2017-09-13 | 1 | -0/+2 |
| | |||||
* | core, eth: clean up bloom filtering, add some tests | Péter Szilágyi | 2017-09-06 | 1 | -0/+26 |
| | |||||
* | eth: use maxpeers from p2p layer instead of extra config | Péter Szilágyi | 2017-09-06 | 1 | -2/+0 |
| | |||||
* | core/vm: polish precompile contract code, add tests and benches | Péter Szilágyi | 2017-08-14 | 1 | -8/+16 |
| | | | | | * Update modexp gas calculation to new version * Fix modexp modulo 0 special case to return zero | ||||
* | VERSION, params: begin 1.7.0 cycle (cannot downgrade) | Péter Szilágyi | 2017-07-14 | 1 | -2/+2 |
| | |||||
* | params, VERSION: v1.6.8 unstable | Felix Lange | 2017-07-11 | 1 | -4/+4 |
| | |||||
* | params: v1.6.7 stable | Felix Lange | 2017-07-11 | 1 | -4/+4 |
| | |||||
* | params: remove redundant consts, disable metro on AllProtocolChanges | Péter Szilágyi | 2017-07-04 | 3 | -67/+17 |
| | |||||
* | params, VERSION: 1.6.7 unstable | Felix Lange | 2017-06-23 | 1 | -4/+4 |
| | |||||
* | params: 1.6.6 stable | Felix Lange | 2017-06-23 | 1 | -4/+4 |
| | |||||
* | VERSION, params: begin Geth 1.6.6 release cycle | Péter Szilágyi | 2017-06-02 | 1 | -4/+4 |
| | |||||
* | params: mark Geth v1.6.5 stable (Hat Trick) | Péter Szilágyi | 2017-06-02 | 1 | -4/+4 |
| | |||||
* | VERSION, params: begin geth 1.6.5 cycle | Péter Szilágyi | 2017-06-01 | 1 | -4/+4 |
| | |||||
* | params: Geth 1.6.4 stable (hotfix) | Péter Szilágyi | 2017-06-01 | 1 | -4/+4 |
| | |||||
* | VERSION, params: begin Geth 1.6.4 release cycle | Péter Szilágyi | 2017-06-01 | 1 | -4/+4 |
| | |||||
* | params: release Geth 1.6.3 - Covfefe | Péter Szilágyi | 2017-06-01 | 1 | -4/+4 |
| | |||||
* | params, VERSION: 1.6.3 unstable | Felix Lange | 2017-05-31 | 1 | -4/+4 |
| | |||||
* | params: 1.6.2 stable | Felix Lange | 2017-05-31 | 1 | -4/+4 |
| | |||||
* | consensus, core, core/vm, parems: review fixes | Jeffrey Wilcke | 2017-05-18 | 1 | -18/+20 |
| | |||||
* | core/types: corrected abstract signing address | Jeffrey Wilcke | 2017-05-18 | 1 | -1/+1 |
| | |||||
* | consensus, core/*, params: metropolis preparation refactor | Jeffrey Wilcke | 2017-05-18 | 2 | -25/+62 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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) | ||||
* | VERSION, params: begin 1.6.2 release cycle | Péter Szilágyi | 2017-05-04 | 1 | -4/+4 |
| | |||||
* | params: release Geth 1.6.1, Deripors of Ohratuu | Péter Szilágyi | 2017-05-04 | 1 | -4/+4 |
| | |||||
* | cmd, core, params: add --rinkeby flag for fast connectivity | Péter Szilágyi | 2017-05-04 | 2 | -1/+29 |
| | |||||
* | VERSION, params: begin 1.6.1 release cycle | Péter Szilágyi | 2017-04-14 | 1 | -4/+4 |
| | |||||
* | params: release Geth 1.6.0, Puppeth Master | Péter Szilágyi | 2017-04-14 | 1 | -4/+4 |
| | |||||
* | all: update license information | Felix Lange | 2017-04-14 | 1 | -7/+7 |
| | |||||
* | cmd/geth: add --config file flag (#13875) | Felix Lange | 2017-04-12 | 1 | -1/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * p2p/discover, p2p/discv5: add marshaling methods to Node * p2p/netutil: make Netlist decodable from TOML * common/math: encode nil HexOrDecimal256 as 0x0 * cmd/geth: add --config file flag * cmd/geth: add missing license header * eth: prettify Config again, fix tests * eth: use gasprice.Config instead of duplicating its fields * eth/gasprice: hide nil default from dumpconfig output * cmd/geth: hide genesis block in dumpconfig output * node: make tests compile * console: fix tests * cmd/geth: make TOML keys look exactly like Go struct fields * p2p: use discovery by default This makes the zero Config slightly more useful. It also fixes package node tests because Node detects reuse of the datadir through the NodeDatabase. * cmd/geth: make ethstats URL settable through config file * cmd/faucet: fix configuration * cmd/geth: dedup attach tests * eth: add comment for DefaultConfig * eth: pass downloader.SyncMode in Config This removes the FastSync, LightSync flags in favour of a more general SyncMode flag. * cmd/utils: remove jitvm flags * cmd/utils: make mutually exclusive flag error prettier It now reads: Fatal: flags --dev, --testnet can't be used at the same time * p2p: fix typo * node: add DefaultConfig, use it for geth * mobile: add missing NoDiscovery option * cmd/utils: drop MakeNode This exposed a couple of places that needed to be updated to use node.DefaultConfig. * node: fix typo * eth: make fast sync the default mode * cmd/utils: remove IPCApiFlag (unused) * node: remove default IPC path Set it in the frontends instead. * cmd/geth: add --syncmode * cmd/utils: make --ipcdisable and --ipcpath mutually exclusive * cmd/utils: don't enable WS, HTTP when setting addr * cmd/utils: fix --identity | ||||
* | params: updated testnet bootnodes (#14310) | Jamie Pitts | 2017-04-11 | 1 | -3/+3 |
| | |||||
* | consensus/clique: Proof of Authority (#3753) | Péter Szilágyi | 2017-04-10 | 1 | -10/+45 |
| | | | | This PR is a prototype implementation of plugable consensus engines and the Clique PoA protocol ethereum/EIPs#225 | ||||
* | core, consensus: pluggable consensus engines (#3817) | Péter Szilágyi | 2017-04-05 | 1 | -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: refactor genesis handling | Felix Lange | 2017-03-23 | 3 | -437/+339 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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 Wilcke | 2017-03-01 | 1 | -0/+10 |
| | |||||
* | params: updated bootnodes (#3720) | Jamie Pitts | 2017-02-28 | 1 | -5/+8 |
| | | | | | | * Updated the list of go bootnodes: replaced BR with a new one, added US-WEST and AU. * Updated bootnodes, minor go formatting change. | ||||
* | common: move big integer math to common/math (#3699) | Felix Lange | 2017-02-27 | 1 | -0/+34 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * common: remove CurrencyToString Move denomination values to params instead. * common: delete dead code * common: move big integer operations to common/math This commit consolidates all big integer operations into common/math and adds tests and documentation. There should be no change in semantics for BigPow, BigMin, BigMax, S256, U256, Exp and their behaviour is now locked in by tests. The BigD, BytesToBig and Bytes2Big functions don't provide additional value, all uses are replaced by new(big.Int).SetBytes(). BigToBytes is now called PaddedBigBytes, its minimum output size parameter is now specified as the number of bytes instead of bits. The single use of this function is in the EVM's MSTORE instruction. Big and String2Big are replaced by ParseBig, which is slightly stricter. It previously accepted leading zeros for hexadecimal inputs but treated decimal inputs as octal if a leading zero digit was present. ParseUint64 is used in places where String2Big was used to decode a uint64. The new functions MustParseBig and MustParseUint64 are now used in many places where parsing errors were previously ignored. * common: delete unused big integer variables * accounts/abi: replace uses of BytesToBig with use of encoding/binary * common: remove BytesToBig * common: remove Bytes2Big * common: remove BigTrue * cmd/utils: add BigFlag and use it for error-checked integer flags While here, remove environment variable processing for DirectoryFlag because we don't use it. * core: add missing error checks in genesis block parser * common: remove String2Big * cmd/evm: use utils.BigFlag * common/math: check for 256 bit overflow in ParseBig This is supposed to prevent silent overflow/truncation of values in the genesis block JSON. Without this check, a genesis block that set a balance larger than 256 bits would lead to weird behaviour in the VM. * cmd/utils: fixup import | ||||
* | VERSION, params: bumped unstable version to 1.6 (#3685) | Jeffrey Wilcke | 2017-02-18 | 1 | -2/+2 |
| | |||||
* | params: core, core/vm, miner: 64bit gas instructions | Jeffrey Wilcke | 2017-02-14 | 2 | -86/+82 |
| | | | | | | | | | | | | | | | | | Reworked the EVM gas instructions to use 64bit integers rather than arbitrary size big ints. All gas operations, be it additions, multiplications or divisions, are checked and guarded against 64 bit integer overflows. In additon, most of the protocol paramaters in the params package have been converted to uint64 and are now constants rather than variables. * common/math: added overflow check ops * core: vmenv, env renamed to evm * eth, internal/ethapi, les: unmetered eth_call and cancel methods * core/vm: implemented big.Int pool for evm instructions * core/vm: unexported intPool methods & verification methods * core/vm: added memoryGasCost overflow check and test | ||||
* | VERSION, params: start 1.5.10 development cycle | Péter Szilágyi | 2017-02-14 | 1 | -4/+4 |
| | |||||
* | params: 1.5.9 stable | Péter Szilágyi | 2017-02-14 | 1 | -4/+4 |
| | |||||
* | Revert "params: core, core/vm, miner: 64bit gas instructions (#3514)" | Jeffrey Wilcke | 2017-02-13 | 2 | -82/+86 |
| | | | | This reverts commit 8b57c494908637a5c0e74f8f7a13b3218e026757. | ||||
* | params: core, core/vm, miner: 64bit gas instructions (#3514) | Jeffrey Wilcke | 2017-02-02 | 2 | -86/+82 |
| | | | | | | | | | | | | | | | | Reworked the EVM gas instructions to use 64bit integers rather than arbitrary size big ints. All gas operations, be it additions, multiplications or divisions, are checked and guarded against 64 bit integer overflows. In additon, most of the protocol paramaters in the params package have been converted to uint64 and are now constants rather than variables. * common/math: added overflow check ops * core: vmenv, env renamed to evm * eth, internal/ethapi, les: unmetered eth_call and cancel methods * core/vm: implemented big.Int pool for evm instructions * core/vm: unexported intPool methods & verification methods * core/vm: added memoryGasCost overflow check and test | ||||
* | params, VERSION: v1.5.9-unstable | Felix Lange | 2017-02-01 | 1 | -4/+4 |
| | |||||
* | params: v1.5.8-stable | Felix Lange | 2017-02-01 | 1 | -4/+4 |
| | |||||
* | params, VERSION: 1.5.8 unstable | Felix Lange | 2017-01-16 | 1 | -4/+4 |
| | |||||
* | params: stable 1.5.7 | Felix Lange | 2017-01-16 | 1 | -4/+4 |
| | |||||
* | params, VERSION: start 1.5.7 release cycle | Péter Szilágyi | 2017-01-09 | 1 | -4/+4 |
| | |||||
* | params: stable version 1.5.6 | Péter Szilágyi | 2017-01-09 | 1 | -4/+4 |
| | |||||
* | all: fix spelling errors | Péter Szilágyi | 2017-01-07 | 1 | -1/+1 |
| | |||||
* | params: avoid importing p2p/discover for bootnodes | Felix Lange | 2017-01-06 | 1 | -19/+12 |
| | | | | | params is imported by leaf-ish library packages and should not pull in the p2p stack. | ||||
* | VERSION, params: start Geth 1.5.6 development cycle | Péter Szilágyi | 2016-12-14 | 1 | -4/+4 |
| | |||||
* | params: stable version 1.5.5 | Péter Szilágyi | 2016-12-14 | 1 | -4/+4 |
| | |||||
* | VERSION, params: bump unstable version 1.5.5 (#3361) | Jeffrey Wilcke | 2016-11-28 | 1 | -4/+4 |
| | |||||
* | params: stable version 1.5.4 (#3360) | Jeffrey Wilcke | 2016-11-28 | 1 | -4/+4 |
| | |||||
* | cmd, ethstats, les, mobile, params: native netstats (#3336) | Péter Szilágyi | 2016-11-25 | 1 | -0/+35 |
| | |||||
* | core: improved bad block error reporting (#3320) | Jeffrey Wilcke | 2016-11-23 | 1 | -0/+14 |
| | |||||
* | core: implemented new ropsten testnet | Jeffrey Wilcke | 2016-11-23 | 2 | -14/+14 |
| | |||||
* | cmd/utils, mobile, params: set the correct field on testnet EIP 155 (#3272) | Péter Szilágyi | 2016-11-16 | 1 | -0/+2 |
| | |||||
* | params: hardfork blocknumber (#3264) | Jeffrey Wilcke | 2016-11-15 | 1 | -2/+2 |
| | |||||
* | core, core/types: refactored tx chain id checking (#3257) | Jeffrey Wilcke | 2016-11-15 | 1 | -0/+3 |
|\ | | | | | | | | | | | | | | | * core, core/types: refactored tx chain id checking Refactored explicit chain id checking in to the Sender deriviation method * cmd/utils, params: define chain ids | ||||
| * | cmd/utils, params: define chain ids | Jeffrey Wilcke | 2016-11-15 | 1 | -0/+3 |
| | | |||||
* | | cmd/utils, mobile: place bootnodes in LGPL packages | Péter Szilágyi | 2016-11-15 | 1 | -0/+52 |
| | | |||||
* | | mobile: port wrappers to EIP155 and EIP158 fork | Péter Szilágyi | 2016-11-15 | 1 | -0/+22 |
|/ | |||||
* | core, params: EIP#170 | Jeffrey Wilcke | 2016-11-14 | 1 | -3/+1 |
| | |||||
* | cmd/utils: set temporary HF number | Jeffrey Wilcke | 2016-11-13 | 1 | -0/+3 |
| | |||||
* | core/types, params: EIP#155 | Jeffrey Wilcke | 2016-11-13 | 1 | -4/+32 |
| | |||||
* | core/vm, params: EIP160: EXP reprice | Jeffrey Wilcke | 2016-11-13 | 1 | -8/+4 |
| | |||||
* | core, core/state, trie: EIP158, reprice & skip empty account write | Jeffrey Wilcke | 2016-11-13 | 2 | -0/+106 |
| | | | | | | | | | | | | | | | 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> | ||||
* | cmd, params: only set default fork configs for test and mainnet | Péter Szilágyi | 2016-10-29 | 1 | -0/+3 |
| | |||||
* | cmd/utils, core, params: explicitly pick reprice fork for fast sync | Péter Szilágyi | 2016-10-29 | 1 | -5/+13 |
| | |||||
* | params: set reprice block number to 2463000 | Jeffrey Wilcke | 2016-10-15 | 1 | -1/+1 |
| | |||||
* | core, core/vm: added gas price variance table | Jeffrey Wilcke | 2016-10-15 | 3 | -2/+70 |
| | | | | | | | | | | | | | 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 fork | Péter Szilágyi | 2016-07-15 | 3 | -119/+419 |
| | |||||
* | core, params, tests: add DAO hard-fork balance moves | Péter Szilágyi | 2016-07-15 | 2 | -4/+113 |
| | |||||
* | cmd/geth, miner, params: special extradata for DAO fork start | Péter Szilágyi | 2016-07-15 | 1 | -5/+12 |
| | |||||
* | cmd, core, eth, params: implement flags to control dao fork blocks | Péter Szilágyi | 2016-07-15 | 1 | -0/+2 |
| | |||||
* | core: added basic chain configuration | Jeffrey Wilcke | 2016-04-01 | 2 | -13/+5 |
| | | | | | | | | | 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 block | Jeffrey Wilcke | 2016-02-29 | 1 | -1/+1 |
| | |||||
* | cmd/utils, params: homestead block | Jeffrey Wilcke | 2016-02-29 | 1 | -1/+5 |
| | |||||
* | params: settle the Pi vs Tau dispute | Jeffrey Wilcke | 2016-02-26 | 1 | -1/+1 |
| | | | | This commit increases the artificial gas floor to 4712388 | ||||
* | generators: Don't generate params/protocol_params.go with +x bit | Ricardo Catalinas Jiménez | 2016-02-22 | 1 | -0/+0 |
| | |||||
* | core, core/vm, crypto: fixes for homestead | Jeffrey Wilcke | 2016-02-18 | 1 | -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 changes | Gustav Simonsson | 2016-02-18 | 2 | -2/+33 |
| | | | | | | | | * 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 | ||||
* | miner: gas limit strategy, target 3141592 & def gas price 50 Shannon | Gustav Simonsson | 2015-08-04 | 1 | -2/+2 |
| | |||||
* | Merge pull request #1515 from fjl/license-fixes | Jeffrey Wilcke | 2015-07-28 | 1 | -1/+1 |
|\ | | | | | all: fix license headers one more time | ||||
| * | all: fix license headers one more time | Felix Lange | 2015-07-24 | 1 | -1/+1 |
| | | | | | | | | I forgot to update one instance of "go-ethereum" in commit 3f047be5a. | ||||
* | | params: reduce extra data to 32 bytes | Jeffrey Wilcke | 2015-07-26 | 1 | -2/+2 |
| | | |||||
* | | cmd/geth, core, eth: Version 1.0.0 | Jeffrey Wilcke | 2015-07-25 | 1 | -45/+47 |
|/ | | | | | | | Genesis release. Closes #1402 Conflicts: cmd/geth/main.go | ||||
* | all: update license headers to distiguish GPL/LGPL | Felix Lange | 2015-07-23 | 1 | -4/+4 |
| | | | | | All code outside of cmd/ is licensed as LGPL. The headers now reflect this by calling the whole work "the go-ethereum library". | ||||
* | all: update license information | Felix Lange | 2015-07-07 | 1 | -0/+16 |
| | |||||
* | Read most protocol params from common/params.json | Gustav Simonsson | 2015-04-02 | 1 | -0/+54 |
* Add params package with exported variables generated from github.com/ethereum/common/blob/master/params.json * Use params package variables in applicable places * Add check for minimum gas limit in validation of block's gas limit * Remove common/params.json from go-ethereum to avoid outdated version of it |