|
| CAssetsDB (size_t nCacheSize, bool fMemory=false, bool fWipe=false) |
|
| CAssetsDB (const CAssetsDB &)=delete |
|
CAssetsDB & | operator= (const CAssetsDB &)=delete |
|
bool | WriteAssetData (const CNewAsset &asset, const int nHeight, const uint256 &blockHash) |
|
bool | WriteAssetAddressQuantity (const std::string &assetName, const std::string &address, const CAmount &quantity) |
|
bool | WriteAddressAssetQuantity (const std::string &address, const std::string &assetName, const CAmount &quantity) |
|
bool | WriteBlockUndoAssetData (const uint256 &blockhash, const std::vector< std::pair< std::string, CBlockAssetUndo > > &assetUndoData) |
|
bool | WriteReissuedMempoolState () |
|
bool | ReadAssetData (const std::string &strName, CNewAsset &asset, int &nHeight, uint256 &blockHash) |
|
bool | ReadAssetAddressQuantity (const std::string &assetName, const std::string &address, CAmount &quantity) |
|
bool | ReadAddressAssetQuantity (const std::string &address, const std::string &assetName, CAmount &quantity) |
|
bool | ReadBlockUndoAssetData (const uint256 &blockhash, std::vector< std::pair< std::string, CBlockAssetUndo > > &assetUndoData) |
|
bool | ReadReissuedMempoolState () |
|
bool | EraseAssetData (const std::string &assetName) |
|
bool | EraseMyAssetData (const std::string &assetName) |
|
bool | EraseAssetAddressQuantity (const std::string &assetName, const std::string &address) |
|
bool | EraseAddressAssetQuantity (const std::string &address, const std::string &assetName) |
|
bool | LoadAssets () |
|
bool | AssetDir (std::vector< CDatabasedAssetData > &assets, const std::string filter, const size_t count, const long start) |
|
bool | AssetDir (std::vector< CDatabasedAssetData > &assets) |
|
bool | AddressDir (std::vector< std::pair< std::string, CAmount > > &vecAssetAmount, int &totalEntries, const bool &fGetTotal, const std::string &address, const size_t count, const long start) |
|
bool | AssetAddressDir (std::vector< std::pair< std::string, CAmount > > &vecAddressAmount, int &totalEntries, const bool &fGetTotal, const std::string &assetName, const size_t count, const long start) |
|
| CDBWrapper (const fs::path &path, size_t nCacheSize, bool fMemory=false, bool fWipe=false, bool obfuscate=false, size_t maxFileSize=2<< 20) |
|
| ~CDBWrapper () |
|
template<typename K , typename V > |
bool | Read (const K &key, 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 |
|
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...
|
|
Access to the block database (blocks/index/)
Definition at line 60 of file assetdb.h.