bitcoinnode

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BitcoinNode

type BitcoinNode struct {
	Name string
	stdbitcoinclient.BitcoinClient
}

func (*BitcoinNode) Generate

func (n *BitcoinNode) Generate(client stdbitcoinclient.BitcoinClient, commonClient stdcommonclient.CommonClient, numBlocks uint32) (hashes []string, err error)

func (*BitcoinNode) GetConnectionPorts

func (n *BitcoinNode) GetConnectionPorts(kubeConfig string) ([]ConnectionPorts, error)

func (*BitcoinNode) GetName

func (n *BitcoinNode) GetName() string

func (*BitcoinNode) GetNewAddress

func (n *BitcoinNode) GetNewAddress(client stdcommonclient.CommonClient) (string, error)

func (*BitcoinNode) GetWalletBalance

func (n *BitcoinNode) GetWalletBalance(client stdcommonclient.CommonClient) (basictypes.Amount, error)

func (*BitcoinNode) SendToAddress

func (n *BitcoinNode) SendToAddress(client stdcommonclient.CommonClient, address string, amount basictypes.Amount) (TxId string, err error)

type ConnectionPorts

type ConnectionPorts struct {
	Name string
	Port uint16
}

Jump to

Keyboard shortcuts

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