package
0.0.0-20210730035956-6ee08864794d
Repository: https://github.com/fletaio/fleta_v1.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
MustParseAddress panic when error occurred.
MustParsePublicHash panic when error occurred.
MustParsePublicKey panic when error occurred.
MustParseSignature panic when error occurred.
NewAddress returns a Address by the AccountCoordinate and the magic.
NewPublicHash returns the PublicHash of the pubkey.
ParseAddress parse the address from the string.
ParsePublicHash parse the public hash from the string.
ParsePublicKey parse the public hash from the string.
ParseSignature parse the public hash from the string.
RecoverPubkey recover the public key using the hash value and the signature.
ValidateSignaturesMajority validates signatures with the signed hash and checks majority.
VerifySignature checks the signature with the public key and the hash value.
# Constants
AddressSize is 14 bytes.
PublicHashSize is 31 bytes.
PublicKeySize is 33 bytes.
SignatureSize is 65 bytes.
# Variables
common errors.
common errors.
common errors.
common errors.
common errors.
common errors.
common errors.
common errors.
common errors.
# Type aliases
Address is the [AddressSize]byte with methods.
PublicHash is the [PublicHashSize]byte with methods.
PublicKey is the [PublicKeySize]byte with methods.
Signature is the [SignatureSize]byte with methods.