aboutsummaryrefslogtreecommitdiffstats
path: root/contracts/release
Commit message (Collapse)AuthorAgeFilesLines
* rlp, trie, contracts, compression, consensus: improve comments (#14580)S. Matthew English2017-06-121-2/+2
|
* core: refactor genesis handlingFelix Lange2017-03-231-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* all: import "context" instead of "golang.org/x/net/context"Felix Lange2017-03-231-36/+38
| | | | | | | | | | There is no need to depend on the old context package now that the minimum Go version is 1.7. The move to "context" eliminates our weird vendoring setup. Some vendored code still uses golang.org/x/net/context and it is now vendored in the normal way. This change triggered new vet checks around context.WithTimeout which didn't fire with golang.org/x/net/context.
* all: next batch of log polishes to contextual versionsPéter Szilágyi2017-02-281-8/+9
|
* all: blidly swap out glog to our log15, logs need reworkPéter Szilágyi2017-02-231-10/+9
|
* all: fix spelling errorsPéter Szilágyi2017-01-071-2/+2
|
* all: update license informationFelix Lange2016-11-091-1/+1
|
* cmd, eth: added light client and light server modeszsfelfoldi2016-11-091-3/+13
|
* contracts/release: move package release to contracts/Felix Lange2016-08-304-0/+1207
This change also deletes generator.go, moving the only interesting line in it into release.go. The binding has been regenerated with abigen from develop and solc v0.3.6.