|
| | CZerocoinDB (size_t nCacheSize, bool fMemory=false, bool fWipe=false) |
| |
| bool | WriteCoinSpendBatch (const std::vector< std::pair< CBigNum, uint256 > > &spendInfo) |
| | Write zPIV spends to the zerocoinDB in a batch Pair of: CBigNum -> coinSerialNumber and uint256 -> txHash. More...
|
| |
| bool | ReadCoinSpend (const CBigNum &bnSerial, uint256 &txHash) |
| |
| bool | EraseCoinSpend (const CBigNum &bnSerial) |
| |
| bool | WriteAccChecksum (const uint32_t nChecksum, const libzerocoin::CoinDenomination denom, const int nHeight) |
| | Accumulators (only for zPoS IBD): [checksum, denom] --> block height. More...
|
| |
| bool | ReadAccChecksum (const uint32_t nChecksum, const libzerocoin::CoinDenomination denom, int &nHeightRet) |
| |
| bool | ReadAll (std::map< std::pair< uint32_t, libzerocoin::CoinDenomination >, int > &mapCheckpoints) |
| |
| bool | EraseAccChecksum (const uint32_t nChecksum, const libzerocoin::CoinDenomination denom) |
| |
| void | WipeAccChecksums () |
| |
| | CDBWrapper (const fs::path &path, size_t nCacheSize, bool fMemory=false, bool fWipe=false, int nVersion=CLIENT_VERSION) |
| |
| | ~CDBWrapper () |
| |
| template<typename K > |
| bool | ReadDataStream (const K &key, CDataStream &ssValue) const |
| |
| bool | ReadDataStream (const CDataStream &ssKey, CDataStream &ssValue) const |
| |
| template<typename K , typename V > |
| bool | Read (const K &key, V &value) const |
| |
| template<typename V > |
| bool | Read (const CDataStream &ssKey, V &value) const |
| |
| template<typename K , typename V > |
| bool | Write (const K &key, const V &value, bool fSync=false) |
| |
| template<typename K > |
| bool | Exists (const K &key) const |
| |
| bool | Exists (const CDataStream &key) const |
| |
| template<typename K > |
| bool | Erase (const K &key, bool fSync=false) |
| |
| bool | WriteBatch (CDBBatch &batch, bool fSync=false) |
| |
| bool | Flush () |
| |
| bool | Sync () |
| |
| CDBIterator * | NewIterator () |
| |
| bool | IsEmpty () |
| | Return true if the database managed by this class contains no entries. More...
|
| |
| template<typename K > |
| size_t | EstimateSize (const K &key_begin, const K &key_end) const |
| |
| template<typename K > |
| void | CompactRange (const K &key_begin, const K &key_end) const |
| | Compact a certain range of keys in the database. More...
|
| |
| void | CompactFull () const |
| |
Zerocoin database (zerocoin/)
Definition at line 151 of file txdb.h.