Implemented watching using filter package
* Added filters / watches * Removed event dep
This commit is contained in:
10
whisper/filter.go
Normal file
10
whisper/filter.go
Normal file
@ -0,0 +1,10 @@
|
||||
package whisper
|
||||
|
||||
import "crypto/ecdsa"
|
||||
|
||||
type Filter struct {
|
||||
To *ecdsa.PrivateKey
|
||||
From *ecdsa.PublicKey
|
||||
Topics [][]byte
|
||||
Fn func(*Message)
|
||||
}
|
Reference in New Issue
Block a user