github.com/sixexorg/magnetic-ring@v0.0.0-20191119090307-31705a21e419/errors/block_error.go (about)

     1  package errors
     2  
     3  import "errors"
     4  
     5  var (
     6  	ERR_BLOCK_ABNORMAL_HEIGHT = errors.New("Block height discontinuity.")
     7  	ERR_BLOCK_PREVHASH_DIFF   = errors.New("The prevHash in the blockHeader is not consistent with the blockHash block at the specified height.")
     8  	ERR_BLOCK_ABNORMAL_TXS    = errors.New("Block transaction does not match. Data exception.")
     9  	ERR_PARAM_NOT_VALID       = errors.New("Parameter not valid.")
    10  )