good morning!!!!

Skip to content
Snippets Groups Projects
  1. Feb 27, 2020
  2. Dec 03, 2019
  3. Nov 01, 2019
  4. Nov 08, 2018
  5. May 10, 2018
    • Felix Lange's avatar
      event: document select case slice use and add edge case test (#16680) · 53a18d2e
      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'.
      53a18d2e
  6. May 09, 2018
  7. May 03, 2018
  8. Oct 20, 2017
  9. Oct 10, 2017
  10. Apr 14, 2017
  11. Mar 22, 2017
    • Felix Lange's avatar
      all: import "context" instead of "golang.org/x/net/context" · c213fd1f
      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.
      c213fd1f
  12. Feb 03, 2017
  13. Jan 25, 2017
    • Felix Lange's avatar
      event: add new Subscription type and related utilities · 6d5e100d
      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.
      6d5e100d
    • Felix Lange's avatar
      event: deprecate TypeMux and related types · 9b62facd
      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'
      9b62facd
  14. Jan 06, 2017
  15. May 12, 2016
    • Jeffrey Wilcke's avatar
      event: fixed subscribtions to stopped event mux · 7c1f7471
      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.
      7c1f7471
  16. Nov 05, 2015
  17. Oct 12, 2015
  18. Oct 02, 2015
    • Jeffrey Wilcke's avatar
      core, event/filter, xeth: refactored filter system · f7a71996
      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".
      f7a71996
  19. Jul 23, 2015
  20. Jul 22, 2015
  21. Jul 07, 2015
  22. Jun 09, 2015
  23. May 07, 2015
  24. Apr 07, 2015
  25. Mar 23, 2015
  26. Mar 20, 2015
  27. Mar 19, 2015
  28. Feb 23, 2015
  29. Feb 17, 2015
  30. Feb 07, 2015
  31. Feb 05, 2015
  32. Feb 04, 2015
  33. Jan 28, 2015
  34. Jan 12, 2015
Loading