blacklist

package
v1.3.3-testnet Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsAddressBlacklisted

func IsAddressBlacklisted(addr *cfxaddress.Address, epochs ...uint64) bool

Check if address blacklisted or not for specific epoch height.

func MustInit

func MustInit()

Types

type BlacklistedAddrInfo

type BlacklistedAddrInfo struct {
	Address string
	// epoch until which the contract address is ignored, if 0 means forever.
	Epoch uint64
}

BlacklistedAddrInfo is used to store blacklisted contract address info.

Jump to

Keyboard shortcuts

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