monero/src/blockchain_db
moneromooo-monero f2986ccfc1
db_lmdb: fix bad height saved in tx data
The recent change to not keep separate track of the blockchain
height caused the reported height to jump early in the lmdb
transaction (when the block data is added to the blocks table),
rather than at the end, after everything succeeded. Since the
block data is added before the transaction data, this caused
the transaction data to be saved with a height one more than
its expected value.

Fix this by saving the block data last. This should have no
side effects.
2017-02-11 10:16:18 +00:00
..
berkeleydb extract some basic code from libcryptonote_core into libcryptonote_basic 2017-02-08 22:45:15 +09:00
lmdb db_lmdb: fix bad height saved in tx data 2017-02-11 10:16:18 +00:00
blockchain_db.cpp db_lmdb: fix bad height saved in tx data 2017-02-11 10:16:18 +00:00
blockchain_db.h extract some basic code from libcryptonote_core into libcryptonote_basic 2017-02-08 22:45:15 +09:00
CMakeLists.txt extract some basic code from libcryptonote_core into libcryptonote_basic 2017-02-08 22:45:15 +09:00
db_types.h Remove berkeley from blockchain_db_types 2017-01-10 11:17:48 +01:00