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, }, Alternatives: []dex.Denomination{ { Unit: "mDGB", ConversionFactor: 1e5, }, { Unit: "µDGB", ConversionFactor: 1e2, }, }, FeeRateDenom: "vB", } // MainNetParams are the clone parameters for mainnet. MainNetParams = btc.ReadCloneParams(&btc.CloneParams{ Name: "mainnet", 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{ Name: "testnet4", 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{ Name: "regtest", PubKeyHashAddrID: 0x7e, ScriptHashAddrID: 0x8c, Bech32HRPSegwit: "dgbrt", CoinbaseMaturity: 100, Net: 0xfa55b279, GenesisHash: mustHash("4598a0f2b823aaf9e77ee6d5e46f1edb824191dcd48b08437b7cec17e6ae6e26"), }) )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.