Electroneum
cryptonote::TX_EXISTS Class Reference

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

#include <blockchain_db.h>

Inheritance diagram for cryptonote::TX_EXISTS:
Collaboration diagram for cryptonote::TX_EXISTS:

Public Member Functions

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

Definition at line 321 of file blockchain_db.h.

Constructor & Destructor Documentation

◆ TX_EXISTS() [1/2]

cryptonote::TX_EXISTS::TX_EXISTS ( )
inline

Definition at line 324 of file blockchain_db.h.

324 : DB_EXCEPTION("The transaction to be added already exists!") { }
DB_EXCEPTION(const char *s)

◆ TX_EXISTS() [2/2]

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

Definition at line 325 of file blockchain_db.h.

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

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