transactionutil

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTxIdFromHex added in v0.6.0

func GetTxIdFromHex(txHex string) (string, error)

func GetTxIdFromPset added in v0.1.2

func GetTxIdFromPset(psetBase64 string) (string, error)

func NewFeeOutput

func NewFeeOutput(feeAmount uint64, net *network.Network) []*transaction.TxOutput

Types

type UnblindedResult

type UnblindedResult struct {
	AssetHash    string
	Value        uint64
	AssetBlinder []byte
	ValueBlinder []byte
}

func UnblindOutput

func UnblindOutput(
	utxo *transaction.TxOutput,
	blindKey []byte,
) (*UnblindedResult, bool)

Jump to

Keyboard shortcuts

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