github.com/sixexorg/magnetic-ring@v0.0.0-20191119090307-31705a21e419/errors/extleague_error.go (about) 1 package errors 2 3 import "errors" 4 5 var ( 6 ERR_EXTERNAL_HEIGHT_NOT_MATCH = errors.New("this blockheight is not continuous with the current.") 7 8 ERR_EXTERNAL_PREVBLOCKHASH_DIFF = errors.New("prevblockhash doesn't match") 9 ERR_EXTERNAL_LEAGUE_DIFF = errors.New("League transaction analysis failed.") 10 11 ERR_EXTERNAL_TXROOT_DIFF = errors.New("The transactions in the block doesn't match the hashroot in the header.") 12 13 ERR_EXTERNAL_BLOCK_DISGUISE = errors.New("This block is in disguise.") 14 15 ERR_EXTERNAL_TX_REFERENCE_WRONG = errors.New("The transaction referenced is wrong.") 16 17 ERR_EXTERNAL_MAIN_TX_USED = errors.New("The tx has been used.") 18 )