Open-Transactions  0.93.0-ge03d287
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
bank.h File Reference
#include <openssl/bio.h>
#include <openssl/dh.h>
#include <openssl/sha.h>
#include <memory.h>
#include <assert.h>
Include dependency graph for bank.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  PublicBank
 
class  Bank
 
class  UnsignedCoin
 
class  Coin
 
class  PublicCoinRequest
 
class  CoinRequest
 

Macros

#define MIN_COIN_LENGTH   16
 
#define BLINDING_LENGTH   8
 
#define DIGEST_LENGTH   SHA_DIGEST_LENGTH
 

Typedefs

typedef int boolean
 

Functions

void SetDumper (BIO *out)
 
void SetDumper (FILE *f)
 
void SetMonitor (BIO *out)
 
void SetMonitor (FILE *f)
 
void DumpNumber (BIO *out, const char *szTitle, const BIGNUM *bn, const char *szTrailer=_NL)
 
void DumpNumber (const char *szTitle, const BIGNUM *bn, const char *szTrailer=_NL)
 
void HexDump (BIO *out, const char *szTitle, const unsigned char *acBuf, int nLength)
 
void HexDump (const char *szTitle, const unsigned char *acBuf, int nLength)
 
BIGNUM * ReadNumber (BIO *in, const char *szTitle)
 

Variables

const char _NL []
 

Macro Definition Documentation

#define BLINDING_LENGTH   8

Definition at line 14 of file bank.h.

#define DIGEST_LENGTH   SHA_DIGEST_LENGTH

Definition at line 15 of file bank.h.

#define MIN_COIN_LENGTH   16

Definition at line 13 of file bank.h.

Typedef Documentation

typedef int boolean

Definition at line 17 of file bank.h.

Function Documentation

void DumpNumber ( BIO *  out,
const char *  szTitle,
const BIGNUM *  bn,
const char *  szTrailer = _NL 
)
void DumpNumber ( const char *  szTitle,
const BIGNUM *  bn,
const char *  szTrailer = _NL 
)
void HexDump ( BIO *  out,
const char *  szTitle,
const unsigned char *  acBuf,
int  nLength 
)
void HexDump ( const char *  szTitle,
const unsigned char *  acBuf,
int  nLength 
)
BIGNUM* ReadNumber ( BIO *  in,
const char *  szTitle 
)
void SetDumper ( BIO *  out)
void SetDumper ( FILE *  f)
void SetMonitor ( BIO *  out)
void SetMonitor ( FILE *  f)

Variable Documentation

const char _NL[]