Documentation ¶
Index ¶
- func AssetHashFromBytes(buffer []byte) string
- func AssetHashToBytes(str string) ([]byte, error)
- func CommitmentFromBytes(buffer []byte) string
- func CommitmentToBytes(str string) ([]byte, error)
- func ReverseBytes(buf []byte) []byte
- func TxIDFromBytes(buffer []byte) string
- func TxIDToBytes(str string) ([]byte, error)
- func ValidElementValue(val []byte) bool
- func ValueFromBytes(val []byte) (uint64, error)
- func ValueToBytes(val uint64) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssetHashFromBytes ¶ added in v0.4.0
func AssetHashToBytes ¶ added in v0.4.0
func CommitmentFromBytes ¶ added in v0.4.0
func CommitmentToBytes ¶ added in v0.4.0
func ReverseBytes ¶
ReverseBytes returns a copy of the given byte slice with elems in reverse order.
func TxIDFromBytes ¶ added in v0.4.0
func TxIDToBytes ¶ added in v0.4.0
func ValidElementValue ¶ added in v0.3.8
func ValueFromBytes ¶ added in v0.4.0
ElementsToSatoshiValue method converts Elements value to Satoshi value
func ValueToBytes ¶ added in v0.4.0
ValueToBytes method converts Satoshi value to Elements value
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.