Documentation ¶
Index ¶
Constants ¶
View Source
const (
MainnetMagic wire.BitcoinNet = 0xdab6c3fa
)
Variables ¶
View Source
var (
MainNetParams chaincfg.Params
)
Functions ¶
func GetChainParams ¶
GetChainParams contains network parameters for the main DigiByte network
func NewDigiByteRPC ¶
func NewDigiByteRPC(config json.RawMessage, pushHandler func(bchain.NotificationType)) (bchain.BlockChain, error)
NewDigiByteRPC returns new DigiByteRPC instance.
Types ¶
type DigiByteParser ¶
type DigiByteParser struct {
*btc.BitcoinParser
}
DigiByteParser handle
func NewDigiByteParser ¶
func NewDigiByteParser(params *chaincfg.Params, c *btc.Configuration) *DigiByteParser
NewDigiByteParser returns new VertcoinParser instance
type DigiByteRPC ¶
type DigiByteRPC struct {
*btc.BitcoinRPC
}
DigiByteRPC is an interface to JSON-RPC bitcoind service.
func (*DigiByteRPC) Initialize ¶
func (b *DigiByteRPC) Initialize() error
Initialize initializes DigiByteRPC instance.
Click to show internal directories.
Click to hide internal directories.