Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DogeMainNetParams = chaincfg.Params{ Name: "mainnet", Net: wire.BitcoinNet(0xc0c0c0c0), DefaultPort: "22556", DNSSeeds: []chaincfg.DNSSeed{ {Host: "seed.dogecoin.com", HasFiltering: true}, {Host: "seed.multidoge.org", HasFiltering: true}, }, GenesisHash: newHashFromStr("1a91e3dace36e2be3bf030a65679fe821aa1d6ef92e7c9902eb318182c355691"), PowLimit: newBigIntFromHex("00000fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"), CoinbaseMaturity: 240, PubKeyHashAddrID: 0x1e, ScriptHashAddrID: 0x16, PrivateKeyID: 0x9e, Bech32HRPSegwit: "doge", HDCoinType: 3, }
DogeMainNetParams defines the network parameters for the main Dogecoin network.
View Source
var DogeRegTestParams = chaincfg.Params{ Name: "regtest", Net: wire.BitcoinNet(0xfabfb5da), DefaultPort: "18444", DNSSeeds: []chaincfg.DNSSeed{}, GenesisHash: newHashFromStr("3d2160a3b5dc4a9d62e7404bb5aa85b0183cd8db1d244508f6003d23713e8819"), PowLimit: newBigIntFromHex("7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"), CoinbaseMaturity: 150, PubKeyHashAddrID: 0x6f, ScriptHashAddrID: 0xc4, PrivateKeyID: 0xef, Bech32HRPSegwit: "rdoge", HDCoinType: 1, }
DogeRegTestParams defines the network parameters for the regression test Dogecoin network.
View Source
var DogeTestNetParams = chaincfg.Params{ Name: "testnet", Net: wire.BitcoinNet(0xfcc1b7dc), DefaultPort: "44556", DNSSeeds: []chaincfg.DNSSeed{ {Host: "testseed.jrn.me.uk", HasFiltering: true}, }, GenesisHash: newHashFromStr("bb0a78264637406b6360aad926284d544d7049f45189db5664f3c4d07350559e"), PowLimit: newBigIntFromHex("00000fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"), CoinbaseMaturity: 240, PubKeyHashAddrID: 0x71, ScriptHashAddrID: 0xc4, PrivateKeyID: 0xf1, Bech32HRPSegwit: "tdoge", HDCoinType: 1, }
DogeTestNetParams defines the network parameters for the test Dogecoin network.
Functions ¶
This section is empty.
Types ¶
type DOGEParser ¶
type DOGEParser struct {
// contains filtered or unexported fields
}
DOGEParser is the DOGE chain parser
func NewDOGEParser ¶
func NewDOGEParser(config *decoder.ParserConfig) *DOGEParser
NewDOGEParser creates a DOGE parser
func (*DOGEParser) GetChainName ¶
func (p *DOGEParser) GetChainName() string
GetChainName returns the chain name
func (*DOGEParser) ParseTransaction ¶
func (p *DOGEParser) ParseTransaction(txBytes []byte, chainParams interface{}) ([]*decoder.Pin, error)
ParseTransaction parses a DOGE transaction
Click to show internal directories.
Click to hide internal directories.