aboutsummaryrefslogtreecommitdiffstats
path: root/core/events.go
Commit message (Collapse)AuthorAgeFilesLines
* core: remove unused eventsmark.lin2017-06-231-16/+0
|
* core: typos and comments improvechanghong2017-05-251-1/+1
| | | | | | | | 1. fix typos 2. methods recevier of struct should be same 3. comments improve (cherry picked from commit 1ba979539582a00b7fd1a7c8a37a6852e59eac0d)
* cmd, core, eth, miner: remove txpool gas price limits (#14442)Péter Szilágyi2017-05-171-4/+0
|
* core, light: delete SplitStatTy, ChainSplitEvent (unused)Felix Lange2017-04-221-6/+0
|
* core/vm: move Log to core/typesFelix Lange2017-01-061-6/+5
| | | | | | | | This significantly reduces the dependency closure of ethclient, which no longer depends on core/vm as of this change. All uses of vm.Logs are replaced by []*types.Log. NewLog is gone too, the constructor simply returned a literal.
* core, core/vm, eth/filters: move Removed field into vm.LogFelix Lange2016-12-051-1/+0
| | | | | | | | | | | | This field used to be assigned by the filter system and returned through the RPC API. Now that we have a Go client that uses the underlying type, the field needs to move. It is now assigned to true when the RemovedLogs event is generated so the filter system doesn't need to care about the field at all. While here, remove the log list from ChainSideEvent. There are no users of this field right now and any potential users could subscribe to RemovedLogsEvent instead.
* core: remove dead eventPéter Szilágyi2016-11-241-3/+0
|
* core, miner: add PendingStateEvent to track non-log updatesPéter Szilágyi2016-02-291-0/+3
|
* eth/filters: ✨ pending logs ✨Jeffrey Wilcke2016-02-131-1/+6
| | | | | | Pending logs are now filterable through the Go API. Filter API changed such that each filter type has it's own bucket and adding filter explicitly requires you specify the bucket to put it in.
* core: added a new RemovedLogEventJeffrey Wilcke2015-12-011-0/+3
| | | | | | When a chain reorganisation occurs we collect the logs that were deleted during the chain reorganisation. The removed logs are posted to the event mux indicating that those were deleted during the reorg.
* 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