diff options
author | Riccardo Spagni <ric@spagni.net> | 2015-12-05 21:57:56 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2015-12-05 21:58:27 +0200 |
commit | 7ee0abe5a65d12a50c5169bf93bef8113469f975 (patch) | |
tree | 3e742a2c53b35620d28b9003a6788e80a8651024 /src/blockchain_db/berkeleydb/db_bdb.cpp | |
parent | Merge pull request #515 (diff) | |
parent | blockchain_db: make the indexing base a BlockchainDB virtual function (diff) | |
download | monero-7ee0abe5a65d12a50c5169bf93bef8113469f975.tar.xz |
Merge pull request #517
a3c5ca0 blockchain_db: make the indexing base a BlockchainDB virtual function (moneromooo-monero)
a702118 blockchain_dump: fix output key dump for BDB 1-based indices (moneromooo-monero)
3bf35e1 db_bdb: read 32 bit heights from keys (moneromooo-monero)
Diffstat (limited to 'src/blockchain_db/berkeleydb/db_bdb.cpp')
-rw-r--r-- | src/blockchain_db/berkeleydb/db_bdb.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blockchain_db/berkeleydb/db_bdb.cpp b/src/blockchain_db/berkeleydb/db_bdb.cpp index da68ff40c..486b63a3e 100644 --- a/src/blockchain_db/berkeleydb/db_bdb.cpp +++ b/src/blockchain_db/berkeleydb/db_bdb.cpp @@ -588,7 +588,7 @@ bool BlockchainBDB::for_all_blocks(std::function<bool(uint64_t, const crypto::ha bdb_cur cur(DB_DEFAULT_TX, m_blocks); - Dbt_copy<uint64_t> k; + Dbt_copy<uint32_t> k; Dbt_safe v; bool ret = true; int result; |