dogecoin

package
v0.5.15 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2022 License: GPL-3.0 Imports: 2 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// NewTxBuilder re-exports bitcoin.NewTxBuilder.
	NewTxBuilder = bitcoin.NewTxBuilder

	// NewClient re-exports bitcoin.NewClient.
	NewClient = bitcoin.NewClient
)
View Source
var MainNetParams = chaincfg.Params{
	Name: "mainnet",
	Net:  0xc0c0c0c0,

	PubKeyHashAddrID: 30,
	ScriptHashAddrID: 22,
	PrivateKeyID:     158,

	HDPrivateKeyID: [4]byte{0x02, 0xfa, 0xc3, 0x98},
	HDPublicKeyID:  [4]byte{0x02, 0xfa, 0xca, 0xfd},

	Bech32HRPSegwit: "doge",
}

MainNetParams returns the chain configuration for mainnet.

View Source
var NewGasEstimator = bitcoin.NewGasEstimator

NewGasEstimator re-exports bitcoin.NewGasEstimator.

View Source
var RegressionNetParams = chaincfg.Params{
	Name: "regtest",

	Net: 0xfabfb5da,

	PubKeyHashAddrID: 111,
	ScriptHashAddrID: 196,
	PrivateKeyID:     239,

	HDPrivateKeyID: [4]byte{0x04, 0x35, 0x83, 0x94},
	HDPublicKeyID:  [4]byte{0x04, 0x35, 0x87, 0xcf},

	Bech32HRPSegwit: "dogert",
}

RegressionNetParams returns the chain configuration for regression net.

View Source
var TestNetParams = chaincfg.Params{
	Name: "testnet",
	Net:  0xfcc1b7dc,

	PubKeyHashAddrID: 113,
	ScriptHashAddrID: 196,
	PrivateKeyID:     241,

	HDPrivateKeyID: [4]byte{0x04, 0x35, 0x83, 0x94},
	HDPublicKeyID:  [4]byte{0x04, 0x35, 0x87, 0xcf},

	Bech32HRPSegwit: "doget",
}

TestNetParams returns the chain configuration for testnet.

Functions

This section is empty.

Types

type AddressDecoder added in v0.2.0

type AddressDecoder = bitcoin.AddressDecoder

AddressDecoder re-exports bitcoin.AddressDecoder.

type AddressEncodeDecoder added in v0.2.1

type AddressEncodeDecoder = bitcoin.AddressEncodeDecoder

AddressEncodeDecoder re-exports bitcoin.AddressEncodeDecoder.

type AddressEncoder added in v0.2.0

type AddressEncoder = bitcoin.AddressEncoder

AddressEncoder re-exports bitcoin.AddressEncoder.

type Client added in v0.2.0

type Client = bitcoin.Client

Client re-exports bitcoin.Client.

type ClientOptions added in v0.2.0

type ClientOptions = bitcoin.ClientOptions

ClientOptions re-exports bitcoin.ClientOptions.

func DefaultClientOptions added in v0.2.0

func DefaultClientOptions() ClientOptions

DefaultClientOptions returns ClientOptions with the default settings. These settings are valid for use with the default local deployment of the multichain. In production, the host, user, and password should be changed.

type GasEstimator added in v0.2.0

type GasEstimator = bitcoin.GasEstimator

GasEstimator re-exports bitcoin.GasEstimator.

type Tx

type Tx = bitcoin.Tx

Tx re-exports bitcoin.Tx.

type TxBuilder added in v0.2.0

type TxBuilder = bitcoin.TxBuilder

TxBuilder re-exports bitcoin.TxBuilder.

Jump to

Keyboard shortcuts

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