Documentation ¶
Index ¶
Constants ¶
View Source
const ( // MainnetMagic is mainnet network constant MainnetMagic wire.BitcoinNet = 0x696a7566 // TestnetMagic is testnet network constant TestnetMagic wire.BitcoinNet = 0x66756a69 // RegtestMagic is regtest network constant RegtestMagic wire.BitcoinNet = 0x66756a69 )
Variables ¶
View Source
var ( // MainNetParams are parser parameters for mainnet MainNetParams chaincfg.Params // TestNetParams are parser parameters for testnet 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.