package
0.0.0-20180815172529-5ecede5950f4
Repository: https://github.com/genesiscommunity/go-genesis.git
Documentation: pkg.go.dev

# Functions

BlockGenerator is daemon that generates blocks.
BlocksCollection collects and parses blocks.
CheckDB check if installation complete or not.
Confirmations gets and checks blocks from nodes Getting amount of nodes, which has the same hash as we do.
DBLock locks daemons.
DBUnlock unlocks database.
Disseminator is send to all nodes from nodes_connections the following data if we are full node(miner): sends blocks and transactions hashes else send the full transactions.
GetBlocks is returning blocks.
No description provided by the author
IsReachable checks if there is blockID on the host.
MarshallBlock returns block as []byte.
MarshallTr returns transaction data.
MarshallTrHash returns transaction hash.
Monitoring starts monitoring.
NormalizeHostAddress get address.
Notificate is sending notifications.
QueueParserBlocks parses and applies blocks from the queue.
QueueParserTx parses transaction from the queue.
Scheduler starts contracts on schedule.
StartDaemons starts daemons.
UpdateChain load from host all blocks from our last block to maxBlockID.
WaitDB waits for the end of the installation.
WaitStopTime closes the database and stop daemons.

# Constants

I_AM_FULL_NODE is full node flag.
I_AM_NOT_FULL_NODE is not full node flag.
WordSize is size of word in file.

# Variables

ErrNodesUnavailable is returned when all nodes is unavailable.
MonitorDaemonCh is monitor daemon channel.

# Structs

DelayedTx represents struct which works with delayed contracts.