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