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 ¶
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.
Click to show internal directories.
Click to hide internal directories.