Documentation ¶
Index ¶
Constants ¶
View Source
const ( MainnetMagic wire.BitcoinNet = 0xdbb6c0fb TestnetMagic wire.BitcoinNet = 0x0709110b RegtestMagic wire.BitcoinNet = 0xdab5bffa )
Variables ¶
View Source
var ( MainNetParams chaincfg.Params TestNetParams chaincfg.Params )
Functions ¶
func GetChainParams ¶
GetChainParams contains network parameters for the main GameCredits network, and the test GameCredits network
func NewGameCreditsRPC ¶
func NewGameCreditsRPC(config json.RawMessage, pushHandler func(bchain.NotificationType)) (bchain.BlockChain, error)
NewGameCreditsRPC returns new GameCreditsRPC instance.
Types ¶
type GameCreditsParser ¶
type GameCreditsParser struct {
*btc.BitcoinParser
}
GameCreditsParser handle
func NewGameCreditsParser ¶
func NewGameCreditsParser(params *chaincfg.Params, c *btc.Configuration) *GameCreditsParser
NewGameCreditsParser returns new GameCreditsParser instance
type GameCreditsRPC ¶
type GameCreditsRPC struct {
*btc.BitcoinRPC
}
GameCreditsRPC is an interface to JSON-RPC bitcoind service.
func (*GameCreditsRPC) Initialize ¶
func (b *GameCreditsRPC) Initialize() error
Initialize initializes GameCreditsRPC instance.
Click to show internal directories.
Click to hide internal directories.