ombpublish

package
v0.0.0-...-5da9300 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2016 License: GPL-2.0 Imports: 13 Imported by: 1

Documentation

Overview

This package handles sending bulletins via a standard bitcoin wallet

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PublishBulletin

func PublishBulletin(client *btcrpcclient.Client, bltn *ombwire.Bulletin, params Params) (*wire.ShaHash, error)

PublishBulletin uses the passed client

Types

type Params

type Params struct {
	MinSatToSpend btcutil.Amount // The floor for the cost of sending a single msg
	DustAmnt      btcutil.Amount
	SatPerByte    btcutil.Amount // The fee to pay per byte

	Verbose bool
	// contains filtered or unexported fields
}

Params to pass to Publish* for parameterizing the send

func NormalParams

func NormalParams(net *chaincfg.Params, passphrase string) Params

Jump to

Keyboard shortcuts

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