package
0.0.0-20190918032558-02f1fe41ded6
Repository: https://github.com/tangerine-network/tangerine-consensus.git
Documentation: pkg.go.dev

# Functions

NewConsensus creates an instance for Consensus (syncer consensus).
NewWatchCat creats a new WatchCat 🐱 object.

# Variables

ErrAlreadySynced is reported when syncer is synced.
ErrGenesisBlockReached is reported when genesis block reached.
ErrInvalidBlockOrder is reported when SyncBlocks receives unordered blocks.
ErrInvalidSyncingHeight raised when the blocks to sync is not following the compaction chain tip in database.
ErrNotSynced is reported when syncer is not synced yet.

# Structs

Consensus is for syncing consensus module.
WatchCat is reponsible for signaling if syncer object should be terminated.