vertcoin

package
v0.2.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	MainnetMagic wire.BitcoinNet = 0xdab5bffb
	TestnetMagic wire.BitcoinNet = 0x74726576 // "vert" word
	RegtestMagic wire.BitcoinNet = 0xdab5bffc
)

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 Vertcoin network, and the test Vertcoin network

func NewVertcoinRPC

func NewVertcoinRPC(config json.RawMessage, pushHandler func(bchain.NotificationType)) (bchain.BlockChain, error)

NewVertcoinRPC returns new VertcoinRPC instance.

Types

type VertcoinParser

type VertcoinParser struct {
	*btc.BitcoinParser
}

VertcoinParser handle

func NewVertcoinParser

func NewVertcoinParser(params *chaincfg.Params, c *btc.Configuration) *VertcoinParser

NewVertcoinParser returns new VertcoinParser instance

type VertcoinRPC

type VertcoinRPC struct {
	*btc.BitcoinRPC
}

VertcoinRPC is an interface to JSON-RPC bitcoind service.

func (*VertcoinRPC) Initialize

func (b *VertcoinRPC) Initialize() error

Initialize initializes VertcoinRPC instance.

Jump to

Keyboard shortcuts

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