Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CryptoHash ¶
CryptoHash is a wrapper for SHA-256 digest byte array. Note that nearcore also defines MerkleHash as an alias, but it's omitted from this project.
func MustCryptoHashFromBase58 ¶
func MustCryptoHashFromBase58(blob string) CryptoHash
func NewCryptoHash ¶
func NewCryptoHash(data []byte) CryptoHash
func NewCryptoHashFromBase58 ¶
func NewCryptoHashFromBase58(blob string) (ch CryptoHash, err error)
func (CryptoHash) MarshalJSON ¶
func (c CryptoHash) MarshalJSON() ([]byte, error)
func (CryptoHash) String ¶
func (c CryptoHash) String() string
func (*CryptoHash) UnmarshalJSON ¶
func (c *CryptoHash) UnmarshalJSON(b []byte) (err error)
Click to show internal directories.
Click to hide internal directories.