bitcoin

package module
v0.0.0-...-80b4cfe Latest Latest
Warning

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

Go to latest
Published: May 11, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPublicKey

func GetPublicKey(wif *btcutil.WIF, compress bool) []byte

Types

type Destination

type Destination struct {
	Addr   string
	Amount int64
}

type Transaction

type Transaction struct {
	TxId          string `json:"txid"`
	SourceAddress string `json:"source_address"`
	UnsignedTx    string `json:"unsignedtx"`
	SignedTx      string `json:"signedtx"`
}

func CreateTransactionNew

func CreateTransactionNew(secret string, dests []Destination, inputTxHashes []string, compress bool) (Transaction, error)

Jump to

Keyboard shortcuts

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