- May 10, 2018
-
-
Felix Lange authored
Feed keeps active subscription channels in a slice called 'f.sendCases'. The Send method tracks the active cases in a local variable 'cases' whose value is f.sendCases initially. 'cases' shrinks to a shorter prefix of f.sendCases every time a send succeeds, moving the successful case out of range of the active case list. This can be confusing because the two slices share a backing array. Add more comments to document what is going on. Also add a test for removing a case that is in 'f.sentCases' but not 'cases'.
-
- May 09, 2018
-
-
Gary Rong authored
* eth/filter: check nil pointer when unsubscribe * eth/filters, accounts, rpc: abort system if subscribe failed * eth/filter: add crit log before exit * eth/filter, event: minor fixes
-
- May 03, 2018
-
-
kiel barry authored
* event/*: golint updates for this or self warning * event/*: golint updates for this or self warning, pr updated per feedback
-
- Oct 20, 2017
-
-
Péter Szilágyi authored
-
- Oct 10, 2017
-
-
Jia Chenhui authored
-
- Apr 14, 2017
-
-
Felix Lange authored
-
- Mar 22, 2017
-
-
Felix Lange authored
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.
-
- Feb 03, 2017
-
-
Péter Szilágyi authored
-
Felix Lange authored
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
-
- Jan 25, 2017
-
-
Felix Lange authored
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.
-
Felix Lange authored
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'
-
- Jan 06, 2017
-
-
Felix Lange authored
-
- May 12, 2016
-
-
Jeffrey Wilcke authored
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.
-
- Nov 05, 2015
-
-
Péter Szilágyi authored
-
- Oct 12, 2015
-
-
Péter Szilágyi authored
-
- Oct 02, 2015
-
-
Jeffrey Wilcke authored
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".
-
- Jul 23, 2015
-
-
Felix Lange authored
I forgot to update one instance of "go-ethereum" in commit 3f047be5.
-
- Jul 22, 2015
-
-
Felix Lange authored
All code outside of cmd/ is licensed as LGPL. The headers now reflect this by calling the whole work "the go-ethereum library".
-
- Jul 07, 2015
-
-
Felix Lange authored
-
Felix Lange authored
-
- Jun 09, 2015
-
-
Péter Szilágyi authored
-
- May 07, 2015
-
-
Jeffrey Wilcke authored
-
- Apr 07, 2015
-
-
Jeffrey Wilcke authored
Transaction pool will attempt to ignore invalid transactions it had previously encountered.
-
- Mar 23, 2015
-
-
Jeffrey Wilcke authored
-
- Mar 20, 2015
-
-
Jeffrey Wilcke authored
-
Taylor Gerring authored
-
- Mar 19, 2015
-
-
Jeffrey Wilcke authored
-
- Feb 23, 2015
-
-
Jeffrey Wilcke authored
-
- Feb 17, 2015
-
-
Jeffrey Wilcke authored
-
- Feb 07, 2015
-
-
Jeffrey Wilcke authored
-
- Feb 05, 2015
-
-
Jeffrey Wilcke authored
-
- Feb 04, 2015
-
-
Jeffrey Wilcke authored
-
- Jan 28, 2015
-
-
Jeffrey Wilcke authored
-
- Jan 12, 2015
-
-
Jeffrey Wilcke authored
-
Jeffrey Wilcke authored
-
- Jan 09, 2015
-
-
Jeffrey Wilcke authored
* proper 0xhex * filters fixed * start of filter manager * accounts for ws. Closes #246
-
- Dec 16, 2014
-
-
Jeffrey Wilcke authored
-
- Dec 15, 2014
-
-
Jeffrey Wilcke authored
-
- Dec 12, 2014
-
-
Jeffrey Wilcke authored
-
- Nov 19, 2014
-
-
Jeffrey Wilcke authored
* Fork tests (equal and larger chains) * `chain.link` fields are now exported * moved debug function from state to dump.go
-