aboutsummaryrefslogtreecommitdiffstats
path: root/whisper/filter.go
blob: 4315aa5569bdf62fb437f8e52edf6edddc037a8d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
package whisper

import "crypto/ecdsa"

type Filter struct {
    To     *ecdsa.PrivateKey
    From   *ecdsa.PublicKey
    Topics [][]byte
    Fn     func(*Message)
}