Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NoOpSpamFilter ¶ added in v1.2.0
type NoOpSpamFilter struct { }
NoOpSpamFilter is a spam filter that does nothing and pretends there is no spam in the TON blockchain.
func NewNoOpSpamFilter ¶ added in v1.2.0
func NewNoOpSpamFilter() *NoOpSpamFilter
func (*NoOpSpamFilter) GetRules ¶ added in v1.2.0
func (s *NoOpSpamFilter) GetRules() rules.Rules
func (*NoOpSpamFilter) IsJettonBlacklisted ¶ added in v1.2.0
func (s *NoOpSpamFilter) IsJettonBlacklisted(address tongo.AccountID, symbol string) bool
type SpamFilter ¶
func NewSpamFilter ¶
func NewSpamFilter() *SpamFilter
func (*SpamFilter) GetRules ¶
func (s *SpamFilter) GetRules() rules.Rules
func (*SpamFilter) IsJettonBlacklisted ¶ added in v1.2.0
func (s *SpamFilter) IsJettonBlacklisted(address tongo.AccountID, symbol string) bool
Click to show internal directories.
Click to hide internal directories.