Electroneum
cryptonote::BLOCK_INVALID Class Reference

thrown when something is wrong with the block to be added More...

#include <blockchain_db.h>

Inheritance diagram for cryptonote::BLOCK_INVALID:
Collaboration diagram for cryptonote::BLOCK_INVALID:

Public Member Functions

 BLOCK_INVALID ()
 
 BLOCK_INVALID (const char *s)
 
- Public Member Functions inherited from cryptonote::DB_EXCEPTION
virtual ~DB_EXCEPTION ()
 
const char * what () const throw ()
 

Additional Inherited Members

- Protected Member Functions inherited from cryptonote::DB_EXCEPTION
 DB_EXCEPTION (const char *s)
 

Detailed Description

thrown when something is wrong with the block to be added

Definition at line 301 of file blockchain_db.h.

Constructor & Destructor Documentation

◆ BLOCK_INVALID() [1/2]

cryptonote::BLOCK_INVALID::BLOCK_INVALID ( )
inline

Definition at line 304 of file blockchain_db.h.

304 : DB_EXCEPTION("The block to be added did not pass validation!") { }
DB_EXCEPTION(const char *s)

◆ BLOCK_INVALID() [2/2]

cryptonote::BLOCK_INVALID::BLOCK_INVALID ( const char *  s)
inline

Definition at line 305 of file blockchain_db.h.

305 : DB_EXCEPTION(s) { }
DB_EXCEPTION(const char *s)

The documentation for this class was generated from the following file: