Documentation
¶
Index ¶
- func AlignUp(unaligned uint64, align uint64) uint64
- func CalculateAcctHash(acct accounts.Account) []byte
- func DedupePubkeys(pubkeys []solana.PublicKey) []solana.PublicKey
- func IsValidHostname(hostname string) bool
- func PrettyPrintAcct(acct *accounts.Account) string
- func PubkeyCmp(a solana.PublicKey, b solana.PublicKey) bool
- func VerboseHandleError(err error) (b bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateAcctHash ¶
func DedupePubkeys ¶
func DedupePubkeys(pubkeys []solana.PublicKey) []solana.PublicKey
func IsValidHostname ¶
IsValidHostname returns true if the hostname is valid.
It uses a simple regular expression to check the hostname validity.
func PrettyPrintAcct ¶
func VerboseHandleError ¶
this logs the function name as well.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.