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