aboutsummaryrefslogtreecommitdiffstats
path: root/core/events.go
Commit message (Collapse)AuthorAgeFilesLines
* cmd/evm, core/vm, test: refactored VM and coreJeffrey Wilcke2015-10-041-5/+5
| | | | | | | | | | | | | | | | | * Moved `vm.Transfer` to `core` package and changed execution to call `env.Transfer` instead of `core.Transfer` directly. * core/vm: byte code VM moved to jump table instead of switch * Moved `vm.Transfer` to `core` package and changed execution to call `env.Transfer` instead of `core.Transfer` directly. * Byte code VM now shares the same code as the JITVM * Renamed Context to Contract * Changed initialiser of state transition & unexported methods * Removed the Execution object and refactor `Call`, `CallCode` & `Create` in to their own functions instead of being methods. * Removed the hard dep on the state for the VM. The VM now depends on a Database interface returned by the environment. In the process the core now depends less on the statedb by usage of the env * Moved `Log` from package `core/state` to package `core/vm`.
* core, core/types: readd transactions after chain re-orgJeffrey Wilcke2015-09-221-0/+3
| | | | | | | | | | | | | | Added a `Difference` method to `types.Transactions` which sets the receiver to the difference of a to b (NOTE: not a **and** b). Transaction pool subscribes to RemovedTransactionEvent adding back to those potential missing from the chain. When a chain re-org occurs remove any transactions that were removed from the canonical chain during the re-org as well as the receipts that were generated in the process. Closes #1746
* all: fix license headers one more timeFelix Lange2015-07-241-1/+1
| | | | I forgot to update one instance of "go-ethereum" in commit 3f047be5a.
* 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
|
* core: changed how head events are checkedobscuren2015-05-151-0/+2
|
* core, eth, miner: improved tx removal & fatal error on db sync errobscuren2015-05-111-1/+5
| | | | | | | | * core: Added GasPriceChange event * eth: When one of the DB flush methods error a fatal error log message is given. Hopefully this will prevent corrupted databases from occuring. * miner: remove transactions with low gas price. Closes #906, #903
* moved state and vm to coreobscuren2015-03-231-1/+1
|
* finally merged *the missing*obscuren2015-03-231-0/+4
|
* fixed chain event. Closes #529obscuren2015-03-191-6/+23
|
* Queued approach to delivering chain eventsobscuren2015-03-061-0/+10
|
* Optimisations and fixed a couple of DDOS issues in the minerobscuren2015-02-201-0/+3
|
* add NewMinedBlockEventzelig2014-12-151-0/+3
|
* Renamed `chain` => `core`obscuren2014-12-041-0/+12