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.
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.
Click to show internal directories.
Click to hide internal directories.