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