aboutsummaryrefslogtreecommitdiffstats
path: root/mobile/params.go
Commit message (Collapse)AuthorAgeFilesLines
* consensus/clique: Proof of Authority (#3753)Péter Szilágyi2017-04-101-46/+0
| | | | This PR is a prototype implementation of plugable consensus engines and the Clique PoA protocol ethereum/EIPs#225
* core: refactor genesis handlingFelix Lange2017-03-231-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* params: avoid importing p2p/discover for bootnodesFelix Lange2017-01-061-2/+2
| | | | | params is imported by leaf-ish library packages and should not pull in the p2p stack.
* mobile: fix ropsten chain configsPéter Szilágyi2016-12-211-1/+1
|
* core: implemented new ropsten testnetJeffrey Wilcke2016-11-231-1/+1
|
* cmd/utils, mobile, params: set the correct field on testnet EIP 155 (#3272)Péter Szilágyi2016-11-161-1/+4
|
* cmd/utils, mobile: place bootnodes in LGPL packagesPéter Szilágyi2016-11-151-0/+11
|
* mobile: port wrappers to EIP155 and EIP158 forkPéter Szilágyi2016-11-151-0/+78