spam

package
v1.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 4, 2024 License: MIT Imports: 2 Imported by: 1

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

type SpamFilter struct {
	Rules rules.Rules
	// contains filtered or unexported fields
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL