fujicoin

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 23, 2019 License: AGPL-3.0 Imports: 6 Imported by: 0

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

func GetChainParams(chain string) *chaincfg.Params

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL