Documentation ¶
Index ¶
Constants ¶
View Source
const ( MainnetMagic wire.BitcoinNet = 0xbd6b0cbf TestnetMagic wire.BitcoinNet = 0xffcae2ce RegtestMagic wire.BitcoinNet = 0xdcb7c1fc )
Variables ¶
Functions ¶
func GetChainParams ¶
GetChainParams contains network parameters for the main Dash network, the regression test Dash network, the test Dash network and the simulation test Dash network, in this order
func NewDashRPC ¶
func NewDashRPC(config json.RawMessage, pushHandler func(bchain.NotificationType)) (bchain.BlockChain, error)
NewDashRPC returns new DashRPC instance.
Types ¶
type DashParser ¶
type DashParser struct {
*btc.BitcoinParser
}
DashParser handle
func NewDashParser ¶
func NewDashParser(params *chaincfg.Params, c *btc.Configuration) *DashParser
NewDashParser returns new DashParser instance
type DashRPC ¶
type DashRPC struct {
*btc.BitcoinRPC
}
DashRPC is an interface to JSON-RPC bitcoind service.
func (*DashRPC) Initialize ¶
Initialize initializes DashRPC instance.
Click to show internal directories.
Click to hide internal directories.