aboutsummaryrefslogtreecommitdiffstats
path: root/core/vm/util_test.go
Commit message (Collapse)AuthorAgeFilesLines
* core, core/vm: implemented a generic environment (#3348)Jeffrey Wilcke2016-12-061-32/+0
| | | | | | | | Environment is now a struct (not an interface). This reduces a lot of tech-debt throughout the codebase where a virtual machine environment had to be implemented in order to test or run it. The new environment is suitable to be used en the json tests, core consensus and light client.
* core, core/vm: added gas price variance tableJeffrey Wilcke2016-10-151-1/+8
| | | | | | | | | | | | | 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.
* all: update license informationFelix Lange2016-04-151-0/+16
|
* core: added basic chain configurationJeffrey Wilcke2016-04-011-0/+9
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.