who-biz / qwerty-lmdb Goto Github PK
View Code? Open in Web Editor NEWLMDB for qwertycoin
License: Other
LMDB for qwertycoin
License: Other
hi @who-biz ,
hunter supports lmdb since 0.19.148
so you can theoretically add it like this:
hunter_add_package(lmdb)
find_package(liblmdb CONFIG REQUIRED)
In its current state, as of commit 870c1af, this repository builds and will begin syncing if the daemon is launched with: ./src/qwertycoind --db-type=lmdb --log-level=4
. Sync progesses until block 391 is encountered. Something causes an error there, and sync can't progress. Still diagnosing where this is coming from.
I also run into the following error, just prior: Block 2e12949a30e9c7991031a4d506f7bd883c56876c0a2b2bee97c80c6a272c6efa already exists in database.
See this commit for the full error message: c5ab41f
lib/BlockchainDB/Lmdb/db_lmdb.cpp
. BlockchainLMDB
is implemented as a base class to BlockchainDB
.BlockchainDB
. similar to LMDB.~/.Qwertycoin/blockchain.bin
format, or in the database ~/.Qwertycoin/lmdb/data.mdb
. When one is selected, the other one is not constructed or used.Tools::getDefaultDbType()
in Common/Util.cpp
. This function will be modified to check the command line for user input to the --db-type
startup flag. However, connection to the startup flag is not yet complete. If you wish to run the daemon using the old format, remove = "lmdb";
from this line: https://github.com/who-biz/qwerty-lmdb/blob/lmdb/lib/Common/Util.cpp#L352UpgradeDetector
class, for compatibility with the old format. This means the hardfork class is not used, aside from being initialized. As a result, it will likely be removed.Blockchain.cpp
and Core.cpp
. These will be cut out too, if no specific use can be made of them.throw1
lines commented out. Those should be warnings. I didn't have the time to learn too much about the existing logging, so if those are desired - those lines are the locations to add them.blockchaincache
file as well as data.mdb
and mdb.lock
. These files are all created and saved in the lmdb
subdir of the data directory.external
directory.BlockchainDB/binary_archive.h
BlockchainDB/BlobDataType.h
and are enclosed in the serial
and detail
namespaces.CryptoNoteCore/CryptoNoteFormatUtils.cpp
Map resizing needs implemented. Error is encountered at block height 57375 with the following message:
ERROR Error adding txpool tx blob to db transaction: MDB_MAP_FULL: Environment mapsize limit reached
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.