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