Documentation ¶
Index ¶
- Variables
- func BlockGenerator(chBreaker chan bool, chAnswer chan string)
- func BlocksCollection(chBreaker chan bool, chAnswer chan string)
- func CheckDaemonsRestart(chBreaker chan bool, chAnswer chan string, goRoutineName string) bool
- func ConfigInit()
- func Confirmations(chBreaker chan bool, chAnswer chan string)
- func CreatingBlockchain(chBreaker chan bool, chAnswer chan string)
- func DbConnect(chBreaker chan bool, chAnswer chan string, goRoutineName string) *utils.DCDB
- func Disseminator(chBreaker chan bool, chAnswer chan string)
- func IsReachable(host string, blockID int64, ch0 chan string)
- func QueueParserBlocks(chBreaker chan bool, chAnswer chan string)
- func QueueParserTx(chBreaker chan bool, chAnswer chan string)
- func StartDaemons()
- func UpdFullNodes(chBreaker chan bool, chAnswer chan string)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // MonitorDaemonCh is a channel for daemons MonitorDaemonCh = make(chan []string, 100) )
Functions ¶
func BlockGenerator ¶
BlockGenerator generates blocks
func BlocksCollection ¶
BlocksCollection collects and parses blocks
func CheckDaemonsRestart ¶
CheckDaemonsRestart restarts daemons
func Confirmations ¶
Confirmations gets and checks blocks from nodes
func CreatingBlockchain ¶
CreatingBlockchain writes blockchain
func Disseminator ¶
Disseminator sends hashes of block and transactions
func IsReachable ¶
IsReachable checks if there is blockID on the host
func QueueParserBlocks ¶
QueueParserBlocks parses blocks from the queue
func QueueParserTx ¶
QueueParserTx parses transaction from the queue
func UpdFullNodes ¶
UpdFullNodes sends UpdFullNodes transactions
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.