elementsutil

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2020 License: MIT Imports: 4 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ElementsToSatoshiValue

func ElementsToSatoshiValue(val []byte) (uint64, error)

ElementsToSatoshiValue method converts Elements value to Satoshi value

func ReverseBytes

func ReverseBytes(buf []byte) []byte

ReverseBytes returns a copy of the given byte slice with elems in reverse order.

func SatoshiToElementsValue

func SatoshiToElementsValue(val uint64) ([]byte, error)

SatoshiToElementsValue method converts Satoshi value to Elements value

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL