PRCYCoin  2.0.0.7rc1
P2P Digital Currency
Classes | Typedefs | Enumerations | Functions
transaction.h File Reference
#include "amount.h"
#include "script/script.h"
#include "serialize.h"
#include "uint256.h"
#include "../bip38.h"
#include <iostream>
#include "key.h"
#include <list>
Include dependency graph for transaction.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ECDHInfo
 
class  COutPoint
 An outpoint - a combination of a transaction hash and an index n into its vout. More...
 
class  CTxIn
 An input of a transaction. More...
 
struct  MaskValue
 
class  CTxOut
 An output of a transaction. More...
 
class  CTransaction
 The basic transaction that is broadcasted on the network and contained in blocks. More...
 
struct  CMutableTransaction
 A mutable version of CTransaction. More...
 
struct  CTransactionSignature
 
class  CTxInShortDigest
 

Typedefs

typedef struct MaskValue MaskValue
 

Enumerations

enum  { TX_TYPE_FULL = 0, TX_TYPE_REVEAL_AMOUNT, TX_TYPE_REVEAL_SENDER, TX_TYPE_REVEAL_BOTH }
 

Functions

void ecdhEncode (uint256 &unmasked, uint256 &amount, const unsigned char *sharedSec, int size)
 
void ecdhDecode (uint256 &masked, uint256 &amount, const unsigned char *sharedSec, int size)
 

Typedef Documentation

◆ MaskValue

typedef struct MaskValue MaskValue

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
TX_TYPE_FULL 
TX_TYPE_REVEAL_AMOUNT 
TX_TYPE_REVEAL_SENDER 
TX_TYPE_REVEAL_BOTH 

Definition at line 257 of file transaction.h.

Function Documentation

◆ ecdhDecode()

void ecdhDecode ( uint256 masked,
uint256 amount,
const unsigned char *  sharedSec,
int  size 
)

◆ ecdhEncode()

void ecdhEncode ( uint256 unmasked,
uint256 amount,
const unsigned char *  sharedSec,
int  size 
)