package
0.4.8
Repository: https://github.com/stratumn/go-core.git
Documentation: pkg.go.dev

# Packages

Package blockcypher defines primitives to work with the BlockCypher API.
Package btctesting defines helpers to test Bitcoin.
Package btctimestamper implements a fake Bitcoin timestamper which can be used for testing.

# Functions

GetNetworkFromWIF returns the network ID associated to a bitcoin wallet.

# Constants

Component name for monitoring.
NetworkMain is an identified for the main Bitcoin network.
NetworkTest3 is an identified for the test Bitcoin network.

# Variables

ErrBadWIF is returned when the WIF encoded private key could not be decoded.
ErrUnknownBitcoinNetwork is returned when the network ID associated to the WIF is unknown.

# Structs

Output represents a transaction output.
UnspentResult contains the result of a call to UnspentFinder.FindUnspent.

# Interfaces

Broadcaster is able to broadcast raw Bitcoin transactions.
UnspentFinder is used to find unspent outputs.

# Type aliases

Network represents a Bitcoin network.