digibyte

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2020 License: GPL-3.0 Imports: 5 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NewTxBuilder         = bitcoin.NewTxBuilder
	NewClient            = bitcoin.NewClient
	DefaultClientOptions = bitcoin.DefaultClientOptions
)
View Source
var MainNetParams = chaincfg.Params{
	Name:        "mainnet",
	Net:         0xdab6c3fa,
	DefaultPort: "12024",

	GenesisBlock: &genesisBlock,
	GenesisHash:  &genesisHash,

	Bech32HRPSegwit: "dgb",

	PubKeyHashAddrID:        0x1e,
	ScriptHashAddrID:        0x32,
	PrivateKeyID:            0x80,
	WitnessPubKeyHashAddrID: 0x06,
	WitnessScriptHashAddrID: 0x0A,

	HDPrivateKeyID: [4]byte{0x04, 0x88, 0xad, 0xe4},
	HDPublicKeyID:  [4]byte{0x04, 0x88, 0xb2, 0x1e},

	HDCoinType: 0x14,
}
View Source
var RegressionNetParams = chaincfg.Params{
	Name: "regtest",

	Net:         0xd191841e,
	DefaultPort: "18444",

	GenesisBlock: &genesisBlock,
	GenesisHash:  &genesisHash,

	Bech32HRPSegwit: "dgbrt",

	PubKeyHashAddrID:        0x7e,
	ScriptHashAddrID:        0x8c,
	PrivateKeyID:            0xfe,
	WitnessPubKeyHashAddrID: 0x06,
	WitnessScriptHashAddrID: 0x0A,

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

	HDCoinType: 0x14,
}
View Source
var TestnetParams = chaincfg.Params{
	Name: "testnet",

	Net:         0xddbdc8fd,
	DefaultPort: "12026",

	GenesisBlock: &genesisBlock,
	GenesisHash:  &genesisHash,

	Bech32HRPSegwit: "dgbt",

	PubKeyHashAddrID:        0x7e,
	ScriptHashAddrID:        0x8c,
	PrivateKeyID:            0xfe,
	WitnessPubKeyHashAddrID: 0x06,
	WitnessScriptHashAddrID: 0x0A,

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

	HDCoinType: 0x14,
}

Functions

This section is empty.

Types

type AddressDecoder

type AddressDecoder = bitcoin.AddressDecoder

type AddressEncodeDecoder added in v0.2.1

type AddressEncodeDecoder = bitcoin.AddressEncodeDecoder

type AddressEncoder

type AddressEncoder = bitcoin.AddressEncoder

type Client

type Client = bitcoin.Client

type ClientOptions

type ClientOptions = bitcoin.ClientOptions

type GasEstimator

type GasEstimator = bitcoin.GasEstimator

type Tx

type Tx = bitcoin.Tx

type TxBuilder

type TxBuilder = bitcoin.TxBuilder

Jump to

Keyboard shortcuts

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