This commit is contained in:
JoelKatz
2013-05-23 04:28:47 -07:00
parent c6594bfd28
commit e958972c10
2 changed files with 8 additions and 6 deletions

View File

@@ -15,6 +15,8 @@
DEFINE_INSTANCE(HashedObject);
class Job;
enum HashedObjectType
{
hotUNKNOWN = 0,
@@ -91,13 +93,13 @@ public:
bool storeSQLite(HashedObjectType type, uint32 index, const std::vector<unsigned char>& data,
const uint256& hash);
HashedObject::pointer retrieveSQLite(const uint256& hash);
void bulkWriteSQLite();
void bulkWriteSQLite(Job&);
#ifdef USE_LEVELDB
bool storeLevelDB(HashedObjectType type, uint32 index, const std::vector<unsigned char>& data,
const uint256& hash);
HashedObject::pointer retrieveLevelDB(const uint256& hash);
void bulkWriteLevelDB();
void bulkWriteLevelDB(Job&);
#endif