aboutsummaryrefslogtreecommitdiffstats
path: root/params
Commit message (Collapse)AuthorAgeFilesLines
* params: update testnet dmoment (#340)Wei-Ning Huang2019-06-151-2/+2
|
* core: fix genesis timestamp (#338)Jimmy Hu2019-06-151-4/+4
|
* core: update mainnet and testnet config and genesis alloc (#337)Wei-Ning Huang2019-06-152-19/+20
|
* params: update bootnode (#316)Wei-Ning Huang2019-06-151-3/+5
|
* core: vm: make fail stop fine value configurable (#312)Wei-Ning Huang2019-06-151-16/+24
| | | | A node is now quailified only if it has no pending fine and staked >= minstake.
* core: merge notarySet and DKGSet (#265)Jimmy Hu2019-06-151-4/+4
| | | | | | | | * vendor: sync to latest core * core: merge notarySet and dkgSet * dex: optimize network traffic for finalized block
* consensus: dexcon: disqualify dead node (#280)Wei-Ning Huang2019-06-131-4/+4
| | | | | | | | | | Since a qualified node might fail stopped, we need to remove them from qualified nodes to maintain network integrity. We do this by inspect the previous round to see if there are dead nodes. A dead node is a notary set node that does not propose any block in the previous round. We disqualify them by fining them so their staked value is 1 wei below minStake. This make them unqualified for being notary set in the follow on rounds.
* core: vm: automatically calculate notary set size (#276)Wei-Ning Huang2019-06-132-27/+27
|
* core: vm: add extra checks to prevent DKG spamming (#272)Wei-Ning Huang2019-06-121-4/+4
| | | | Add two maps to check the uniqueness of DKGMasterPublicKey and DKGComplaints to prevent malicious actors from spamming it.
* core: vm: reorder minGasPriceLocWei-Ning Huang2019-06-121-4/+4
|
* core: fill in genesis timstamp and remove dMoment from protocol handshake (#263)Wei-Ning Huang2019-06-121-3/+4
| | | | | | Fill in dmoment as genesis block timestamp. This allow us to remove dMoment check from protocol handshake since genesis block hash itself will protect us against different dMoment.
* dex: implement recovery mechanism (#258)Wei-Ning Huang2019-06-122-10/+39
| | | | | | | | | * dex: implement recovery mechanism The DEXON recovery protocol allows us to use the Ethereum blockchain as a fallback consensus chain to coordinate recovery. * fix
* core: vm: group min gas price with related state variables (#257)Wei-Ning Huang2019-06-121-8/+8
|
* params: update testnet config to 40 nodesJimmy Hu2019-06-121-7/+7
|
* params: update taipei bootnode IPWei-Ning Huang2019-06-121-1/+1
|
* core: vm: remove delegation mechanism (#245)Wei-Ning Huang2019-06-121-3/+3
| | | | | | | | | | | | | The current delegation mechanism are prone to unstaking attack. i.e. a malicious attacker could unstake a small amount from a lot of node it staked before and make them unqualified, which leads to potential failure of the network. Since DEXON does not use consensus like DPoS, node is required to have at least MinStake in order to become a node. Voting mechanism is not required in our system since qualified node does not depends on the number of votes. Instead of managing the delegation mechanism in governance contract, we should let the owner manage the delegation and reward distribution mechanism on their own.
* core: vm: expose CRSRound and DKGRound and fix consistency (#236)Wei-Ning Huang2019-06-121-3/+3
|
* params: Change taipei to 40 nodes (#227)Jimmy Hu2019-06-121-3/+3
|
* params: Update config (#224)Jimmy Hu2019-06-121-9/+9
| | | | | | * params: Update config * Update taipei to 30 nodes setup
* core: vm: validate addDKGMasterPublicKey caller properly (#220)Wei-Ning Huang2019-06-121-3/+3
| | | | | | There are two keys in the system: one is the owner's key which is used for stake / unstake. The other is the node key which is used for DKG related operations. We need to allow them to be different so fund renmains safe even if the the node key is lost.
* core: vm: flatten governanceWei-Ning Huang2019-06-121-3/+3
|
* core: sync to latest core (#214)Jimmy Hu2019-06-121-1/+1
| | | | | * vendor: sync to latest core * fix for single chain
* params: add Yilan network (#207)Mission Liao2019-06-122-1/+44
| | | | | | * Add Yilan network * Fixup: remove dummy log
* core: Fixed gas price (#205)Jimmy Hu2019-06-122-3/+15
| | | | | | | | | | * core/vm: update abi * core/vm: add MinGasPrice to gov * params: Add MinGasPrice to Config * dex: SuggestPrice from Governance * test: add minGasPrice to genesis.json * core: check underpriced tx * dex: verify with gas price
* core: set oracle contract's code (#209)Sonic2019-06-121-2/+2
| | | So that other contract can call oracle contract.
* core: Remove K, Phi and NumChains from Governance (#198)Jimmy Hu2019-06-122-46/+13
| | | | | | * change default sync_core.sh * vendor: sync to latest core * core: Remove K, Phi and NumChain
* copy testnet config to taipeiJimmy Hu2019-06-121-8/+8
|
* vendor, param: sync to latest core and update dmoment (#182)Jimmy Hu2019-06-121-1/+1
| | | | | | * vendor: sync to latest core * params: update dmoment
* vendor, param: sync to latest core and update testnet config (#178)Jimmy Hu2019-06-121-3/+3
| | | | | * param: update testnet config * vendor: sync to latest core
* params: Update taipei configJimmy Hu2019-06-121-4/+4
|
* params: update testnet config (#177)Jimmy Hu2019-06-121-3/+3
| | | | | * vendor:sync to latest core * params: Update config for testnet
* params: Update testnet dmomentJimmy Hu2019-06-121-1/+1
|
* params: Update testnet config (#167)Jimmy Hu2019-06-121-4/+4
| | | | | | | | * vendor: sync to latest core * param: update testnet config * params: update dmoment
* param: Update testnet dmoment (#166)Jimmy Hu2019-06-121-1/+1
|
* params: update testnet dMomentWei-Ning Huang2019-06-121-1/+1
|
* params: update testnet genesis and dMomentWei-Ning Huang2019-06-121-4/+4
|
* core: sync to latest core (#158)Jimmy Hu2019-06-121-5/+5
| | | | | | * vendor: sync to latest core * param: Update config * core: update genesis alloc
* params: update testnet dMomentWei-Ning Huang2019-06-121-1/+1
|
* vendor: sync to latest core (#154)Jimmy Hu2019-06-121-1/+1
| | | | | | * vendor: sync to latest core with BA3.0 * params: Update dmoment
* params: update testnet dMomentWei-Ning Huang2019-06-121-1/+1
|
* params: write dMoment into ChainConfig (#150)Wei-Ning Huang2019-06-121-4/+10
|
* params: update genesis configWei-Ning Huang2019-06-121-9/+9
|
* params: update bootnode IPWei-Ning Huang2019-06-121-8/+3
|
* consensus: implement DEXON cryptoeconomics v4.0 (#145)Wei-Ning Huang2019-06-122-103/+126
|
* core: vm: add totalSupply and totalStaked in the governance contract (#144)Wei-Ning Huang2019-06-121-2/+2
| | | | | | | Add totalSupply and totalStaked in the governance contract for the preperation of DEXON cryptoeconomics 4.0. Also removed the unstaked variable in node info and improve tests for delegate/undeleate.
* core: vm: move governance abi to a separate file (#143)Wei-Ning Huang2019-06-121-2/+2
|
* core: update testnet genesis_allocJimmy Hu2019-06-121-2/+2
|
* core: vm: implement byzantine reporting mechanism (#128)Wei-Ning Huang2019-06-122-33/+65
|
* params: update taipei genesis config (#130)Wei-Ning Huang2019-06-121-3/+3
|
* core: update taipei testnet genesis config and alloc (#119)Wei-Ning Huang2019-06-121-2/+2
|
* params: update taipei testnet genesis and config (#113)Wei-Ning Huang2019-06-122-6/+6
|
* core/vm: Add fine to governance. (#107)Jimmy Hu2019-06-121-2/+2
| | | | | | | | * core/vm: Add Fined field to nodeInfo. * core/vm: Add PayFine to Governance * Not qualify if staked-fine < minStake() * Add test for fine * Update genesis hash
* params: enable constantinople fork for testnetsWei-Ning Huang2019-06-121-1/+2
|
* core: vm: Add `MPKReady` to governance (#97)Jimmy Hu2019-06-121-2/+2
| | | | | | * core/vm: Add DKGMPKReady * param: update GenesisHash * vendor: sync to latest core
* core: vm: add undelegate fund lockup mechanism (#94)Wei-Ning Huang2019-06-122-3/+14
| | | | | Only allow a user to withdraw funds after a certain lockup period. This way, the fund of a bad actor could be confiscated before he could escape.
* core: fix tests (#65)Wei-Ning Huang2019-06-121-2/+2
|
* tests: updates testadataWei-Ning Huang2019-06-121-0/+30
|
* core: fix testsWei-Ning Huang2019-06-121-3/+5
|
* params: update testnet bootnode IP (#48)Wei-Ning Huang2019-06-121-1/+1
|
* core: add Taipei testnet (#47)Wei-Ning Huang2019-06-122-3/+38
| | | | Add a new testnet named Taipei.
* core: various changes on tps tuning (#46)Wei-Ning Huang2019-06-121-2/+2
|
* 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
|