addressscreener

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupScreenService

func SetupScreenService() error

Types

type ScreenI

type ScreenI interface {

	// Screen sends addresses in packets to address-screening service to analyse and
	// flag them.
	Screen(pkt *chain.Packet) (isWhite bool)
	StoreWhiteStatus(pkt *chain.Packet, isWhite bool) error
}

func GetScreener

func GetScreener() ScreenI

Jump to

Keyboard shortcuts

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