blockcfg

package
v0.8.8 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2023 License: ISC Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MainnetParams = chaincfg.Params{
	Name:        "mainnet",
	Net:         wire.MainNet,
	DefaultPort: "41412",
	DNSSeeds: []chaincfg.DNSSeed{
		{"seed1.blocknet.co", false},
		{"seed2.blocknet.co", false},
		{"seed3.blocknet.co", false},
	},

	RelayNonStdTxs: false,

	Bech32HRPSegwit: "block",

	PubKeyHashAddrID:        0x1a,
	ScriptHashAddrID:        0x1c,
	PrivateKeyID:            0x9a,
	WitnessPubKeyHashAddrID: 0x06,
	WitnessScriptHashAddrID: 0x0a,

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

	HDCoinType: 0,
}
View Source
var TestnetParams = chaincfg.Params{
	Name:        "testnet",
	Net:         wire.TestNet3,
	DefaultPort: "41474",
	DNSSeeds: []chaincfg.DNSSeed{
		{"18.224.130.185", false},
		{"18.213.44.27", false},
		{"34.196.102.239", false},
	},

	RelayNonStdTxs: false,

	Bech32HRPSegwit: "tblock",

	PubKeyHashAddrID:        0x8b,
	ScriptHashAddrID:        0x13,
	PrivateKeyID:            0xef,
	WitnessPubKeyHashAddrID: 0x06,
	WitnessScriptHashAddrID: 0x0a,

	HDPublicKeyID:  [4]byte{0x3a, 0x80, 0x61, 0xa0},
	HDPrivateKeyID: [4]byte{0x3a, 0x80, 0x58, 0x37},

	HDCoinType: 0,
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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