Documentation ¶
Index ¶
- Variables
- func AddressEquals(a, b common.Address) bool
- func Byte2Byte32(src []byte) [32]byte
- func CheckCategory(category int64) bool
- func GetCurrentIp() string
- func GetRecAddress(req comm.RequestModel) (common.Address, error)
- func HexToHash(hashStr string) common.Hash
- func ReadNumberFromFile(filePath string) (*big.Int, error)
- func String2Hash(hashStr string) common.Hash
- func WriteNumberToFile(filePath string, blkNumber *big.Int) error
- type Backoff
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultBackoff = Backoff{ MaxDelay: 120 * time.Second, // contains filtered or unexported fields }
View Source
var RetryCount = 0
重连次数记录
Functions ¶
func AddressEquals ¶
func GetCurrentIp ¶
func GetCurrentIp() string
func GetRecAddress ¶
func GetRecAddress(req comm.RequestModel) (common.Address, error)
func String2Hash ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.