Documentation ¶
Overview ¶
Package helpers provides convenience functions to simplify wallet code. This package is intended for internal wallet use only.
Index ¶
- func Check(err error) bool
- func Debug(a ...interface{})
- func Debugc(fn func() string)
- func Debugf(format string, a ...interface{})
- func Debugs(a interface{})
- func Error(a ...interface{})
- func Errorc(fn func() string)
- func Errorf(format string, a ...interface{})
- func Errors(a interface{})
- func Fatal(a ...interface{})
- func Fatalc(fn func() string)
- func Fatalf(format string, a ...interface{})
- func Fatals(a interface{})
- func Info(a ...interface{})
- func Infoc(fn func() string)
- func Infof(format string, a ...interface{})
- func Infos(a interface{})
- func SumOutputSerializeSizes(outputs []*wire.TxOut) (serializeSize int)
- func SumOutputValues(outputs []*wire.TxOut) (totalOutput util.Amount)
- func Trace(a ...interface{})
- func Tracec(fn func() string)
- func Tracef(format string, a ...interface{})
- func Traces(a interface{})
- func Warn(a ...interface{})
- func Warnc(fn func() string)
- func Warnf(format string, a ...interface{})
- func Warns(a interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SumOutputSerializeSizes ¶
SumOutputSerializeSizes sums up the serialized size of the supplied outputs.
func SumOutputValues ¶
SumOutputValues sums up the list of TxOuts and returns an Amount.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.