aboutsummaryrefslogtreecommitdiffstats
path: root/event/event_test.go
Commit message (Collapse)AuthorAgeFilesLines
* event: add new Subscription type and related utilitiesFelix Lange2017-01-261-6/+24
| | | | | | | | | 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.
* all: gofmt -w -sFelix Lange2017-01-061-2/+2
|
* event: fixed subscribtions to stopped event muxJeffrey Wilcke2016-05-131-0/+8
| | | | | | | | | | | | | 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.
* core, eth, event, miner, xeth: fix event post / subscription racePéter Szilágyi2015-10-121-1/+1
|
* 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
|
* event: panic for duplicate typeFelix Lange2014-10-171-0/+15
|
* event: make TypeMux zero value ready to useFelix Lange2014-10-171-6/+6
|
* event: new package for event multiplexerFelix Lange2014-10-171-0/+161