helpers

package
v1.9.21 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2021 License: Unlicense, ISC Imports: 3 Imported by: 2

Documentation

Overview

Package helpers provides convenience functions to simplify wallet code. This package is intended for internal wallet use only.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SumOutputSerializeSizes

func SumOutputSerializeSizes(outputs []*wire.TxOut) (serializeSize int)

SumOutputSerializeSizes sums up the serialized size of the supplied outputs.

func SumOutputValues

func SumOutputValues(outputs []*wire.TxOut) (totalOutput util.Amount)

SumOutputValues sums up the list of TxOuts and returns an Amount.

Types

This section is empty.

Jump to

Keyboard shortcuts

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