Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | event: golint updates for this or self warning (#16631) | kiel barry | 2018-05-03 | 1 | -19/+19 |
| | | | | | | * event/*: golint updates for this or self warning * event/*: golint updates for this or self warning, pr updated per feedback | ||||
* | event: fix datarace between Subscribe and Send | Péter Szilágyi | 2017-10-20 | 1 | -3/+5 |
| | |||||
* | event: fix typo (#15270) | Jia Chenhui | 2017-10-10 | 1 | -1/+1 |
| | |||||
* | all: update license information | Felix Lange | 2017-04-14 | 5 | -5/+5 |
| | |||||
* | all: import "context" instead of "golang.org/x/net/context" | Felix Lange | 2017-03-23 | 2 | -3/+2 |
| | | | | | | | | | | 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. | ||||
* | event: use sync.Once for init for faster/cleaner locking | Péter Szilágyi | 2017-02-03 | 1 | -11/+5 |
| | |||||
* | event: address review issues (multiple commits) | Felix Lange | 2017-02-03 | 3 | -16/+93 |
| | | | | | | | | | | | | | event: address Feed review issues event: clarify role of NewSubscription function event: more Feed review fixes * take sendLock after dropping f.mu * add constant for number of special cases event: fix subscribing/unsubscribing while Send is blocked | ||||
* | event: add new Subscription type and related utilities | Felix Lange | 2017-01-26 | 9 | -7/+1144 |
| | | | | | | | | | This commit introduces a new Subscription type, which is synonymous with ethereum.Subscription. It also adds a couple of utilities that make working with Subscriptions easier. The mot complex utility is Feed, a synchronisation device that implements broadcast subscriptions. Feed is slightly faster than TypeMux and will replace uses of TypeMux across the go-ethereum codebase in the future. | ||||
* | event: deprecate TypeMux and related types | Felix Lange | 2017-01-25 | 1 | -34/+24 |
| | | | | | | | | | | | The Subscription type is gone, all uses are replaced by *TypeMuxSubscription. This change is prep-work for the introduction of the new Subscription type in a later commit. gorename -from '"github.com/ethereum/go-ethereum/event"::Event' -to TypeMuxEvent gorename -from '"github.com/ethereum/go-ethereum/event"::muxsub' -to TypeMuxSubscription gofmt -w -r 'Subscription -> *TypeMuxSubscription' ./event/*.go find . -name '*.go' -and -not -regex '\./vendor/.*' \| xargs gofmt -w -r 'event.Subscription -> *event.TypeMuxSubscription' | ||||
* | all: gofmt -w -s | Felix Lange | 2017-01-06 | 2 | -3/+3 |
| | |||||
* | event: fixed subscribtions to stopped event mux | Jeffrey Wilcke | 2016-05-13 | 2 | -0/+11 |
| | | | | | | | | | | | | | This fixes an issue where the following would lead to a panic due to a channel being closed twice: * Start mux * Stop mux * Sub to mux * Unsub This is fixed by setting the subscriptions status to closed resulting in the Unsubscribe to ignore the request when called. | ||||
* | event/filter: fix data race in the test | Péter Szilágyi | 2015-11-05 | 1 | -12/+17 |
| | |||||
* | core, eth, event, miner, xeth: fix event post / subscription race | Péter Szilágyi | 2015-10-12 | 3 | -11/+30 |
| | |||||
* | core, event/filter, xeth: refactored filter system | Jeffrey Wilcke | 2015-10-03 | 1 | -127/+0 |
| | | | | | | | Moved the filtering system from `event` to `eth/filters` package and removed the `core.Filter` object. The `filters.Filter` object now requires a `common.Database` rather than a `eth.Backend` and invokes the `core.GetBlockByX` directly rather than thru a "manager". | ||||
* | all: fix license headers one more time | Felix Lange | 2015-07-24 | 7 | -7/+7 |
| | | | | I forgot to update one instance of "go-ethereum" in commit 3f047be5a. | ||||
* | all: update license headers to distiguish GPL/LGPL | Felix Lange | 2015-07-23 | 7 | -28/+28 |
| | | | | | All code outside of cmd/ is licensed as LGPL. The headers now reflect this by calling the whole work "the go-ethereum library". | ||||
* | all: add some godoc synopsis comments | Felix Lange | 2015-07-07 | 1 | -0/+1 |
| | |||||
* | all: update license information | Felix Lange | 2015-07-07 | 7 | -0/+112 |
| | |||||
* | event/filter: hack around data race in the test | Péter Szilágyi | 2015-06-10 | 1 | -1/+6 |
| | |||||
* | xeth, core, event/filter, rpc: new block and transaction filters | obscuren | 2015-05-07 | 1 | -2/+2 |
| | |||||
* | Improved tx pool to ignore invalid transactions | obscuren | 2015-04-08 | 1 | -1/+1 |
| | | | | | Transaction pool will attempt to ignore invalid transactions it had previously encountered. | ||||
* | moved state and vm to core | obscuren | 2015-03-23 | 1 | -1/+1 |
| | |||||
* | Merge branch 'rpcxeth' into rpcfrontier | Taylor Gerring | 2015-03-20 | 1 | -1/+3 |
|\ | | | | | | | | | Conflicts: rpc/api.go | ||||
| * | Reorg filter logic to XEth | Taylor Gerring | 2015-03-20 | 1 | -1/+3 |
| | | |||||
* | | Listen to tx pre event and trigger 'pending' | obscuren | 2015-03-20 | 1 | -3/+4 |
|/ | |||||
* | fixed chain event. Closes #529 | obscuren | 2015-03-19 | 1 | -3/+3 |
| | |||||
* | skipping test | obscuren | 2015-02-24 | 1 | -3/+0 |
| | |||||
* | fixed merge | obscuren | 2015-02-20 | 1 | -3/+7 |
| | |||||
* | Changed to ChainEvent and fixed a nil pointer in transact | obscuren | 2015-02-18 | 1 | -2/+5 |
| | |||||
* | Renamed filter | obscuren | 2015-02-08 | 1 | -1/+2 |
| | |||||
* | pending / chain event | obscuren | 2015-02-06 | 1 | -1/+10 |
| | |||||
* | Filtering | obscuren | 2015-02-05 | 1 | -1/+1 |
| | |||||
* | reworking messages => log | obscuren | 2015-01-28 | 1 | -4/+4 |
| | |||||
* | Added manual triggering of filters | obscuren | 2015-01-13 | 1 | -0/+8 |
| | |||||
* | pre-pow | obscuren | 2015-01-12 | 1 | -2/+0 |
| | |||||
* | Implemented filter for ws + fixes | obscuren | 2015-01-10 | 1 | -0/+2 |
| | | | | | | | * proper 0xhex * filters fixed * start of filter manager * accounts for ws. Closes #246 | ||||
* | Whisper watches fixes | obscuren | 2014-12-17 | 1 | -5/+15 |
| | |||||
* | Added old filter. Needs some refactoring | obscuren | 2014-12-15 | 1 | -0/+94 |
| | |||||
* | Moved filter to events | obscuren | 2014-12-13 | 3 | -0/+126 |
| | |||||
* | Added `chain` tests & minor fixes | obscuren | 2014-11-19 | 1 | -40/+0 |
| | | | | | | * Fork tests (equal and larger chains) * `chain.link` fields are now exported * moved debug function from state to dump.go | ||||
* | enable `go vet` | Taylor Gerring | 2014-11-18 | 1 | -0/+40 |
| | |||||
* | event: panic for duplicate type | Felix Lange | 2014-10-17 | 2 | -1/+20 |
| | |||||
* | event: make TypeMux zero value ready to use | Felix Lange | 2014-10-17 | 2 | -13/+12 |
| | |||||
* | event: make Unsubscribe idempotent | Felix Lange | 2014-10-17 | 1 | -7/+16 |
| | |||||
* | event: add some documentation | Felix Lange | 2014-10-17 | 2 | -0/+51 |
| | |||||
* | event: new package for event multiplexer | Felix Lange | 2014-10-17 | 2 | -0/+323 |