Skip to content

Commit 568acc9

Browse files
committed
use mdbx for blockstorage index
1 parent c8801bf commit 568acc9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/node/blockstorage.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ class SignalInterrupt;
4848

4949
namespace kernel {
5050
/** Access to the block database (blocks/index/) */
51-
class BlockTreeDB : public CDBWrapper
51+
class BlockTreeDB : public MDBXWrapper
5252
{
5353
public:
54-
using CDBWrapper::CDBWrapper;
54+
using MDBXWrapper::MDBXWrapper;
5555
bool WriteBatchSync(const std::vector<std::pair<int, const CBlockFileInfo*>>& fileInfo, int nLastFile, const std::vector<const CBlockIndex*>& blockinfo);
5656
bool ReadBlockFileInfo(int nFile, CBlockFileInfo& info);
5757
bool ReadLastBlockFile(int& nFile);

0 commit comments

Comments
 (0)