dgb

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: BlueOak-1.0.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DEFAULT_TRANSACTION_MINFEE is 100 (mintxfee default is 0.001 DGB/kB)
	// DEFAULT_DISCARD_FEE is 10 (minrelaytxfee and blockmintxfee defaults are 0.00001 DGB/kB)
	// HIGH_TX_FEE_PER_KB is 100,000 (1 DGB/kB), warning level
	// DEFAULT_TRANSACTION_MAXFEE is 100,000 (maxtxfee default is 0.1 DGB/kB)
	DefaultFee          = 200  // 0.002 DGB/kB
	DefaultFeeRateLimit = 5000 // 0.05 DGB/kB
)

Variables

View Source
var (
	UnitInfo = dex.UnitInfo{
		AtomicUnit: "digiSatoshi",
		Conventional: dex.Denomination{
			Unit:             "DGB",
			ConversionFactor: 1e8,
		},
	}

	// MainNetParams are the clone parameters for mainnet.
	MainNetParams = btc.ReadCloneParams(&btc.CloneParams{
		PubKeyHashAddrID: 0x1e,
		ScriptHashAddrID: 0x3f,
		Bech32HRPSegwit:  "dgb",
		CoinbaseMaturity: 100,
		Net:              0xfac3b6da,
		GenesisHash:      mustHash("7497ea1b465eb39f1c8f507bc877078fe016d6fcb6dfad3a64c98dcc6e1e8496"),
	})
	// TestNetParams are the clone parameters for testnet.
	TestNetParams = btc.ReadCloneParams(&btc.CloneParams{
		PubKeyHashAddrID: 0x7e,
		ScriptHashAddrID: 0x8c,
		Bech32HRPSegwit:  "dgbt",
		CoinbaseMaturity: 100,
		Net:              0xfdc8bddd,
		GenesisHash:      mustHash("308ea0711d5763be2995670dd9ca9872753561285a84da1d58be58acaa822252"),
	})
	// RegressionNetParams are the clone parameters for simnet.
	RegressionNetParams = btc.ReadCloneParams(&btc.CloneParams{
		PubKeyHashAddrID: 0x7e,
		ScriptHashAddrID: 0x8c,
		Bech32HRPSegwit:  "dgbrt",
		CoinbaseMaturity: 100,

		Net:         0xfabfb5db,
		GenesisHash: mustHash("4598a0f2b823aaf9e77ee6d5e46f1edb824191dcd48b08437b7cec17e6ae6e26"),
	})
)

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