Skip to content

Commit

Permalink
use mdbx for blockstorage index
Browse files Browse the repository at this point in the history
  • Loading branch information
josibake committed Sep 17, 2024
1 parent 118f412 commit 6ec588d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/node/blockstorage.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ class SignalInterrupt;

namespace kernel {
/** Access to the block database (blocks/index/) */
class BlockTreeDB : public CDBWrapper
class BlockTreeDB : public MDBXWrapper
{
public:
using CDBWrapper::CDBWrapper;
using MDBXWrapper::MDBXWrapper;
bool WriteBatchSync(const std::vector<std::pair<int, const CBlockFileInfo*>>& fileInfo, int nLastFile, const std::vector<const CBlockIndex*>& blockinfo);
bool ReadBlockFileInfo(int nFile, CBlockFileInfo& info);
bool ReadLastBlockFile(int& nFile);
Expand Down

0 comments on commit 6ec588d

Please sign in to comment.