Documentation ¶
Index ¶
Constants ¶
View Source
const ( MainnetMagic wire.BitcoinNet = 0xdab5bffb TestnetMagic wire.BitcoinNet = 0x74726576 // "vert" word RegtestMagic wire.BitcoinNet = 0xdab5bffc )
Variables ¶
View Source
var ( MainNetParams chaincfg.Params TestNetParams chaincfg.Params )
Functions ¶
func GetChainParams ¶
GetChainParams contains network parameters for the main Vertcoin network, and the test Vertcoin network
func NewVertcoinRPC ¶
func NewVertcoinRPC(config json.RawMessage, pushHandler func(bchain.NotificationType)) (bchain.BlockChain, error)
NewVertcoinRPC returns new VertcoinRPC instance.
Types ¶
type VertcoinParser ¶
type VertcoinParser struct {
*btc.BitcoinParser
}
VertcoinParser handle
func NewVertcoinParser ¶
func NewVertcoinParser(params *chaincfg.Params, c *btc.Configuration) *VertcoinParser
NewVertcoinParser returns new VertcoinParser instance
type VertcoinRPC ¶
type VertcoinRPC struct {
*btc.BitcoinRPC
}
VertcoinRPC is an interface to JSON-RPC bitcoind service.
func (*VertcoinRPC) Initialize ¶
func (b *VertcoinRPC) Initialize() error
Initialize initializes VertcoinRPC instance.
Click to show internal directories.
Click to hide internal directories.