coins

package
v0.0.0-...-fae8f5a Latest Latest
Warning

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

Go to latest
Published: May 22, 2023 License: AGPL-3.0 Imports: 54 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(configFileContent []byte) (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