Anoncoin  0.9.4
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
libzerocoin::SpendMetaData Class Reference

Any meta data needed for Anoncoin integration. More...

#include <SpendMetaData.h>

Collaboration diagram for libzerocoin::SpendMetaData:
[legend]

Public Member Functions

 SpendMetaData (uint256 accumulatorId, uint256 txHash)
 Creates meta data associated with a coin spend. More...
 

Public Attributes

uint256 accumulatorId
 The hash of the block containing the accumulator CoinSpend proves membership in. More...
 
uint256 txHash
 Contains the hash of the rest of transaction spending a zerocoin (excluding the coinspend proof) More...
 

Detailed Description

Any meta data needed for Anoncoin integration.

Can extended provided the getHash() function is updated

Definition at line 25 of file SpendMetaData.h.

Constructor & Destructor Documentation

libzerocoin::SpendMetaData::SpendMetaData ( uint256  accumulatorId,
uint256  txHash 
)

Creates meta data associated with a coin spend.

Parameters
accumulatorIdhash of block containing accumulator
txHashhash of transaction

Definition at line 17 of file SpendMetaData.cpp.

Member Data Documentation

uint256 libzerocoin::SpendMetaData::accumulatorId

The hash of the block containing the accumulator CoinSpend proves membership in.

Definition at line 38 of file SpendMetaData.h.

uint256 libzerocoin::SpendMetaData::txHash

Contains the hash of the rest of transaction spending a zerocoin (excluding the coinspend proof)

Definition at line 42 of file SpendMetaData.h.


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