coins

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2020 License: AGPL-3.0 Imports: 47 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BlockChainFactories = make(map[string]blockChainFactory)

BlockChainFactories is a map of constructors of coin RPC interfaces

Functions

func GetCoinNameFromConfig

func GetCoinNameFromConfig(configfile string) (string, string, string, error)

GetCoinNameFromConfig gets coin name and coin shortcut from config file

func NewBlockChain

func NewBlockChain(coin string, configfile string, pushHandler func(bchain.NotificationType), metrics *common.Metrics) (bchain.BlockChain, bchain.Mempool, error)

NewBlockChain creates bchain.BlockChain and bchain.Mempool for the coin passed by the parameter coin

Types

This section is empty.

Directories

Path Synopsis
Package eth is a generated protocol buffer package.
Package eth is a generated protocol buffer package.

Jump to

Keyboard shortcuts

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