Electroneum
Loading...
Searching...
No Matches
cryptonote::BLOCK_EXISTS Class Reference

thrown when a block exists, but shouldn't, namely when adding a block More...

#include <blockchain_db.h>

Inheritance diagram for cryptonote::BLOCK_EXISTS:
Collaboration diagram for cryptonote::BLOCK_EXISTS:

Public Member Functions

 BLOCK_EXISTS ()
 BLOCK_EXISTS (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 a block exists, but shouldn't, namely when adding a block

Definition at line 291 of file blockchain_db.h.

Constructor & Destructor Documentation

◆ BLOCK_EXISTS() [1/2]

cryptonote::BLOCK_EXISTS::BLOCK_EXISTS ( )
inline

Definition at line 294 of file blockchain_db.h.

294: DB_EXCEPTION("The block to be added already exists!") { }
DB_EXCEPTION(const char *s)
Here is the call graph for this function:

◆ BLOCK_EXISTS() [2/2]

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

Definition at line 295 of file blockchain_db.h.

295: DB_EXCEPTION(s) { }
Here is the call graph for this function:

The documentation for this class was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/src/blockchain_db/blockchain_db.h