Documentation
¶
Index ¶
Constants ¶
View Source
const MaxProofLength = 1024
Variables ¶
This section is empty.
Functions ¶
func FormatAddress ¶
FormatAddress makes sure the address is compliant with the heimdall-v2 format
func IsTxHashNonEmpty ¶
IsTxHashNonEmpty returns true if the input is a non-empty string.
func ValidateProof ¶
ValidateProof checks if the proof is a valid hex string representing N 32-byte chunks, and not too long.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.