Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PoolOverflow error = errors.New("pool size is full") TxnTimeoutErr error = errors.New("Txn time out") TxnTooLarge error = errors.New("the size of txn is too large") TxnDuplicated error = errors.New("Transaction duplicated") )
View Source
var ( InsufficientFunds = errors.New("Insufficient Funds") NoPermission = errors.New("No Permission") )
View Source
var ( NoValidQC = errors.New("Target QC is empty.") NoValidParentId = errors.New("ParentId is empty.") )
hotstuff errors
View Source
var ErrBlockNotFound error = errors.New("block not found")
View Source
var GenesisBlockIllegal = errors.New("genesis block is illegal")
View Source
var IntegerOverflow = errors.New("integer overflow")
View Source
var NoConvergeType = errors.New("no converge type")
View Source
var NoKeyType = errors.New("no key type")
View Source
var NoKvdbType = errors.New("no kvdb type")
View Source
var NoP2PTopic = errors.New("no p2p topic")
View Source
var NoRunMode = errors.New("no run mode")
View Source
var NoSqlDbType = errors.New("no sqlDB type")
View Source
var OutOfLei = errors.New("Lei out")
View Source
var TypeErr = errors.New("the type of params error")
Functions ¶
This section is empty.
Types ¶
type ErrAccountNotFound ¶
type ErrAccountNotFound struct {
// contains filtered or unexported fields
}
func AccountNotFound ¶
func AccountNotFound(addr common.Address) ErrAccountNotFound
func (ErrAccountNotFound) Error ¶
func (an ErrAccountNotFound) Error() string
type ErrAmountNeg ¶
type ErrAmountNeg struct {
// contains filtered or unexported fields
}
func AmountNeg ¶
func AmountNeg(amount *big.Int) ErrAmountNeg
func (ErrAmountNeg) Error ¶
func (an ErrAmountNeg) Error() string
type ErrBlockIllegal ¶
type ErrBlockIllegal struct {
BlockHash string
}
func BlockIllegal ¶
func BlockIllegal(blockHash Hash) ErrBlockIllegal
func (ErrBlockIllegal) Error ¶
func (b ErrBlockIllegal) Error() string
type ErrBlockSignatureIllegal ¶
type ErrBlockSignatureIllegal struct {
// contains filtered or unexported fields
}
func BlockSignatureIllegal ¶
func BlockSignatureIllegal(blockHash Hash) ErrBlockSignatureIllegal
func (ErrBlockSignatureIllegal) Error ¶
func (e ErrBlockSignatureIllegal) Error() string
type ErrNoTxnInP2P ¶
type ErrNoTxnInP2P struct {
TxnHash string
}
func NoTxnInP2P ¶
func NoTxnInP2P(txnHash Hash) ErrNoTxnInP2P
func (ErrNoTxnInP2P) Error ¶
func (t ErrNoTxnInP2P) Error() string
type ErrReadingNotFound ¶
type ErrReadingNotFound struct {
ReadingName string
}
func ReadingNotFound ¶
func ReadingNotFound(name string) ErrReadingNotFound
func (ErrReadingNotFound) Error ¶
func (q ErrReadingNotFound) Error() string
type ErrTripodNotFound ¶
type ErrTripodNotFound struct {
TripodName string
}
func TripodNotFound ¶
func TripodNotFound(name string) ErrTripodNotFound
func (ErrTripodNotFound) Error ¶
func (t ErrTripodNotFound) Error() string
type ErrTxnNotFound ¶
type ErrTxnNotFound struct {
// contains filtered or unexported fields
}
func TxnNotFound ¶
func TxnNotFound(txHash Hash) ErrTxnNotFound
func (ErrTxnNotFound) Error ¶
func (e ErrTxnNotFound) Error() string
type ErrTxnSignatureIllegal ¶
type ErrTxnSignatureIllegal struct {
// contains filtered or unexported fields
}
func TxnSignatureIllegal ¶
func TxnSignatureIllegal(err error) ErrTxnSignatureIllegal
func (ErrTxnSignatureIllegal) Error ¶
func (ErrTxnSignatureIllegal) Error() string
type ErrWaitTxnsTimeout ¶
type ErrWaitTxnsTimeout struct {
TxnsHash []Hash
}
func WaitTxnsTimeout ¶
func WaitTxnsTimeout(hashesMap map[Hash]bool) ErrWaitTxnsTimeout
func (ErrWaitTxnsTimeout) Error ¶
func (wt ErrWaitTxnsTimeout) Error() string
type ErrWorkerDead ¶
type ErrWorkerDead struct {
Name string
}
func WorkerDead ¶
func WorkerDead(name string) ErrWorkerDead
func (ErrWorkerDead) Error ¶
func (w ErrWorkerDead) Error() string
type ErrWritingNotFound ¶
type ErrWritingNotFound struct {
WritingName string
}
func WritingNotFound ¶
func WritingNotFound(name string) ErrWritingNotFound
func (ErrWritingNotFound) Error ¶
func (e ErrWritingNotFound) Error() string
Click to show internal directories.
Click to hide internal directories.