From 6488a392a347d0d47212fdc78386e3e0e5841d7d Mon Sep 17 00:00:00 2001 From: obscuren Date: Thu, 29 Jan 2015 16:52:00 +0100 Subject: Reimplemented message filters for rpc calls --- core/filter.go | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'core') diff --git a/core/filter.go b/core/filter.go index efdd819ed..d154e7b7a 100644 --- a/core/filter.go +++ b/core/filter.go @@ -12,6 +12,17 @@ type AccountChange struct { Address, StateAddress []byte } +type FilterOptions struct { + Earliest int64 + Latest int64 + + Address []byte + Topics [][]byte + + Skip int + Max int +} + // Filtering interface type Filter struct { eth EthManager @@ -32,6 +43,16 @@ func NewFilter(eth EthManager) *Filter { return &Filter{eth: eth} } +func (self *Filter) SetOptions(options FilterOptions) { + self.earliest = options.Earliest + self.latest = options.Latest + self.skip = options.Skip + self.max = options.Max + self.address = options.Address + self.topics = options.Topics + +} + // Set the earliest and latest block for filtering. // -1 = latest block (i.e., the current block) // hash = particular hash from-to -- cgit type='hidden' name='id' value='257b4b3851729517ae2959c58ceded21b71f470f'/> FreeBSD Ports (https://github.com/freebsd/freebsd-ports)
aboutsummaryrefslogtreecommitdiffstats
path: root/mbone
Commit message (Expand)AuthorAgeFilesLines
* Convert to PORTNAME/PORTVERSION.Satoshi Asami2000-04-1411-23/+23
* Fix sdr:tcl_parsed_plugins can't read "(CRYPTKEY)": no such variableBill Fenner2000-03-201-0/+11
* Remove sdr-current; UCL no longer has a multi-version release systemBill Fenner2000-03-091-1/+0
* Use u_int32_t instead of u_int32. This makes this port compatible withBill Fenner2000-03-091-0/+20
* Change all www.freebsd.org/~user references to people.FreeBSD.org/~user,Peter Wemm2000-02-081-1/+1
* Add rqm.Bill Fenner2000-02-021-0/+1
* Add rqm.Satoshi Asami2000-02-021-0/+1
* RTP Quality Monitor from UCL. Similar to rtpmon.Bill Fenner2000-02-016-0/+78
* Use -fwritable-strings to let tcl stomp on Tcl_Eval() args.Bill Fenner2000-01-281-1/+1
* Actually use tcl/tk 8.2 like we claim to.Bill Fenner2000-01-281-2/+2
* Add -pedantic to override the default -pedantic-errors, to allowBill Fenner2000-01-282-0/+22
* Add -pedantic to override the default -pedantic-errors, to allowBill Fenner2000-01-282-0/+21
* Remove 'ipv6' from CATEGORIES, because this port support IPv4 only nowMunechika SUMIKAWA2000-01-271-1/+1
* uclmmbase is in devel, not mbone.Satoshi Asami2000-01-271-1/+1
* Upgrade to sdr 2.9Bill Fenner2000-01-264-13/+17
* fix building error on FreeBSD-current.Munechika SUMIKAWA2000-01-252-1/+14
* Forgot to fix CHANGES.html in last update.Bill Fenner2000-01-221-1/+1
* Update to version 1.14Bill Fenner2000-01-194-34/+30
* - Add sfreflect and sflaunch to be installedR. Imura2000-01-157-9/+99
* Update to version 7.1.Steve Price2000-01-016-407/+153
* Remove myself from MAINTAINERAndrey A. Chernov1999-12-231-2/+1
* Update to Tcl/Tk version 8.2 and fix for gcc 2.95.Steve Price1999-11-295-47/+79
* Update to Tcl/Tk version 8.2 and get this to build with gcc 2.95.Steve Price1999-11-2915-58/+219
* Update to use Tcl/Tk version 8.2.Steve Price1999-11-294-6/+17
* Need to #include sys/signal.h earlier so this builds again on -current.Steve Price1999-11-291-0/+10
* Update to version Tk version 8.2.Steve Price1999-11-292-3/+3
* Switch to tcl/tk 8.2Justin M. Seger1999-11-073-39/+512
* Make the second argument to hcreate a size_t so this compiles cleanlySteve Price1999-09-271-2/+19
* Rewrite virtual function pointer code so it can compile with EGCS on myRoger Hardiman1999-09-091-26/+92
* Upgrade to sdr 2.7Bill Fenner1999-09-095-43/+14
* Mirror the distfile in ~cpiazza/distfiles, the main server is downChris Piazza1999-09-091-1/+2
* Fix a filename which contains an explicit version number.Roger Hardiman1999-09-091-1/+1
* Oops, I forgot about Id -> FreeBSD.Bill Fenner1999-09-051-1/+1
* PortlintifyBill Fenner1999-09-051-3/+4
* Activate rat.Bill Fenner1999-09-051-0/+1
* Forgot to update descriptions before importing, oops.Bill Fenner1999-09-052-3/+9
* The UCL Robust Audio Tool.Bill Fenner1999-09-057-0/+68
* FreeBSD.ORG -> FreeBSD.orgMichael Haro1999-08-318-8/+8
* Change Id->FreeBSD.David E. O'Brien1999-08-2510-10/+10
* chmod -> ${CHMOD}Michael Haro1999-08-232-4/+4
* Assorted ${WRKDIRPREFIX}/symlink ${PORTSDIR} fixes. mbone/vat still doesn'tSatoshi Asami1999-07-161-2/+2
* Commit #3/4 to enforce caps, no period.Tim Vanderhoek1999-06-276-6/+6
* sdr25 -> sdr-currentBill Fenner1999-03-301-2/+2
* Update sdr 2.4's MASTER_SITE and distfile name.Bill Fenner1999-03-302-4/+4
* Add sdr25.Satoshi Asami1999-01-281-1/+2
* Allow vat & vic to run with tcl8.0.4.Bill Fenner1999-01-102-4/+20
* Redefine sendfile as sf_sendfile to work around namespace pollution.Jacques Vidrine1998-12-161-14/+20
* Change MASTER_SITES to make this port fetchable, we are two (minor)Bill Fumerola1998-12-101-2/+2
* Use ${WRKDIRPREFIX}.Satoshi Asami1998-12-021-2/+2
* Fix for building on 3.0Jacques Vidrine1998-11-253-18/+18
* Use bsd.port.{pre,post}.mk to move PORTOBJFORMAT to front, or changeSatoshi Asami1998-11-141-6/+8
* Fix checksum; distfile changed without changing name.Bill Fenner1998-10-261-1/+1
* Unbreak.Justin M. Seger1998-10-132-9/+16
* Mark BROKEN for ELF:Justin M. Seger1998-10-131-1/+3
* Don't strip the binary when building ELF, and remove the emptySteve Price1998-09-272-1/+6
* Remove empty lib/speak_freely directory on deinstall.Steve Price1998-09-271-0/+1
* Make sure that autoconf can overwrite configure script.Steve Price1998-09-271-2/+2
* Somewhere along the line the binary's name changed to nte.Steve Price1998-09-271-1/+1
* Remove empty doc dir on deinstall.Steve Price1998-09-271-0/+1
* Remove regexp support for tk42.Steve Price1998-09-271-2/+2
* tk80 has been ELFized.Satoshi Asami1998-09-254-8/+8
* libgsm is now converted to ELF.Satoshi Asami1998-09-232-5/+5
* Master site moved.Bill Fenner1998-09-221-2/+2
* Update to 1.5a29Bill Fenner1998-08-283-18/+9
* This commit brought to you by the Paddock Bowling Alley.Tim Vanderhoek1998-08-194-9/+0
* Fix up dependencies for ports that moved into the x11-toolkits category.Satoshi Asami1998-08-086-12/+12
* Rename all USE_X11 to USE_X_PREFIX. Requires 1.279 (3.0-current) orSatoshi Asami1998-08-05