aboutsummaryrefslogtreecommitdiffstats
path: root/params
Commit message (Collapse)AuthorAgeFilesLines
* governance: implement delegate/undelegate function and add tests (#33)Wei-Ning Huang2019-06-122-5/+5
| | | | | Implement delegate/undelegate function to allow others to delegate it's fund to stake on a node. Also added governance contract tests.
* core: vm: add minStake to governance contract variable (#31)Wei-Ning Huang2019-06-122-1/+12
|
* core: validate DKG set with correct nodeset in round-2 (#19)Wei-Ning Huang2019-06-121-1/+1
| | | | | * vendor: sync consensus core * core: validate DKG set with correct nodeset in round-2
* params: Do not use DEXON config for test. (#15)Jimmy Hu2019-06-121-1/+1
|
* test: increase numChains to 6Wei-Ning Huang2019-06-121-1/+1
|
* params: fix genesis block config and use testnet for test (#10)Wei-Ning Huang2019-06-121-4/+4
|
* app: fix core testBJ42019-06-121-4/+5
|
* core: vm: governance: remove maxIntervalWei-Ning Huang2019-06-122-11/+1
|
* dex: add block gas limit into governanceWei-Ning Huang2019-06-122-1/+11
|
* Remove reference of Rinkeby and Goerli network.Wei-Ning Huang2019-06-122-80/+0
| | | | We do not need ethereum Rinkeby and Goerli network in our system, remove it.
* core: populate genesisAlloc in source code with DEXON genesis dataWei-Ning Huang2019-06-121-14/+39
|
* core: vm: add blockReward to governanceWei-Ning Huang2019-06-122-16/+16
|
* core: set governance owner in genesisWei-Ning Huang2019-06-122-13/+22
|
* params: load blockReward from genesis JSON fileWei-Ning Huang2019-06-122-0/+110
|
* core: vm: implement RAND opcode supportWei-Ning Huang2019-06-121-0/+1
| | | | | | DEXON has a built-in on chain random oracle that allow one to retrieve a random variable. Add a new opcode `RAND` to load the random variable onto the stack.
* params: update seed node ipWei-Ning Huang2019-06-121-2/+2
|
* dex/core: misc bug fixesWei-Ning Huang2019-06-121-1/+2
|
* dex: run consensus core on StartWei-Ning Huang2019-06-121-2/+2
|
* app: add default block rewardBojie Wu2019-06-121-3/+4
|
* params: update bootnode infoWei-Ning Huang2019-06-121-10/+2
|
* app: calculate block reward according to chain numBojie Wu2019-06-121-11/+12
|
* dex: network: implement the network interfaceSonic2019-06-121-1/+1
|
* core: populate genesis CRS in genesis stateWei-Ning Huang2019-06-121-1/+3
|
* core: populate dexon configuration in SetupGenesisBlockWei-Ning Huang2019-06-121-4/+24
|
* Change import go github.com/dexon-foundation/dexonWei-Ning Huang2019-06-122-2/+2
|
* Update testchain config and add test bootnode keyWei-Ning Huang2019-06-122-10/+7
|
* Add initial DEXON consensus engine implementation skeletonWei-Ning Huang2019-06-121-3/+14
|
* params, swarm: release Geth v1.8.27 (noop Swarm v0.3.15)Péter Szilágyi2019-04-171-1/+1
|
* eth, les, light: enforce CHT checkpoints on fast-sync tooPéter Szilágyi2019-04-171-0/+9
|
* params, swarm: release Geth v1.8.26 (+noop Swarm v0.3.14)Péter Szilágyi2019-04-101-1/+1
|
* params, swarm: hotfix Geth v1.8.25 release to restore rpc flagsPéter Szilágyi2019-04-091-1/+1
|
* params, swarm: release Geth v1.8.24 (noop Swarm 0.3.12)Péter Szilágyi2019-04-081-1/+1
|
* params: set Rinkeby Petersburg fork block (4th May, 2019)Péter Szilágyi2019-04-081-1/+1
|
* light, params: update CHTs, integrate CHT for Goerli tooPéter Szilágyi2019-04-021-16/+17
|
* params, swarm: release Geth v1.8.23, Swarm v0.3.11Péter Szilágyi2019-02-201-1/+1
|
* cmd, core, params: add support for GoerliPéter Szilágyi2019-02-192-0/+41
| | | | (cherry picked from commit b0ed083ead2d58cc25754eacdb48046eb2bc81cb)
* params, swarm/version: Geth 1.8.22-stable, Swarm 0.3.10-stablev1.8.22Felix Lange2019-01-311-1/+1
|
* params: new CHTs (#18577)Felföldi Zsolt2019-01-301-12/+12
|
* core, cmd/puppeth: implement constantinople fix, disable EIP-1283 (#18486)Martin Holst Swende2019-01-301-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.9v1.8.21Péter Szilágyi2019-01-161-4/+4
|
* params: postpone Constantinople due to net SSTORE reentrancyPéter Szilágyi2019-01-161-1/+1
|
* params, swarm: begin Geth v1.9.0 family, Swarm v0.3.9 cyclePéter Szilágyi2018-12-111-4/+4
|
* params, swarm: release Geth v1.8.20 and Swarm v0.3.8v1.8.20Péter Szilágyi2018-12-111-4/+4
|
* params: update CHTs for the 1.8.20 releasePéter Szilágyi2018-12-101-12/+12
|
* params: set mainnet and Rinkeby Constantinople fork blocksPéter Szilágyi2018-12-101-2/+2
|
* params, swarm: start Geth v1.8.20 and Swarm v0.3.8 release cyclePéter Szilágyi2018-11-281-4/+4
|
* params, swarm: release Geth v1.8.19 and Swarm v0.3.7v1.8.19Péter Szilágyi2018-11-281-4/+4
|
* params: update CHTs for the v1.8.19 releasePéter Szilágyi2018-11-281-12/+12
|
* config: add constantinople block to testchainconfigMartin Holst Swende2018-11-261-1/+1
|
* params: add Constantinople block to AllXYZProtocolChanges (#18162)Enrique Fynn2018-11-221-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 cyclePéter Szilágyi2018-11-141-4/+4
|
* params, swarm: release Geth v1.8.18 and Swarm v0.3.6v1.8.18Péter Szilágyi2018-11-141-4/+4
|
* params: update CHTsPéter Szilágyi2018-11-141-12/+12
|
* params, swarm: begin Geth v1.8.18, Swarm v0.3.6 cyclePéter Szilágyi2018-10-091-4/+4
|
* params, swarm: release Geth v1.8.17 and Swar v0.3.5v1.8.17Péter Szilágyi2018-10-091-4/+4
|
* params: add ropsten fork delay, update les checkpointsPéter Szilágyi2018-10-051-13/+13
|
* params: enable constantinople on ropsten at 4.2MEOS Classic2018-10-011-1/+1
|
* params, swarm: begin Geth v1.8.17, Swarm v0.3.5 cyclePéter Szilágyi2018-09-241-4/+4
|
* params, swarm: release Geth v1.8.16, Swarm v0.3.4v1.8.16Péter Szilágyi2018-09-241-4/+4
|
* Merge pull request #17383 from holiman/eip1283Péter Szilágyi2018-09-212-8/+27
|\ | | | | Eip1283
| * core, params: polish net gas metering PR a bitPéter Szilágyi2018-09-182-8/+27
| |
* | les, light, params: update light client CHTsPéter Szilágyi2018-09-201-0/+39
| |
* | core/vm: add switches to select evm+ewasm interpreters (#17687)Guillaume Ballet2018-09-201-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)Mymskmkt2018-09-031-1/+1
|
* params, swarm: begin geth v1.8.16 and swarm v0.3.4 cyclePéter Szilágyi2018-08-291-4/+4
|
* params, swarm: release geth v1.8.15 and swarm 0.3.3v1.8.15Péter Szilágyi2018-08-291-4/+4
|
* cmd, core, eth, miner, params: configurable gas floor and ceilPéter Szilágyi2018-08-292-15/+5
|
* all: make indexer configurable (#17188)gary rong2018-08-281-2/+30
|
* params, swarm: begin geth v1.8.15 and swarm v0.3.3 cyclePéter Szilágyi2018-08-221-4/+4
|
* params, swarm: release Geth v1.8.14 and Swarm v0.3.2v1.8.14Péter Szilágyi2018-08-221-4/+4
|
* consensus/clique, light: light client snapshots on RinkebyPéter Szilágyi2018-08-211-0/+1
|
* params, swarm/version: begin Geth v1.8.14, Swarm v0.3.2 cyclePéter Szilágyi2018-07-311-4/+4
|
* params, swarm/version: release Geth v1.8.13, Swarm 0.3.1v1.8.13Péter Szilágyi2018-07-311-4/+4
|
* build: rename swarm deb package to ethereum-swarm; change swarm deb version ↵Anton Evangelatov2018-07-301-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 rong2018-07-242-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 rong2018-07-241-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 unstableFelix Lange2018-07-051-4/+4
|
* params: v1.8.12 stablev1.8.12Felix Lange2018-07-051-4/+4
|
* VERSION, params: begin v1.8.12 release cyclePéter Szilágyi2018-06-121-4/+4
|
* params: release go-ethereum v1.8.11v1.8.11Péter Szilágyi2018-06-121-4/+4
|
* params: fix golint warnings (#16853)kiel barry2018-06-054-23/+33
| | | params: fix golint warnings
* VERSION, params: begin 1.8.11 release cyclePéter Szilágyi2018-05-301-4/+4
|
* params: release Geth 1.8.10 hotfixv1.8.10Péter Szilágyi2018-05-301-4/+4
|
* VERSION, params: begin 1.8.10 release cyclePéter Szilágyi2018-05-281-4/+4
|
* params: release go-ethereum v1.8.9v1.8.9Péter Szilágyi2018-05-281-4/+4
|
* VERSION, params: start 1.8.9 release cyclePéter Szilágyi2018-05-141-4/+4
|
* params: release go-ethereum v1.8.8v1.8.8Péter Szilágyi2018-05-141-4/+4
|
* VERSION, params: begin v1.8.8 release cyclePéter Szilágyi2018-05-021-4/+4
|
* params: release geth 1.8.7v1.8.7Péter Szilágyi2018-05-021-4/+4
|
* VERSION, params: begin release cycle 1.8.7Péter Szilágyi2018-04-231-4/+4
|
* params: release v1.8.6 to fix docker imagesv1.8.6Péter Szilágyi2018-04-231-4/+4
|
* VERSION, params: begin Geth 1.8.6 release cyclePéter Szilágyi2018-04-231-4/+4
|
* params: release Geth v1.8.5 - Dirty Derivative²v1.8.5Péter Szilágyi2018-04-231-4/+4
|
* VERSION, params: begin v1.8.5 release cyclePéter Szilágyi2018-04-171-4/+4
|
* params: release Geth v1.8.4v1.8.4Péter Szilágyi2018-04-171-4/+4
|
* params, VERSION: v1.8.4 unstableFelix Lange2018-03-271-4/+4
|
* params: v1.8.3 stablev1.8.3Felix Lange2018-03-271-4/+4
|
* VERSION, params: begin 1.8.3 release cyclePéter Szilágyi2018-03-051-4/+4
|
* params: release Geth 1.8.2 stablev1.8.2Péter Szilágyi2018-03-051-4/+4
|
* 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
* VERSION, params: begin v1.8.2 release cyclePéter Szilágyi2018-02-191-4/+4
|
* params: release Geth v1.8.1v1.8.1Péter Szilágyi2018-02-191-4/+4
|
* params, VERSION: v1.8.1 unstableFelix Lange2018-02-141-4/+4
|
* params: v1.8.0 stablev1.8.0Felix Lange2018-02-141-4/+4
|
* params: update ropsten bootnodes (#16029)cdetrio2018-02-081-2/+2
| | | | | | * params: update ropsten bootnodes * params: fix linter
* params: fix bootnodes gofmtPéter Szilágyi2018-02-021-2/+2
|
* params: Add Ropsten bootnodes (#16008)Afri Schoedon2018-02-011-0/+2
|
* cmd, params: update discovery v5 bootnodes (#15954)Felföldi Zsolt2018-01-251-8/+1
|
* p2p, p2p/discover, p2p/discv5: implement UDP port sharing (#15200)Felföldi Zsolt2018-01-221-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 uint64Péter Szilágyi2018-01-031-8/+12
|
* params: add Rinkeby bootnode from AkashaPéter Szilágyi2017-12-211-1/+3
|
* VERSION, params: begin 1.8.0 release cyclePéter Szilágyi2017-11-211-4/+4
|
* params: release v1.7.3 stablev1.7.3Péter Szilágyi2017-11-211-4/+4
|
* cmd, consensus, core, miner: instatx clique for --dev (#15323)Péter Szilágyi2017-10-242-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 cyclePéter Szilágyi2017-10-141-4/+4
|
* params: bump to 1.7.2 stablev1.7.2Péter Szilágyi2017-10-141-4/+4
|
* params: explain EIP150Hash (#15237)Péter Szilágyi2017-10-101-2/+3
|
* params, VERSION: v1.7.2 unstableFelix Lange2017-10-041-4/+4
|
* params: v1.7.1 stablev1.7.1Felix Lange2017-10-041-4/+4
|
* cmd/puppeth, params: enable Byzantium on all networksPéter Szilágyi2017-10-021-3/+2
|
* params: rename EIP150 gas table (#15167)gary rong2017-09-202-4/+2
|
* VERSION, params: begin 1.7.1 release cyclePéter Szilágyi2017-09-141-4/+4
|
* params: release Geth 1.7.0 - Megarav1.7.0Péter Szilágyi2017-09-141-4/+4
|
* params: enable Byzantium on Ropsten/tests, fix failuresPéter Szilágyi2017-09-141-3/+3
|
* params: Updated finalized gascosts for ECMUL/MODEXP (#15135)Martin Holst Swende2017-09-141-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 ByzantiumPéter Szilágyi2017-09-141-36/+36
|
* params: add Infura bootnode to RinkebyPéter Szilágyi2017-09-131-0/+2
|
* core, eth: clean up bloom filtering, add some testsPéter Szilágyi2017-09-061-0/+26
|
* eth: use maxpeers from p2p layer instead of extra configPéter Szilágyi2017-09-061-2/+0
|
* core/vm: polish precompile contract code, add tests and benchesPéter Szilágyi2017-08-141-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ágyi2017-07-141-2/+2
|
* params, VERSION: v1.6.8 unstableFelix Lange2017-07-111-4/+4
|
* params: v1.6.7 stablev1.6.7Felix Lange2017-07-111-4/+4
|
* params: remove redundant consts, disable metro on AllProtocolChangesPéter Szilágyi2017-07-043-67/+17
|
* params, VERSION: 1.6.7 unstableFelix Lange2017-06-231-4/+4
|
* params: 1.6.6 stablev1.6.6Felix Lange2017-06-231-4/+4
|
* VERSION, params: begin Geth 1.6.6 release cyclePéter Szilágyi2017-06-021-4/+4
|
* params: mark Geth v1.6.5 stable (Hat Trick)v1.6.5Péter Szilágyi2017-06-021-4/+4
|
* VERSION, params: begin geth 1.6.5 cyclePéter Szilágyi2017-06-011-4/+4
|
* params: Geth 1.6.4 stable (hotfix)v1.6.4Péter Szilágyi2017-06-011-4/+4
|
* VERSION, params: begin Geth 1.6.4 release cyclePéter Szilágyi2017-06-011-4/+4
|
* params: release Geth 1.6.3 - Covfefev1.6.3Péter Szilágyi2017-06-011-4/+4
|
* params, VERSION: 1.6.3 unstableFelix Lange2017-05-311-4/+4
|
* params: 1.6.2 stablev1.6.2Felix Lange2017-05-311-4/+4
|
* 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-182-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 cyclePéter Szilágyi2017-05-041-4/+4
|
* params: release Geth 1.6.1, Deripors of Ohratuuv1.6.1Péter Szilágyi2017-05-041-4/+4
|
* cmd, core, params: add --rinkeby flag for fast connectivityPéter Szilágyi2017-05-042-1/+29
|
* VERSION, params: begin 1.6.1 release cyclePéter Szilágyi2017-04-141-4/+4
|
* params: release Geth 1.6.0, Puppeth Masterv1.6.0Péter Szilágyi2017-04-141-4/+4
|
* all: update license informationFelix Lange2017-04-141-7/+7
|
* cmd/geth: add --config file flag (#13875)Felix Lange2017-04-121-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 Pitts2017-04-111-3/+3
|
* 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, 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: refactor genesis handlingFelix Lange2017-03-233-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 Wilcke2017-03-011-0/+10
|
* params: updated bootnodes (#3720)Jamie Pitts2017-02-281-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 Lange2017-02-271-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 Wilcke2017-02-181-2/+2
|
* params: core, core/vm, miner: 64bit gas instructionsJeffrey Wilcke2017-02-142-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 cyclePéter Szilágyi2017-02-141-4/+4
|
* params: 1.5.9 stablePéter Szilágyi2017-02-141-4/+4
|
* Revert "params: core, core/vm, miner: 64bit gas instructions (#3514)"Jeffrey Wilcke2017-02-132-82/+86
| | | | This reverts commit 8b57c494908637a5c0e74f8f7a13b3218e026757.
* params: core, core/vm, miner: 64bit gas instructions (#3514)Jeffrey Wilcke2017-02-022-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-unstableFelix Lange2017-02-011-4/+4
|
* params: v1.5.8-stablev1.5.8Felix Lange2017-02-011-4/+4
|
* params, VERSION: 1.5.8 unstableFelix Lange2017-01-161-4/+4
|
* params: stable 1.5.7v1.5.7Felix Lange2017-01-161-4/+4
|
* params, VERSION: start 1.5.7 release cyclePéter Szilágyi2017-01-091-4/+4
|
* params: stable version 1.5.6Péter Szilágyi2017-01-091-4/+4
|
* all: fix spelling errorsPéter Szilágyi2017-01-071-1/+1
|
* params: avoid importing p2p/discover for bootnodesFelix Lange2017-01-061-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 cyclePéter Szilágyi2016-12-141-4/+4
|
* params: stable version 1.5.5Péter Szilágyi2016-12-141-4/+4
|
* VERSION, params: bump unstable version 1.5.5 (#3361)Jeffrey Wilcke2016-11-281-4/+4
|
* params: stable version 1.5.4 (#3360)v1.5.4Jeffrey Wilcke2016-11-281-4/+4
|
* cmd, ethstats, les, mobile, params: native netstats (#3336)Péter Szilágyi2016-11-251-0/+35
|
* core: improved bad block error reporting (#3320)Jeffrey Wilcke2016-11-231-0/+14
|
* core: implemented new ropsten testnetJeffrey Wilcke2016-11-232-14/+14
|
* cmd/utils, mobile, params: set the correct field on testnet EIP 155 (#3272)Péter Szilágyi2016-11-161-0/+2
|
* params: hardfork blocknumber (#3264)Jeffrey Wilcke2016-11-151-2/+2
|
* core, core/types: refactored tx chain id checking (#3257)Jeffrey Wilcke2016-11-151-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 idsJeffrey Wilcke2016-11-151-0/+3
| |
* | cmd/utils, mobile: place bootnodes in LGPL packagesPéter Szilágyi2016-11-151-0/+52
| |
* | mobile: port wrappers to EIP155 and EIP158 forkPéter Szilágyi2016-11-151-0/+22
|/
* core, params: EIP#170Jeffrey Wilcke2016-11-141-3/+1
|
* cmd/utils: set temporary HF numberJeffrey Wilcke2016-11-131-0/+3
|
* core/types, params: EIP#155Jeffrey Wilcke2016-11-131-4/+32
|
* core/vm, params: EIP160: EXP repriceJeffrey Wilcke2016-11-131-8/+4
|
* core, core/state, trie: EIP158, reprice & skip empty account writeJeffrey Wilcke2016-11-132-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 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-153-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 forkPéter Szilágyi2016-07-153-119/+419
|
* core, params, tests: add DAO hard-fork balance movesPéter Szilágyi2016-07-152-4/+113
|
* 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-012-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 blockJeffrey Wilcke2016-02-291-1/+1
|
* cmd/utils, params: homestead blockJeffrey Wilcke2016-02-291-1/+5
|
* params: settle the Pi vs Tau disputeJeffrey Wilcke2016-02-261-1/+1
| | | | This commit increases the artificial gas floor to 4712388
* generators: Don't generate params/protocol_params.go with +x bitRicardo Catalinas Jiménez2016-02-221-0/+0
|
* 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-182-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 ShannonGustav Simonsson2015-08-041-2/+2
|
* Merge pull request #1515 from fjl/license-fixesJeffrey Wilcke2015-07-281-1/+1
|\ | | | | all: fix license headers one more time
| * all: fix license headers one more timeFelix Lange2015-07-241-1/+1
| | | | | | | | I forgot to update one instance of "go-ethereum" in commit 3f047be5a.
* | params: reduce extra data to 32 bytesJeffrey Wilcke2015-07-261-2/+2
| |
* | cmd/geth, core, eth: Version 1.0.0Jeffrey Wilcke2015-07-251-45/+47
|/ | | | | | | Genesis release. Closes #1402 Conflicts: cmd/geth/main.go
* all: update license headers to distiguish GPL/LGPLFelix Lange2015-07-231-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 informationFelix Lange2015-07-071-0/+16
|
* Read most protocol params from common/params.jsonGustav Simonsson2015-04-021-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